ctpx 6.7.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ctpx/__init__.py ADDED
@@ -0,0 +1,21 @@
1
+ """
2
+ CTP (China Futures Market) Python API Wrapper
3
+
4
+ 支持多平台库实现:
5
+ - 官方 CTP 库
6
+ - 三方兼容库(如融航)
7
+
8
+ 使用方法:
9
+ # 使用官方CTP实现
10
+ from pyctp.ctp import mdapi, tdapi
11
+
12
+ # 使用融航实现
13
+ from pyctp.rohon import mdapi, tdapi
14
+
15
+ 注意:同一进程中只能使用一种实现,不可同时导入 ctp 和 rohon。
16
+ """
17
+
18
+ __version__ = '6.7.2'
19
+ __author__ = 'duanqing'
20
+
21
+ __all__ = []
ctpx/ctp/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ from . import thostmduserapi as mdapi
2
+ from . import thosttraderapi as tdapi
3
+
4
+ __all__ = ['mdapi', 'tdapi']
Binary file
Binary file
Binary file
Binary file