When trading on Binance, I get this message “APIError code = -1021, msg = Timestamp for this request is outside of the recvWindow”. What am I doing wrong?
You need to sync the time of your device, preferably with a NTP server. Binance is super sensitive about time.