Giter Club home page Giter Club logo

gainstrack's People

Contributors

dependabot[bot] avatar glorat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gainstrack's Issues

unit command have more intelligence

Behave more like the adj command

Default the adjustment account intelligently - fundingAccount for trades to/from zero, income account otherwise?

AV importer should include latest intraday

Historic data doesn't start until 7 days later for some tickers like VWRL but intraday exists. Use the intraday quote as close until it appears 7 days later so we get more live networth calcs

Commands reported to UI need some id

Some integer id so that the UI can refer to it when under deletion.

Alternatively, UI will need to return command by value with full round trip for identification (which while inconvenient may not be the worst things since it forces the UI to fully roundtrip to operate)

Async load sentry, vue-tour, auth0

These are being loaded in the entry point bundle, slowing down initial render. Both should be possible to load async and code-splitted out

Problems with adding a new trade

I was following your tour and under "add record / trade" I can enter the purchase quantity but then can not enter an ID for the investment purchased. I can click the drop down menu under the purchase section, which shows as "no data", I can then enter text there but it vanishes when I click away and the purchase can not be added.

If I upload some test data (hopefully attached - apologies if I balls it up, still new here!)
JR test data 1.txt

which has two investments called GBPStock and USDStock and then try to record a trade I get two options in the drop down box of GBP and USD but shouldn't they show the full investment name?

I can also only fund the trade from the USD account rather than having the option of GBP or USD accounts.

I also got this error whilst playing around. No idea why!
New trade error

OK I think I've just worked them all out. It is only allowing my to buy and sell currency not investments. So the above error is me trying to buy USD with USD.

adj should support multiAsset accounts

1960-01-01 open Equity:Opening USD
  multiAsset:true

1960-01-01 open Assets:Bank:Cash USD
  fundingAccount: Equity:Opening
  multiAsset:true

2019-10-01 adj Assets:Bank:Cash 10 CAD Equity:Opening

Config option for FX convert strategies

There are now multiple FX sources including

  • Implied trade conversions
  • Explicit price commands
  • Quotes DB

Currently the codebase generally uses the first two, except PnLExplain which uses all three. Make it either a session option or a saved option as to which to use in which order

P&L Analysis

Calculate reasons for movements in networth between these two days. E.g. break down by

  • New activity
  • Price movements

Figure out how to deal with transitive FX conversions...

Balance assertion (and unit) command need clear date semantics

Beancount per https://xuhcc.github.io/beancount-docs/29_balance_assertions_in_beancount.html specifies it at the start of the day. However, it seems to me that end of day is more sensible in this project. E.g.

2000-01-01 trade 100 GOOG @1 USD
2000-01-01 adj -100 USD

Typically, when parsing a bank statement, all the balances are for a given end date... but those balances do include the transactions for that date.

Since this is a sizeable semantic change, a decision needs to be made before any serious launch

Upgrade to JDK/JRE 10

To resolve the issue of the JVM allocating too much memory inside a docker container

Fx conversion chain should consider cost basis ccy

For multi currency trading accounts, it might not be possible to convert straight through to the base currency. Should check the availability of a cost basis currency first, before considering parent currency

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.