0
Follow
0
Followers
def main():
exchange.SetCurrency("ETH_USDT")
exchange.SetContractType("swap")
message ="symbol=" + "ETH_USDT" + "&side=BUY" + "&type=MARKET"+ "&quantity=0.01"
id = exchange.IO("api", "POST", "/fapi/v1/order", message)
Bitcoin futures, tidak peduli bagaimana saya mengubah "ETH_USDT", akan memberi tahu saya Futures_OP 4: 400: {"code":-1121, "msg":"Invalid symbol".}
Anda dapat melakukan pemesanan melalui exchange.Buy ((-1, 0.01) yang disediakan oleh sistem.
Apa yang salah?
Related Recommendations
Advanced 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?5.5 Trading strategy optimization
