rodrigo-brito / backtrader-binance-bot

:money_with_wings: A example of bot using Backtrader to trade Bitcoins in Binance Exchange.
MIT License
263 stars 118 forks source link

Timestamp for this request was 1000ms ahead of the server's time #10

Closed hoflz5 closed 3 years ago

hoflz5 commented 3 years ago

binance {"code":-1021,"msg":"Timestamp for this request was 1000ms ahead of the server's time."}

I suggest adding these options to the broker_config:

'options': {
        'adjustForTimeDifference': True,
    },
rodrigo-brito commented 3 years ago

This project is just an example of usage, it is not maintained and not ready to production.