Commit Graph

9 Commits

Author SHA1 Message Date
Aaron Lindsay a357d38eee Store currency/security values/prices using big.Rat natively
This adds 'shadow' types used only by the store/db internal package whch
handle converting these types to their DB-equivalent values. This change
should allow reports to be generated significantly faster since it
allows a large portion of the computation to be shifted to the database
engines.
2017-12-12 19:50:38 -05:00
Aaron Lindsay 128ea57c4d Split accounts and transactions into models 2017-12-05 05:59:44 -05:00
Aaron Lindsay f72c86ef58 Split securities into models 2017-12-05 05:59:44 -05:00
Aaron Lindsay ffc8602336 testing: Add another brokerage account OFX import test 2017-12-01 21:21:55 -05:00
Aaron Lindsay 05fdaaeb42 testing: Add checks for OFX investment balances
Also fix a "bug" uncovered, relating to at least one FI's providing
unexpected signs for some OFX fields.
2017-11-29 19:59:02 -05:00
Aaron Lindsay 30d4515780 testing: Add initial OFX investment import tests
Also fix up a "bug" caused by financial institutions not deciding on
which sign to use for an OFX field...
2017-11-28 21:25:50 -05:00
Aaron Lindsay f2a45dc6b6 Make SecurityType its own type 2017-11-05 20:43:32 -05:00
Aaron Lindsay 85a58c3ff8 go vet, go fmt 2017-10-14 20:38:40 -04:00
Aaron Lindsay d0a5980b85 First pass at reorganizing go code into sub-packages 2017-10-04 19:35:59 -04:00