engine.send_order(vt_symbol=vt_symbol, price=buy_price, volume=close_Amount, order_type=OrderType.LIMIT,\
direction=Direction.SHORT,offset=Offset.CLOSETODAY) #平今仓
上面这条指令,对大商所、郑商所等非上期所的合约有效吗?
engine.send_order(vt_symbol=vt_symbol, price=buy_price, volume=close_Amount, order_type=OrderType.LIMIT,\
direction=Direction.SHORT,offset=Offset.CLOSETODAY) #平今仓
上面这条指令,对大商所、郑商所等非上期所的合约有效吗?
有的