lth-elm/TradingView-Webhook-Trading-Bot

ByBit Timestamp Error

JohnnDx opened this issue · 1 comments

Hello, I've downloaded it, created proper config file, installed it on localhost and I have timestamp error:
Could you tell if something has changed or is it mistake on my side?
Regards

pybit - ERROR - invalid request, please check your timestamp and recv_window param. req_timestamp: 1647970885669 server_timestamp: 1647970883210 recv_window: 10000 (ErrCode: 10002). Added 2.5 seconds to recv_window. 0 retries remain.

I figured it out.
Since I was running on localhost, my PC's time was not in sync with ByBit server time. 3-4 milliseconds, but still. Syncing time helped.