Tracking cash balances / Double-entry bookkeeping

App should automatically track cash balances for selected accounts. This is known as double-entry bookkeeping.

This means that:

  1. Whenever you add a transaction where you Buy, Sell, pay fees or taxes, a Transfer transaction is added for Cash asset with a proper currency on the same Account

  2. For each account you can choose if you want to track cash and from which account it should be taken from (eg. to pay your broker from your bank).

  3. This means it now makes sense to import deposits and withdrawals on broker accounts

  4. This also enables us to add a Conversion transaction, where you exchange one asset for the other while forwarding the cost-basis. That would create two opposite Transfer transactions that are linked together.