congcong009
congcong009
在我的理解中,如果要运行腾讯行情,只能采取手动安装的模式。 ## 代码部分 所以为了在docker里运行一个基于腾讯行情的采集服务,现手动安装6.6.1的ctp-python文件([路径](https://github.com/openctp/openctp-ctp-python/tree/main/6.6.1_P1_20210406/linux64))至目录openctp/linux,在同目录里导入ctp项目中的qq行情thostmduserapi_se.so库文件([[路径](https://github.com/openctp/openctp/tree/master/ctp2QQ/6.6.1_P1_20210406/lin64)])。 代码中,调用方式如下: ```python from openctp.linux.thostmduserapi import CThostFtdcDepthMarketDataField, CThostFtdcMdSpi, CThostFtdcReqUserLoginField, CThostFtdcSpecificInstrumentField, CThostFtdcRspInfoField, CThostFtdcRspUserLoginField, CThostFtdcMdApi ```` 运行报错: ```shell File "/openctp/linux/thostmduserapi.py", line 46, in from . import _thostmduserapi ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6:...