Available translations

Problems With Computer Time

foundations.png
Summary: Some exchanges force the computer that is running your bot to be highly synchronized with their servers, and to achieve that you need that machine's time to keep itself synchronized with an Internet Time Server.
How to identify this problem?
If you receive an error like this, you are having this type of problem:
 ['2021-05-27T15:24:15.339Z',246,'Exchange API','[ERROR] createOrder -> 
Error = binance {"code":-1021,
"msg":"Timestamp for this request is outside of the recvWindow."}'] 
@ Masters-Low-Frequency-Trading
How to solve this problem?
You can use the server time.nist.gov that has proven to work in this situation. Look for the place at your OS where you can change the Internet Time Settings and use that server there.
Docker Users
Sometimes Docker might not be in sync even though the underlying OS it is. To fix this, you can run this command, which will force Docker to restart and wsl to pickup the correct time from the OS.
 wsl --shutdown
Previous
Problems Saving The Workspace or Plugins