Skip to content

Instantly share code, notes, and snippets.

@amitaibu amitaibu/example.journal
Last active Nov 8, 2019

What would you like to do?
P 2019-01-01 USD ILS5
2019/01/01 set initial assets balance
(assets:banks:ils) ILS500
(assets:banks:us) USD100
2019/11/07 Salaries Israel
expenses:salary:Israel ILS400
2019/11/07 Salaries US
expenses:salary:US USD50
2050/12/01 Salaries Israel, in the far future
expenses:salary:Israel ILS150
2050/12/10 Salaries US, in the far future
expenses:salary:US USD150

This comment has been minimized.

Copy link
Owner Author

amitaibu commented Nov 7, 2019

Here's how I'd want to see the info -

The important parts are:

  1. I'd like to easily know whenever a transaction will cause one bank to go below 0
  2. Since I'm able to transfer money from bank to bank, I'd like to know when the values of both banks goes below 0. Related to that is probably the question of how to I define the conversion rate of the imaginary 1 USD == 5 ILS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.