ctpwrapper icon indicating copy to clipboard operation
ctpwrapper copied to clipboard

上海期货交易所CTP接口 Shanghai Future CTP Interface CTP Python API Wrapper

Results 20 ctpwrapper issues
Sort by recently updated
recently updated
newest added

from ctpwrapper.MdApi import MdApiWrapper ModuleNotFoundError: No module named 'ctpwrapper.MdApi' I have added ctpwrapper as sources root. While , when i run sample files, it shows No module named 'ctpwrapper.MdApi' ....

![image](https://github.com/nooperpudd/ctpwrapper/assets/12406250/6068a7e4-996d-414f-aba6-38a14679b2d9)

一个小问题。 cython 3.0版本后,编译过程中提示warning,nogil 应该放在 except + 的后面 warning: ctpwrapper/headers/DataCollect.pxd:8:61: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be...

在结构说明里没有找到IsAutoSuspend ,BusinessUnit和InvestUnitID填写的说明,应该怎么填,

md.ReqQryMulticastInstrument(ApiStructure.QryMulticastInstrumentField(), md.request_id) OnRspError: requestID: 0 RspInfoField True

通常情况下每个期货公司提供的so包或者dll包跟生产环境统一使用的是有区别的,所以具体对接期货公司需要使用具体他们给提供的so包。这种情况下请问如何替换项目中的so包,并且打包编译,让项目能顺利通过呢?

一直显示 trader server down 链接前置地址都连接不上

- 我是直连模式 - 本地我getsysteminfo 是没问题的,能采集到加密后的信息 - 登录认证成功都ok - 但在期货公司后台,采集不全,日志如下: - 采集信息上报 采集信息不全:FrontID:1 ,SessionID:209191967,sysLen:264,AdditionalInfo:3@[email protected]@37768@2025-07-10 08:45:00@@@@@88888888@1 也就是cpu、磁盘、网卡地址都是空的,请问为什么,我调试了很久。然后我用实体机去跑了也是一样。linux的云机器+实体机,都是一样的结果。快疯了