diff --git a/RELEASE.md b/RELEASE.md index ecb268d..ee662a3 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,9 @@ +## 0.1.6 + +2024-09-22 + +- Fix load dll error in Python 3.7&3.8 + ## 0.1.5 2024-07-21 diff --git a/src/openctp_ctp_channels/__about__.py b/src/openctp_ctp_channels/__about__.py index 66a87bb..2fb2513 100644 --- a/src/openctp_ctp_channels/__about__.py +++ b/src/openctp_ctp_channels/__about__.py @@ -1 +1 @@ -__version__ = '0.1.5' +__version__ = '0.1.6' diff --git a/src/openctp_ctp_channels/channels.py b/src/openctp_ctp_channels/channels.py index 1708eaa..8efe8f8 100644 --- a/src/openctp_ctp_channels/channels.py +++ b/src/openctp_ctp_channels/channels.py @@ -11,12 +11,12 @@ import requests CHANNELS = { - 'ctp': '上期技术CTPAPI', - 'tts': 'openctp TTS 7x24', - 'tts-s': 'openctp TTS仿真(接实盘行情)', - 'emt': '东方财富EMT', - 'xtp': '中泰证券XTP', - 'tora': '华鑫证券奇点股票', + 'ctp': '上期技术CTP柜台', + 'tts': 'openctp TTS柜台 7x24环境', + 'tts-s': 'openctp TTS柜台 仿真环境(接实盘行情)', + 'emt': '东方财富EMT柜台', + 'xtp': '中泰证券XTP柜台', + 'tora': '华鑫证券奇点股票柜台', 'qq': '腾讯财经(只有行情)', 'sina': '新浪财经(只有行情)', } @@ -284,7 +284,7 @@ def current_channel(self): def _del_old_files(self): for _, _, filenames in os.walk(self._ctp_lib_path): for filename in filenames: - if not filename.startswith("msvcp140"): + if filename.startswith("thost"): os.remove(self._ctp_lib_path / filename) def _copy_libs(self, del_old: bool = True):