mcardillo55 / cbpro-trader

Automated cryptocurrency trading on Coinbase Pro (formerly gdax-trader)
GNU General Public License v3.0
218 stars 72 forks source link

30m period for BTC not working #7

Closed linuxster closed 6 years ago

linuxster commented 6 years ago

Hi, I cannot get the 30m setting to work for BTC. 60m appears working.

mcardillo55 commented 6 years ago

GDAX recently limited their supported granularities to one minute, five minutes, fifteen minutes, one hour, six hours, or one day. I should probably update the README to reflect that. I've personally been collecting my own historical data and using that for now, but I don't think it's good enough for the public to use. If you want to set up your own mirror though, check out the project.

linuxster commented 6 years ago

ok thanks I will take a look. are you then connecting to your mongodb instance and streaming into the get_historical_data logic?

mcardillo55 commented 6 years ago

I serve the data via a flask microservice that connects to the mongodb in app.py, trying to mimic the response from the official GDAX api.