def main(): exchange.SetContractType(“swap”) ticker = exchange.GetTicker() Log(ticker) Log(exchange.GetAccount()) Log(“切换LTC_USDT:”, exchange.SetCurrency(“LTC_USDT”)) ticker = exchange.GetTicker() Log(ticker) Log(exchange.GetAccount())
bingci 实盘显示错误 2021-04-12 09:34:40 Futures_Binance 错误 Futures_OP 3: Invalid ContractType 2021-04-12 09:34:39 Futures_Binance 错误 Futures_OP 3: Invalid ContractType
小草 回测吗,有部分币种没行情,可以实盘试试