我在模拟交易,下单股票都是正常的,国债逆回购一直无法下单,报100009的错误代码,代码如下,请问为什么报错
stock = '204001.SH'
order_type = xtconstant.STOCK_SELL trade_vol = 10 tag = '逆回购' current_price = 1.52 order_id = xt_trader.order_stock(account, stock, order_type, trade_vol, xtconstant.FIX_PRICE, current_price, 'strategy_name', tag)
举报
本版积分规则 发表回复 回帖后跳转到最后一页
1
0