Type/to search
0
Follow
0
Followers
Tại sao phương pháp này không tìm được orderid? Vấn đề là gì?
Help
Created 2020-11-10 09:47:05  Updated 2020-11-10 09:47:51
 2
 1355

Tôi đã mua orderid bằng tài liệu Binance API, nhưng không thể tìm ra orderid này bằng exchange.GetOrder của fmz, chỉ ra GetOrder ((154432759): 400: {"code":-2013, "msg":" Order does not exist. "}, và đơn đã được gửi xuống sàn.
Bạn có thể tìm thấy câu hỏi của tôi ở đâu?
message ="symbol=" + str("SNX")+"USDT"+ "&side=BUY"+"&type=MARKET"+ "&quantity="+ str(1)
idsecondtemp = exchange.IO (("api", "POST", "/fapi/v1/order", message)
Log ((("Bán hàng thứ hai Biance trả vềidsecondtemp=",idsecondtemp)
idsecond=idsecondtemp["orderId"]
Log("idsecond",idsecond)
GetoderByidsecond=exchange.GetOrder(idsecond)
Log(GetoderByidsecond)

Related Recommendations
Comment
All comments (2)

    需要切换交易对,回答完毕

    6 years ago

    切换交易对了没有

    6 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)