Simple python script to log bitcoin price every minute. Used as a cronjob on a Raspberry Pie.
Uses bitstamp-python-client to make API calls to bitstamp and retrieve prices data.
monthly_cleaner.py should be called at the very end of each month to process data.
- bitstamp-python-client (installed throug pip; https://github.com/kmadac/bitstamp-python-client)
https://crontab.guru/examples.html
http://yellerapp.com/posts/2015-01-12-the-worst-server-setup-you-can-make.html
crontab -e
* * * * * python btc_logger.py
crontab -e
0 0 1 * * python monthly_cleaner.py