If I use CCXT on my Windows machine I periodically get ‘Timestamp for this request is outside of the recvWindow’ error.
Exchange has the following options by default:

If I create an exchange like this:
1 2 3 4 5 6 7 8 9 10 11 | const exchange = new exchangeClass( { apiKey: row.apiKey, secret: row.apiSecret, timeout: row.timeout, enableRateLimit: true , options: { adjustForTimeDifference: true , recvWindow: 10000, } }); |
they calculate timeDifference
:

and the error does not occur anymore.