Skip to content

Plotting balance over time with Starling Bank's CSV export.

Notifications You must be signed in to change notification settings

alifeee/bank-balance-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bank Balance Graph

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)

Screenshot of graph, showing balance over time

How to use

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

Notes

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

About

Plotting balance over time with Starling Bank's CSV export.

Topics

Resources

Stars

Watchers

Forks

Languages