Closed mwerre1 closed 3 years ago
Just sync time of your OS with time servers, solved for me.
if you're on windows, syncing with time.nist.gov
solved the issue for me.
If you run in WSL2, it's known bug. Run sudo hwclock -s
Fixed with latest windows 10 insiders build
Testing bot on testnet and just got this error:
TRXUSDT has gained 15.023% in the last 5 minutes, calculating volume in USDT
preparing to buy 698.8 TRXUSDT
Traceback (most recent call last):
File "/initrd/mnt/dev_save/BUGHUNTER/BINANCE/Binance-volatility-trading-bot/Binance-Detect.py", line 356, in
Same for me @gabtech722
when Market looks ok, bot is running...
this error comes out:
Traceback (most recent call last): File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 597, in orders, last_price, volume = buy() File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 294, in buy volume, last_price = convert_volume() File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 255, in convert_volume volatile_coins, number_of_coins, last_price = wait_for_price() File "c:/Users/pc/Desktop/TradingTry/Binance Detect Moonings.py", line 139, in wait_for_price if historical_prices[hsp_head]['BNB' + PAIR_WITH]['time'] > datetime.now() - timedelta(minutes=float(TIME_DIFFERENCE / RECHECK_INTERVAL)): KeyError: 'BNBUSDT'
what's the solution ?
APIError(code=-1021): Timestamp for this request was 1000ms ahead of the server's time.