0
ध्यान केंद्रित करना
1
समर्थक

ऑर्डर की जानकारी प्राप्त करना

में बनाया: 2021-11-23 22:14:46, को अपडेट:
comments   3
hits   924

//383375074660855808 var order = exchanges[0].GetOrder(“383375074660855808”)
Log(“Id:”, order.Id, “Price:”, order.Price, “Amount:”, order.Amount, “DealAmount:”, order.DealAmount, “Status:”, order.Status, “Type:”, order.Type) //////////////////// var orders = exchanges[0].GetOrders() Log ((“अपूर्ण आदेश एक की जानकारी, आईडीः”, orders[0].Id, “Price:”, orders[0].Price, “Amount:”, orders[0].Amount, “DealAmount:”, orders[0].DealAmount, “type:”, orders[0].Type) Log ((“अपूर्ण आदेश दो की जानकारी, आईडीः”, orders[1].Id, “Price:”, orders[1].Price, “Amount:”, orders[1].Amount, “DealAmount:”, orders[1].DealAmount, “type:”, orders[1].Type) 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) कृपया मुझे बताएं कि यह क्यों है? क्या आईडी को परिभाषित करने की आवश्यकता है?