Open douno23 opened 5 months ago
程序报错
{"code":-1021,"msg":"Timestamp for this request is outside of the recvWindow.","_method":"GET","_url":"https:\/\/api.binance.com\/api\/v3\/account?timestamp=1712466203000","_httpcode":400}
Timestamp for this request is outside of the recvWindow. 你本地时间和交易所时间 差距大
程序报错
{"code":-1021,"msg":"Timestamp for this request is outside of the recvWindow.","_method":"GET","_url":"https:\/\/api.binance.com\/api\/v3\/account?timestamp=1712466203000","_httpcode":400}
Timestamp for this request is outside of the recvWindow. 你本地时间和交易所时间 差距大
这就是奇怪的地方,我同步了服务器时间,其实发现时间差别并不大
你请求当时的时间 走到 交易所 这个时间超时了, 你可以单独设置recvWindow 设置大点
你请求当时的时间 走到 交易所 这个时间超时了, 你可以单独设置recvWindow 设置大点
怎么设置,能给讲一下吗
是在:
$binance->trade()->postOrder(['recvWindow'=>xxx,.....])
这样设置吗
是的,设置不超过60000
程序报错