DeviaVir / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
8.21k stars 2.04k forks source link

getTrades() returned duplicate results (cexio.BTC-USD) #760

Open johngirvin opened 6 years ago

johngirvin commented 6 years ago

Getting the below error attempting to backfill cexio.BTC-USD. Also the --days parameter seems to be ignored with this exchange, or I'm using it wrong.

# zenbot --version
4.0.5

# zenbot backfill cexio.BTC-USD
skipping 10383 hrs of previously collected data

cexio.BTC-USD saved 1000 trades 791 days left
.
error: getTrades() returned duplicate results
{ product_id: 'BTC-USD', from: 376024 }
{ product_id: 'BTC-USD', from: 376024 }

# zenbot backfill --days 14

skipping 10383 hrs of previously collected data

cexio.BTC-USD saved 1000 trades 791 days left
.
error: getTrades() returned duplicate results
{ product_id: 'BTC-USD', from: 376024 }
{ product_id: 'BTC-USD', from: 376024 }
DeviaVir commented 6 years ago

Is this bug still active on the latest unstable?

berinhardt commented 5 years ago

Still active on latest unestable