Timestamp errors
rsm778877 opened this issue · comments
rsm778877 commented
Hi,
The exchange sometimes returns errors:
Error 10002, invalid request, please check your server timestamp or recv_window param. req_timestamp[1693378842140],server_timestamp[1693378847528],recv_window[5000]
How to fix this?
Thanks
hirokisan commented
nanom1t commented
@hirokisan will it work automatically or should I set some params/options?
hirokisan commented
You should be able to synchronize time differences by calling SyncServerTime.
ref:
Lines 419 to 430 in 0298136
hirokisan commented
I will close it once because time has passed.