VeighNa量化社区
你的开源社区量化交易平台
xubei1009's Avatar
Member
离线
3 帖子
声望: 0

请问老师,我用代码开仓“SPC c2105&cs2105”这个套利合约,结果收到如下回复,请问这是什么原因?是CTP不支持,还是vnpy的封装不支持?
期待您的答复,谢谢!

onRspOrderInsert
{'ErrorID': 16, 'ErrorMsg': 'CTP:找不到合约'}
{'BrokerID': '9999', 'InvestorID': '080500', 'InstrumentID': 'SPC c2105&cs2105', 'OrderRef': '0', 'UserID': '080500', 'OrderPriceType': '2', 'Direction': '0', 'CombOffsetFlag': '0', 'CombHedgeFlag': '1', 'LimitPrice': 420.0, 'VolumeTotalOriginal': 2, 'TimeCondition': '3', 'GTDDate': '', 'VolumeCondition': '1', 'MinVolume': 2, 'ContingentCondition': '1', 'StopPrice': 0.0, 'ForceCloseReason': '0', 'IsAutoSuspend': 0, 'BusinessUnit': '', 'RequestID': 0, 'UserForceClose': 0, 'IsSwapOrder': 0, 'ExchangeID': '', 'InvestUnitID': '', 'AccountID': '', 'CurrencyID': '', 'ClientID': '', 'IPAddress': '', 'MacAddress': ''}

© 2015-2022 微信 18391752892
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】