spend-per-day
Calculates how much I can spend per day until my next paycheck, and generates a graph based on my bank statement.
Available on GitHub.
Dependencies
- Git
- Rake
- Gruff
- An account on swedbank.se (Or data formatted the same way)
Getting the latest version
git clone git://github.com/c7/spend-per-day.git
Generating the graphs
Just save the data from the overview page on your account at swedbank.se in a file named ‘bank_statement.txt’ in the spend-per-day directory.
Then just run the default rake task.
rake
(Mac OS X is required for the rake task to automatically show the graphs.)
Example graphs
Balance

Spend per day

Example data (more data == prettier graphs)
09-03-03 09-03-02 I-TUNES-SEK -38,00 23 519,19 09-02-16 09-02-15 BAY/AO-NANG BOOT -2 420,17 20 739,16 09-01-26 09-01-23 HOST MARRIOTT SE -64,00 33 954,03
Bugs/Feature Requests
The full and most up to date source is at github:
http://github.com/c7/spend-per-day/
You can clone or fork from there to fix or break the code.
I’m happy to take feature requests/bug reports. Just email me (peter@c7.se) or message me on github.
License
This code is free to use under the terms of the MIT license.
