e38c49a556
Use default currency for top-level 'Trading' account
...
Also add missing transaction.Rollback() calls on early returns in
GetAccountTransactions()
2017-09-21 21:00:30 -04:00
d0d6ea3a78
OFX imports: Properly import 'trading' transaction splits
2017-09-20 21:30:17 -04:00
89d045a51f
OFX: Import the most common investment transactions
...
This is very preliminary support, and is likely to still fail for many
cases - even those with nominal support. Most transaction splits end up
being filed under 'imbalanced' accounts instead of something that makes
more sense.
2017-09-20 20:09:40 -04:00
a4b99381d3
imports: Don't re-import the same transaction from the same place
...
This is detected using the RemoteId field on Splits
While we're at it, also make gnucash import check numbers
2017-06-10 15:22:13 -04:00
905e30d87b
Move RemoteId from transactions to splits
...
This is the more sensible location for it, since we import things on a
per-account basis - so there can be more than one remote ID associated
with a transaction, and the splits are the per-account portion of
transactions anyway.
2017-06-09 05:37:42 -04:00
b37a20536f
Move 'status' from transactions to splits
...
This allows for a transaction to clear one account before the other (and
mirrors how Gnucash, and I suspect most other pieces of software, do it)
2017-05-31 08:23:19 -04:00
11c7f199c4
Don't delete splits when updating them
2017-05-31 08:18:21 -04:00
f9a4d0a99a
Don't clear SplitId's when updating transaction
...
This caused new splits to be created, instead of re-using existing
splits and SplitId's.
2017-05-28 20:27:20 -04:00
6762b3e721
Reduxify CRUD actions for transactions
2017-05-24 19:47:18 -04:00
a9cf95dba8
Move OFX imports from libofx to ofxgo
...
This makes them native Go code, and will allow for fetching them
directly from financial institutions later.
2017-05-08 06:01:26 -04:00
5157d13737
Optimize fetching account balances
...
There is no need to make a separate SQL query for every split after
finding every transaction - we can query for all the splits initially.
2017-02-19 07:54:27 -05:00
cec769b6b8
lua: Query account balances at dates
2017-01-30 21:04:18 -05:00
d059cd19ee
lua: Add account balances
2017-01-27 21:50:02 -05:00
a61e460c2f
Add user-editable securities, strip hard-coded ones from securities.go
2016-10-16 20:33:23 -04:00
9e26b30bdc
Add Initial Gnucash importing
...
There are still a number of bugs, but the basic functionality is there
2016-02-19 20:01:24 -05:00
b71c862cbf
transactions.go: Split calculation of imbalance $$ from Balanced() method
2016-02-12 05:52:40 -05:00
58c7c17727
Initial pass at OFX imports
...
Still needs some fixups:
* UI is incomplete
* Investment transactions are unbalanced initially
* OFX imports don't detect if one of the description fields for a
transaction is empty (to fall back on another)
* I'm sure plenty of other issues I haven't discovered yet
2016-02-02 21:46:27 -05:00
841df05022
Transaction.Balanced: Return and handle errors
2015-08-30 20:41:47 -04:00
bcbc4df67f
Transaction.Balanced: Balance each security independently
2015-08-30 20:34:18 -04:00
79ad47971e
Split: remove Debit variable
2015-08-30 20:33:35 -04:00
434d9c297e
go fmt
2015-08-30 19:43:26 -04:00
770cd384a7
Report account balances correctly for both date sorts
2015-08-22 10:12:45 -04:00
693f1e8253
Report account balances in transaction register
2015-08-21 06:54:17 -04:00
684e8defb7
Add the total number of transactions in an account to AccountTransactionsList
2015-08-08 09:08:37 -04:00
b670e67ebb
Ensure transactions returned are distinct
2015-08-08 09:05:36 -04:00
4f61f9e74d
Add basic transaction register support
2015-08-05 21:25:25 -04:00
be57d44ffe
backend: Add ability to get Transactions by Account
2015-07-11 08:58:36 -04:00
12f50a6308
Add cascading delete for splits/transactions
2015-06-29 07:28:19 -04:00
55a6e9a489
Add initial implementation of transactions
2015-06-28 23:03:34 -04:00
0f393d2fbb
Initial commit
2015-06-25 22:36:58 -04:00