Synced GDax/Coinbase matches data

Time to start sharing (automatically) data I collcect. Following an article https://github.com/ctberthiaume/gdcp I installed gdcp on my Raspberry Pi and finalized configuration with allowing access to my Google Drive to this app.

Alright: daily db dumps are here: https://drive.google.com/drive/folders/1DhzkUWYAS4BHYJEgq-VoZ5iXliS_k9iz?usp=sharing

Crontab command looks like that:

0 1 * * * cd /home/pi/gdax; mysqldump -u *** -p *** solocryptoprenuer | bzip2 -c > solocryptoprenuer-$(date +%Y-%m-%d).sql.bz2; gdcp upload -p ***secret_id*** solocryptoprenuer-$(date +%Y-%m-%d).sql.bz2; rm -f solocryptoprenuer-$(date +%Y-%m-%d).sql.bz2;

I’ll plan to make nice cleaner uploads per trading pair in CSV format, but that’s for later. Maybe tomorrow.

Thanks for reading,
Łukasz.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s