Plotting balance over time with Starling Bank's CSV export.
Features:
- combine multiple CSVs into one graph (Starling's maximum export is 1 year)
- show trend line for past N days
- show average daily spending/earning for trend line period
- work out estimated
TUZM
(Time Until Zero Money)
Requirements: Python (with matplotlib
, numpy
)
Export CSV with Starling.
python .\plot.py --trendline 90 .\StarlingStatement_2022-05-26_2023-05-26.csv .\StarlingStatement_2023-05-26_2023-12-12.csv
This could work with other banks. I don't know, because I don't have other banks. In principle, if their CSVs have a "date" and "balance" column then it will work. You will have to change this code to use the right CSV column and date format.
https://github.com/alifeee/banking/blob/7e4bc1468165685d85f38c9d2ab1037f24209ce2/plot.py#L32-L33