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)
Los futuros de Binance, sin importar lo que haga con "ETH_USDT", me dicen Futures_OP 4: 400: {"code":-1121, "msg":"Invalid symbol".}
Se puede pedir en el exchange.Buy ((-1, 0.01) proporcionado por el sistema.
¿Qué está mal?
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
