The following message is displayed on the command line: Order does not exist

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

Have you ever encountered the "Order does not exist" query via the Binance interface, but the "Order does not exist" query via the debugging tool itself?

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

The grassPlease note that the order must be in the pending state (unfinished, uncancelled) to be able to consult the order.