Examples for a nonce based upon the current UNIX time in milliseconds (a popular and effective choice for a nonce) would be:
• a nonce window setting of 5000 allowing a 5 second nonce window,
While a simple counter such as the above would provide a valid nonce, a more effective method of generating valid nonce values is to use a UNIX timestamp in milliseconds (the number of milliseconds since the 1st of January 1970 at 00:00:00 UTC).
Using a millisecond or higher resolution timestamp for the nonce guarantees that all of the requirements of a valid nonce are met (uniqueness and always increasing), and provides sufficient values for traders making rapid successive API calls (market makers, high frequency trading bots, etc.).
Caution
For existing api keys - this change is breaking change, they should be recreated
Motivation:
5seconds window we need set50000000nonce window instead of5000, since 10 million ticks in a second.Official recomendations
Links: