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())