How to sync your computer’s clock with Binance

As always, get the latest version of Tradedash from our website.

As of late a lot of our users have been asking us about the Binance related clock-sync issues. You may have seen a message similar to this:

There’s an issue syncing your clock with Binance, please contact Tradedash

This guide is intended to explain how clock sync works and how you can sync your computer’s clock.

Technical details

Being a desktop software that connects directly to the exchanges, Tradedash needs to utilize the public APIs available for said exchanges. Binance, in particular, has a restriction on the user’s computer clock. What that means is that both the exchange’s internal clock and the user’s computer clock must be somewhat in sync. Clocks generally drift apart for a myriad of reasons which leads to the following scenario:

Untitled Diagram

In Binance’s case this leads to the following API error:

Timestamp for this request was 1000ms ahead of the server’s time

In order to account for any disparity between clocks, we do some internal calculations that help reduce the frequency at which this kind of error may occur. However, a deterministic solution is extremely difficult to create as the combination of latency, geographical regions, OS version, etc. all play a role in this issue.

Fortunately, there is a way to fix it. It requires you as a user to make sure that your machine’s clock is properly synced with an online time server. Below is a quick tutorial on how to set it up.

Syncing your clock on Windows:

1. Go to the Control Panel

2. Search for and click on Date and Time

3. Select the Internet Time tab

4. Click on Change Settings

5. A small window will popup. Check the tickbox and change the time server in the drop down from time.windows.com to time-a.nist.gov as shown in the screenshot below.

In some cases, NIST won’t work for you as your latency might be too high. If that happens and you still can’t get in sync, you should try a different server as that might work better for your particular region.

Click on Update now and restart your machine. Everything should now work!

Untitled

Syncing your clock on MacOS:

1. Go to System Preferences

2. Click Date & Time

3. Enable changing your preferences in the bottom left corner: “Click the lock to make changes” and then enter your password

4. Make sure “Set date and time automatically” is checked

5. If it still does not work, you can try different regions in the drop-down.

Screen Shot 2018-03-15 at 9.55.59 PM.png

Download Tradedash

Get the latest version here: https://tradedash.io/download-tradedash

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s