This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
Closed
Description
Since a couple of days the CEX.io API does not give back old trades anymore (using the since parameter). After contacting support they stated:
Hi Mike,
We have limited our trade_history call to 1000 trades now, We will be implementing a daily trade static file in a future update I apologize for the inconvenence and we will try to get this out ASAP.
Which means that until the static file is offered we need to redesign CEX.io implementation to:
- on gekko start, start gathering trades and save them in the database (this functionality is already there). But don't calculate EMA's or give any advice yet.
- Monitor how many trades we have stored in the database, as soon as the oldest data we have is old enough to calculate the start EMA's (
config.EMA.candles
*config.EMA.interval
) start giving advice and trade.