若是涨停再买入 状态会变为已撤,但是未涨停就能买入|,如图中华塑控股就是涨停 然后自动被变为已撤了,京能未涨停能直接买入

使用的是:order-id已经正常返回
order_id = self.xt_trader.order_stock(
self.account, stock_code = xq_stock_code, order_type = xtconstant.STOCK_BUY,
order_volume = buy_vol, price = price, price_type = xtconstant.MARKET_PEER_PRICE_FIRST, strategy_name = remark,
order_remark = ''
)
|