Type/to search
0
Follow
1
Followers
exchange.GetOrders() ایک خرابی کی اطلاع دیتا ہے۔
Help
Created 2023-02-12 00:01:57  
 2
 1054

سیکھنے کے فورم پر کوڈ
function CancelPendingOrders() {
var orders = exchange.GetOrders();// تمام زیر التواء آرڈرز حاصل کریں۔

for (var j = 0; j < orders.length; j++) { exchange.CancelOrder(orders[j].Id, orders[j]);}//该函数的用途为取消某个Id的订单。

}

عملدرآمد کی غلطی
2023-02-12 00:00:51 غلطی TypeError: cannot read property 'length' of null at CancelPendingOrders (پینڈنٹ آرڈرز منسوخ کریں)FILE:41) at main (FILE:125)
2023-02-12 00:00:51 Futures_OKCoin غلطی GetOrders: 401: {"msg":"APIKey does not match current environment.","code":"50101"}

سوال یہ ہے کہ اس کی وجہ کیا ہے؟ شکریہ

Related Recommendations
Comment
All comments (2)

    问题解决啦 没有设置成模拟盘

    4 years ago

    OKX使用exchange.IO("simulate", true)设置。API文档上搜索“模拟盘”有相关信息。

    4 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)