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 +21 -0
- ctpx/ctp/__init__.py +4 -0
- ctpx/ctp/_thostmduserapi.so +0 -0
- ctpx/ctp/_thosttraderapi.so +0 -0
- ctpx/ctp/libthostmduserapi_se.dylib +0 -0
- ctpx/ctp/libthosttraderapi_se.dylib +0 -0
- ctpx/ctp/thostmduserapi.py +11193 -0
- ctpx/ctp/thosttraderapi.py +11940 -0
- ctpx/jees/__init__.py +4 -0
- ctpx/rohon/__init__.py +4 -0
- ctpx-6.7.2.dist-info/METADATA +169 -0
- ctpx-6.7.2.dist-info/RECORD +24 -0
- ctpx-6.7.2.dist-info/WHEEL +5 -0
- ctpx-6.7.2.dist-info/top_level.txt +1 -0
- pyctp/__init__.py +21 -0
- pyctp/ctp/__init__.py +4 -0
- pyctp/ctp/_thostmduserapi.so +0 -0
- pyctp/ctp/_thosttraderapi.so +0 -0
- pyctp/ctp/libthostmduserapi_se.dylib +0 -0
- pyctp/ctp/libthosttraderapi_se.dylib +0 -0
- pyctp/ctp/thostmduserapi.py +11193 -0
- pyctp/ctp/thosttraderapi.py +11940 -0
- pyctp/jees/__init__.py +4 -0
- pyctp/rohon/__init__.py +4 -0
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
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|