0
Follow
0
Followers
我用币安api文档下单取得的orderid,用fmz的exchange.GetOrder()却查不到这个id订单,提示GetOrder(154432759): 400: {"code":-2013,"msg":"Order does not exist."},而单子是已经下到交易所里了的。而我用fmz的exchange.Buy(-1, 1)产生的orderid
就可以查的到。请问我的问题出在哪里了?
message ="symbol=" + str("SNX")+"USDT"+ "&side=BUY"+"&type=MARKET"+ "&quantity="+ str(1)
idsecondtemp = exchange.IO("api", "POST", "/fapi/v1/order", message) #下多单
Log("第二交易所Biance返回的idsecondtemp=",idsecondtemp)
idsecond=idsecondtemp["orderId"]
Log("idsecond",idsecond)
GetoderByidsecond=exchange.GetOrder(idsecond)
Log(GetoderByidsecond)
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?

