binance {“code“:-1021,“msg“:“Timestamp for this request was 1000ms ahead of the server‘s time.“}

Could not fetch leverage amounts due toInvalidNonce. Message: binance {"code":-1021,"msg":"Timestamp for this request was 1000ms ahead of the server's time."}

Binance: "Timestamp for this request is 1000ms ahead of the server's time %s

Solution

It is recommended that you set up time synchronization in Windows 10 settings,

If you want to synchronize your system time with an NTP (Network Time Protocol) server provided by the National Institute of Standards and Technology (NIST), you can use "time.nist.gov" instead of the default "time.windows.com" server on your Windows computer.

You can do this:

  1. Open the "Date and Time" settings:

    • Right-click on the clock in the taskbar.
    • Choose Adjust Date/Time or Adjust Time/Date from the menu.
  2. In the Date and Time window, click the Internet Time tab.

  3. Click the "Change Settings" button.

  4. In the Internet Time Settings window, replace "time.windows.com" with "time.nist.gov" in the Server field.

  5. Click Update Now to synchronize your system time with the NIST server.

  6. Click OK to save changes and close the window.

After following these steps, your Windows computer will synchronize its time using "time.nist.gov" as an NTP server. Remember, it's always a good idea to use a reliable and accurate NTP server for time synchronization, especially if you need precise timing for certain applications or tasks. NIST provides a highly accurate time reference, making "time.nist.gov" a popular choice for time synchronization.

weighing scale

 Binance: "Timestamp for this request is 1000ms ahead of the server's time %s · Issue #773 · ccxt/ccxt · GitHub

Guess you like

Origin blog.csdn.net/weixin_39842528/article/details/132099365