资源加载中... loading...

通过币安接口查询订单(/fapi/v1/order)报:Order does not exist

Author: xuluxiao, Created: 2021-03-26 12:47:06, Updated:

通过币安接口查询订单,提示Order does not exist,但通过调试工具单独查询的时候又能查询到,各位有遇到过吗?

var ticker = exchange.GetTicker() //当前行情
var message = "symbol=" + "BTCUSDT" + "&orderId=" + orderid +"&timestamp=" + _D(ticker.Time)

var orderInfo = exchange.IO("api", "GET", "/fapi/v1/order", message)

More

小草 注意订单要处于挂单状态(未成交,未撤消)才能查询到