Code in the learning forum function CancelPendingOrders (()) { var orders = exchange.GetOrders (();// retrieves all unfinished orders.
for (var j = 0; j < orders.length; j++) {
exchange.CancelOrder(orders[j].Id, orders[j]);}//该函数的用途为取消某个Id的订单。
}
Execution of error reports
TypeError: cannot read property
What's the reason for that?
lzhqljThe problem is solved. No setup for the analog drive.
Inventors quantify - small dreamsOKX uses the ```exchange.IO (("simulate", true) ``` setting.