Skip to content

Simple python script to log bitcoin price every minute. Used as a cronjob on a Raspberry Pie.

License

Notifications You must be signed in to change notification settings

NBrown140/btc_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

btc_logger

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.

Dependencies:

Setup cron job:

https://crontab.guru/examples.html

http://yellerapp.com/posts/2015-01-12-the-worst-server-setup-you-can-make.html

Daily cron job

crontab -e

* * * * * python btc_logger.py

Monthly cron job

crontab -e

0 0 1 * * python monthly_cleaner.py

About

Simple python script to log bitcoin price every minute. Used as a cronjob on a Raspberry Pie.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages