CyberPunkMetalHead / Binance-News-Sentiment-Bot

This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds. If you like this project consider donating though the Brave browser to allow me to continuously improve the script.
MIT License
1.57k stars 290 forks source link

Program freezes when order is timed out. #4

Closed manosbagakis closed 3 years ago

manosbagakis commented 3 years ago

preparing to buy BTC with 0.001829 USDT at 54668.42000000

binance.exceptions.BinanceAPIException: APIError(code=-1021): Timestamp for this request is outside of the recvWindow.

Code freeses when order is timed out. Suggesting adding a continue statement when: BinanceAPIException raises BinanceOrderException raises

CyberPunkMetalHead commented 3 years ago

This should now be resolved with the last commit.