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)
Os futuros do Binance, não importa o que eu faça com o "ETH_USDT", me dirão Futures_OP 4: 400: {"code":-1121, "msg":"Invalid symbol".}
A compra pode ser feita através da exchange.Buy ((-1, 0.01) fornecida pelo sistema.
O que está errado?
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
