0
关注
0
关注者

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

创建于: 2018-03-10 17:35:12, 更新于:
comments   2
hits   3002

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

怎么办啊?

更多内容
全部留言
avatar of sansydj
sansydj
运行在WINDOWS下怎么办
2018-03-10 21:40:21
avatar of 发明者量化-小小梦
发明者量化-小小梦
哦 这个是比较常见的 问题,时间戳校验的问题 . ``` 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 被封,要等到 上图显示的 那个时间戳 的时间点才能解除封锁。 ```
2018-03-10 18:41:49