Using the binance connector node (GitHub - binance/binance-connector-node: A simple connector to Binance Public API) to get the order status every X time ( can be 15 minutes or 30 mins to check if lose some update from websocket ). Once initialized the object
this.client = new Spot(this.user.apiKey, this.user.secretKey, { baseURL: this.environment.baseUrl, wsURL: this.environment.wsURL })
I will call the getOrder as describer above
let getOrderInfoParam = {
origClientOrderId: clientOrderId
}
let result = await this.client.getOrder(pair, getOrderInfoParam);
The above call usually working fine, but some time is continuing returning the error ‘Timestamp for this request is outside of the recvWindow.’.
There is some thing that I can do to avoid to receive this error ? Or when I receive this error there is some way that I can manage using the connector?
Thank for the help