Trying to use Binance, I get this error trying to call fetch_total_balance (probably other methods also but I didn't test any others yet):
ccxt.base.errors.ExchangeNotAvailable: binance GET https://api.binance.com/api/v3/account?timestamp=1513233650395329&signature=.... 400 {"code":-1021,"msg":"Timestamp for this request was 1000ms ahead of the server's time."}
I already double checked that my system is syncing to internet time. Could it be a timezone handling issue in CCXT?
I found this thread which shows an example using the python-binance library to check the time delay and I don't see an issue with that library which is why I am guessing it could be a timezone issue in CCXT. When I run:
>>> import time
>>> from binance.client import Client
>>> client = Client(api_key, api_secret)
>>> int(time.time() * 1000) - client.get_server_time()['serverTime']
I consistently get a result around 260ms.
Trying to use Binance, I get this error trying to call
fetch_total_balance(probably other methods also but I didn't test any others yet):I already double checked that my system is syncing to internet time. Could it be a timezone handling issue in CCXT?
I found this thread which shows an example using the python-binance library to check the time delay and I don't see an issue with that library which is why I am guessing it could be a timezone issue in CCXT. When I run:
I consistently get a result around 260ms.