beatzxbt / bybit-smm

bybit simple market maker
MIT License
398 stars 125 forks source link

Invalid request #16

Closed KingEluard closed 1 month ago

KingEluard commented 3 months ago

Hi, I was able to start the bot but facing an issue with the request. Here is the callback.

2024-04-09 13:00:01.263755: Starting data feeds...
2024-04-09 13:00:08.875183: Connected to ['position', 'order'] bybit feeds...
2024-04-09 13:00:10.722021: Connected to ['orderbook.500.ETHUSDT', 'orderbook.1.ETHUSDT', 'publicTrade.ETHUSDT', 'tickers.ETHUSDT', 'kline.1.ETHUSDT'] bybit feeds...
2024-04-09 13:00:10.877842: Starting strategy...
2024-04-09 13:00:48.918788: Error: 10002/invalid request, please check your server timestamp or recv_window param. req_timestamp[1712638815956],server_timestamp[1712638849231],recv_window[5000] | Endpoint: /v5/order/create-batch
2024-04-09 13:00:54.584375: Error: 10002/invalid request, please check your server timestamp or recv_window param. req_timestamp[1712638849922],server_timestamp[1712638855248],recv_window[5000] | Endpoint: /v5/order/cancel-all
2024-04-09 13:02:17.384118: Error: 10002/invalid request, please check your server timestamp or recv_window param. req_timestamp[1712638877054],server_timestamp[1712638938078],recv_window[5000] | Endpoint: /v5/order/cancel-all
beatzxbt commented 3 months ago

Do any orders show up on your Bybit UI? I've heard issues regarding 10002 before but they seemed to be unrelated to recvWindow...

LevBeta commented 3 months ago

The error in question is because the request time exceeded the window range, try to sync or system clock and restart image

beatzxbt commented 1 month ago

hope this issue was fixed, closing as no further problems brought up.