输入: print('balance: ',account.get_account().balance) api.insert_order(symbol='DCE.m2405', direction="BUY", offset="OPEN", volume=1, limit_price=3200, order_id=1110) api.wait_update(1) 输出:...
SYMBOL = \”CZCE.TA909\” KLINE_PERIOD_1 = 60 KLINE_PERIOD_2 = 5*60 data_length = 30 api = TqApi(TqSim()) quote = api.get_quote(SYMBOL) orders = api.get_order() ticks = api.get_tick_serial(SYMBOL, data_length=data_length)...