openctp-ctp-python icon indicating copy to clipboard operation
openctp-ctp-python copied to clipboard

发起订单的时候,InstrumentID为空导致总是报合约不存在

Open liangmuxue opened this issue 9 months ago • 1 comments

客户端版本:6.7.2 7*24小时模拟环境 前置地址: openctp.cn:20004 日志: OnRspOrderInsert failed: 合约不存在 OnRspOrderInsert:UserID=xxxxx BrokerID=10010 InvestorID=12081 ExchangeID=DCE InstrumentID= Direction=0 ...

可以看到,返回的错误信息中InstrumentID为空,但是请求中确实填写了InstrumentID,并且连接其他前置如华鑫证券奇点,同样的代码,就可以报单成功

liangmuxue avatar Feb 25 '25 08:02 liangmuxue

这个环境不全,多换别的合约试试。@liangmuxue

Jedore avatar Feb 25 '25 23:02 Jedore