币安交易好像不能了,时间戳不对

Author: sansydj, Created: 2018-03-10 17:35:12, Updated:

用了本地托管(香港阿里云), GetAccount: 400: {“code”:-1021,“msg”:“Timestamp for this request is outside of the recvWindow.”}

怎么办啊?


More

sansydj 运行在WINDOWS下怎么办

小小梦 哦 这个是比较常见的 问题,时间戳校验的问题 . ``` 16、币安 报错 最近 币安 会报一些 时间戳 不同步的错误,如: Timestamp for this request was 1000ms ahead of the server's time Timestamp for this request is outside of the recvWindow 如果您的托管者 是运行在 linux 系统上的,可以尝试 使用一下命令 解决: # /ntp 服务移除 # sudo launchctl remove org.ntp.ntpd # //更新本地时间 # sudo ntpdate cn.pool.ntp.org 这个报错 就是 访问 交易所 API 频率超限制了,IP 被封,要等到 上图显示的 那个时间戳 的时间点才能解除封锁。 ```