注文情報を取得する問題

作者: リン・ハーンイジクル作成日:2021年11月23日 22:14:46 更新日:

//383375074660855808 / / 383375074660855808 var order = exchanges[0].GetOrder ((383375074660855808) について
ログ (Id:)order.IdPrice: , order.Price, Amount: , order.Amount, DealAmount: , , , order.DealAmount, Status: order.Status, Type: order.Type) オーダー,オーダー,オーダー,オーダー,オーダー (拍手) ありがとうございました var orders = exchanges[0].GetOrders (※) について ログ (※) 注文が完了していない情報,ID:, orders[0].Id,Price:, orders[0].Price,Amount:, orders[0].Amount, DealAmount: , orders[0].DealAmount, type: , orders[0].Type 取引額: , orders[0]. ログ (※) 注文2が完了していない情報,ID:, orders[1].Id,Price:, orders[1].Price,Amount:, orders[1].Amount, DealAmount:, orders[1].DealAmount, type:, orders[1].Type 取引額:,注文 [1] 取引額:,注文 [1] 取引額:,注文 [1] 取引額:,注文 [1] 取引額:,注文 [1] 取引額: 取引額: 取引額: 取引額: 取引額: 取引額: 取引額: 取引額

     exchanges[0].GetOrder可以返回信息
     Id: 383375074660855808 Price: 0 Amount: 1 DealAmount: 1 Status: 1 Type: 0
     exchanges[0].GetOrders()却返回错误
     TypeError: cannot read property 'Id' of undefined at main (__FILE__:129)
     
     请问这是什么原因啊?Id需要定义吗/xiexie

もっと

イジクル/upload/asset/23c31a045d4345042eab9.jpg 投稿者: 藤原 さん buyOrderId = openLong ((-1, amount) // 複数のポジションを掛けたバイド -1 は市場価格を表す buyOrderId = openLong ((-1, amount) // 複数のポジションを掛けたバイド -1 は市場価格を表す var orders = exchanges[0].GetOrders (アニメーション) ログ (=="orders=",orders) Log (("未完了注文1の情報,ID:", orders[0].Id, "Price:", orders[0].Price, "Amount:", orders[0].Amount, "DealAmount:", orders[0].DealAmount, "type:", orders[0].Type) について説明します. Log (("未完了の注文2の情報,ID:", orders[1].Id, "Price:", orders[1].Price, "Amount:", orders[1].Amount, "DealAmount:", orders[1].DealAmount, "type:", orders[1].Type) について説明します. ------------------------ ほら ほら 上の図のようにエラーが表示されています. 問題コードはこちらで,アカウントには単一のA があります. id の前のorders は,a と定義されています. 祈り

小さな夢cannot read property 'Id' of undefined at main (__FILE__:129) について 129行,ポリシーコードをチェックする,Idという変数の名前前の変数は定義されていない.

小草命令をチェックします.