daroczig / binancer

An R client to the Public Rest API for Binance.
https://daroczig.github.io/binancer
54 stars 57 forks source link

Add recvWindow parameter #23

Open siegfried opened 2 years ago

siegfried commented 2 years ago

The default (6000) recvWindow might not be enough. I keep receiving Timestamp for this request is outside of the recvWindow. My own test is that 20000 is a better setting.

siegfried commented 2 years ago

https://dev.binance.vision/t/error-timestamp-for-this-request-is-outside-of-the-recvwindow/1357/2

siegfried commented 2 years ago

I add an option here.

https://github.com/daroczig/binancer/pull/22/files#diff-b58e9c1dcba45c73288595ee036109f55d8969df4ecbf6333f3abba6281d59abR94