hikyuu-plugin 2.7.0.4__py3-none-manylinux2014_x86_64.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.

Potentially problematic release.


This version of hikyuu-plugin might be problematic. Click here for more details.

@@ -0,0 +1,7 @@
1
+ #!/usr/bin/python
2
+ # -*- coding: utf8 -*-
3
+ #
4
+ # Create on: 2025-10-22
5
+ # Author: fasiondog
6
+
7
+ __version__ = "2.7.0.4"
hikyuu_plugin/extra.py ADDED
@@ -0,0 +1,68 @@
1
+ #!/usr/bin/python
2
+ # -*- coding: utf8 -*-
3
+ #
4
+ # Create on: 20240126
5
+ # Author: fasiondog
6
+
7
+ import sys
8
+
9
+ if sys.version_info[1] == 10:
10
+ from .pycheck310 import *
11
+ elif sys.version_info[1] == 11:
12
+ from .pycheck311 import *
13
+ elif sys.version_info[1] == 12:
14
+ from .pycheck312 import *
15
+ elif sys.version_info[1] == 13:
16
+ from .pycheck313 import *
17
+ elif sys.version_info[1] == 14:
18
+ from .pycheck314 import *
19
+ else:
20
+ from .pycheck import *
21
+
22
+ can_use_pyarrow = support_arrow()
23
+
24
+ if can_use_pyarrow:
25
+ try:
26
+ import pyarrow as pa
27
+ except Exception as e:
28
+ print("依赖 pyarrow >= 19.0 库, 请检查pyarrow安装")
29
+ raise e
30
+
31
+ try:
32
+ import hikyuu as _hku
33
+ except Exception as e:
34
+ print("依赖 hikyuu 库, 请检查hikyuu安装")
35
+ raise e
36
+
37
+ try:
38
+ if sys.version_info[1] == 10:
39
+ from .pyextra310 import *
40
+ elif sys.version_info[1] == 11:
41
+ from .pyextra311 import *
42
+ elif sys.version_info[1] == 12:
43
+ from .pyextra312 import *
44
+ elif sys.version_info[1] == 13:
45
+ from .pyextra313 import *
46
+ elif sys.version_info[1] == 14:
47
+ from .pyextra314 import *
48
+ else:
49
+ from .pyextra import *
50
+ except Exception as e:
51
+ print("缺失pyextra模块, 仅支持Python3.10以上版本")
52
+ raise e
53
+
54
+ _hku.KData.to_pyarrow = lambda data: kdata_to_pa(data)
55
+ _hku.Indicator.to_pyarrow = lambda data: indicator_to_pa(data)
56
+ _hku.Indicator.value_to_pyarrow = lambda data: indicator_value_to_pa(data)
57
+ _hku.DatetimeList.to_pyarrow = lambda data: dates_to_pa(data)
58
+ _hku.TimeLineList.to_pyarrow = lambda data: timeline_to_pa(data)
59
+ _hku.TransList.to_pyarrow = lambda data: translist_to_pa(data)
60
+ _hku.StockWeightList.to_pyarrow = lambda data: weights_to_pa(data)
61
+ _hku.KRecordList.to_pyarrow = lambda data: krecords_to_pa(data)
62
+ _hku.TradeRecordList.to_pyarrow = lambda self: trades_to_pa(self)
63
+ _hku.PositionRecordList.to_pyarrow = lambda self: positions_to_pa(self)
64
+
65
+ del _hku
66
+
67
+ else:
68
+ print("当前Python版本不支持pyarrow, 无法使用扩展功能")
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,63 @@
1
+ Metadata-Version: 2.2
2
+ Name: hikyuu-plugin
3
+ Version: 2.7.0.4
4
+ Summary: Hikyuu Plugin Package
5
+ Home-page: https://github.com/fasiondog/hikyuu
6
+ Author: fasiondog
7
+ Author-email: fasiondog@gmail.com
8
+ License: LGPL-3.0-or-later
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: MacOS
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Requires-Python: >=3.8
20
+ Description-Content-Type: text/markdown
21
+ Dynamic: author
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: home-page
27
+ Dynamic: license
28
+ Dynamic: requires-python
29
+ Dynamic: summary
30
+
31
+ # Hikyuu Plugin Package
32
+
33
+ 这是一个为 Hikyuu 量化框架提供的插件包,包含了各种功能插件的动态库文件。
34
+
35
+ ## 插件列表
36
+
37
+ - backtest: 回测插件
38
+ - clickhouse: ClickHouse 数据库驱动
39
+ - dataserver: 数据服务插件
40
+ - device: 设备认证插件
41
+ - extind: 扩展指标插件
42
+ - hkuextra: HKU 扩展功能
43
+ - hkuviews: HKU 视图插件
44
+ - import2hdf5: 导入数据到 HDF5 格式
45
+ - tmreport: 交易管理报告插件
46
+
47
+ ## 安装
48
+
49
+ ```
50
+ pip install hikyuu-plugin
51
+ ```
52
+
53
+ 安装时,pip 会根据你的系统平台和 CPU 架构自动选择对应的预编译版本(wheel 包)。
54
+
55
+ ## 使用说明
56
+
57
+ 安装后,这些插件将自动被 Hikyuu 框架加载和使用。
58
+
59
+ ## 许可证
60
+
61
+ GNU Lesser General Public License v3.0 (LGPL-3.0)
62
+
63
+ LGPL许可证允许您在专有软件中链接使用该库,但如果您修改了库本身的源代码,则必须将这些修改开源。
@@ -0,0 +1,32 @@
1
+ hikyuu_plugin/__init__.py,sha256=Y8MgFEQS_wpPec9ubrKMWMnNdmJ__Iue_-dhZcTPjDQ,115
2
+ hikyuu_plugin/extra.py,sha256=aD-ZDNxzj9G8xnSrT_WGG7LVK57gUB7srSIMtOtMhL8,2136
3
+ hikyuu_plugin/libbacktest.so,sha256=dOWCr6iz9jAbdgCOuXR6n_ZMxAZSMjHrV0q8NJx-Q4E,919424
4
+ hikyuu_plugin/libboost_charconv-mt.so,sha256=y7ZW0NZpHCkRP3DAEOayEIeRLZQlsqnhMar119IJft8,185808
5
+ hikyuu_plugin/libboost_chrono-mt.so,sha256=eQXUwLF7BiUqBPoiZic9DrXrhLLJoHZFIZOxFShbmTc,49184
6
+ hikyuu_plugin/libboost_date_time-mt.so,sha256=Pyhu8GeaLX0zqAzVYXBpHn9qe-d0ou3F7qihtV4gT3A,15168
7
+ hikyuu_plugin/libboost_serialization-mt.so,sha256=u27iDj9IDrGh9j5FlU2Rv_qRK7BJ0GMRNrQg6HsVESs,494864
8
+ hikyuu_plugin/libboost_system-mt.so,sha256=ZO5ZjPunf0u093EU8c4pvDV_TUzi15ODR75ASJWCgz0,15152
9
+ hikyuu_plugin/libboost_thread-mt.so,sha256=eKtYVhJcewa99WTxiLGic6WBS1R8walVOnfcne1qwdY,160416
10
+ hikyuu_plugin/libboost_wserialization-mt.so,sha256=a8an1nOn1qgt9O-DTYFf-MdtkRCw0JtMrjjq0mNK0Pk,350408
11
+ hikyuu_plugin/libclickhousedriver.so,sha256=Gbxuigg1k7_QYiBrCPKWiNUEoJCwkvLlAmqzKrlwNFo,2173056
12
+ hikyuu_plugin/libdataserver.so,sha256=1ZSqjk2On3c1DsFRPSvWEfUDN1S885S51c_YJHdIk_U,2190848
13
+ hikyuu_plugin/libdataserver_parquet.so,sha256=u-SyliVf3HLmU_5gKW3b0phO-t5wnW1cn-s9QI-g53c,14721824
14
+ hikyuu_plugin/libdevice.so,sha256=aUeXqBGVJWnh-LUlInSjz8N1Ap9cBYN_SRG4fQrGdro,861816
15
+ hikyuu_plugin/libextind.so,sha256=16hu-RGP16UPq4G9hJBqxWRWYVoouZ6BmbYGVVmZDTw,2257984
16
+ hikyuu_plugin/libhkuextra.so,sha256=UsARBxCeEpe68had6FF7QHfA8Z0U_rZT1AKNxSg33dw,952352
17
+ hikyuu_plugin/libimport2hdf5.so,sha256=9oq6qLDDGf4VbDa3Cq-ZLDfXn_sRnW_9wvBswUqMNQI,965056
18
+ hikyuu_plugin/libtmreport.so,sha256=EPkn92rPYKATSX-hbLkVyiKWJOjwzxXdHUC14u4oMyw,866240
19
+ hikyuu_plugin/pycheck.so,sha256=xvcKAM1XRo0FMyBgNSIwGZnj9a_HICYzWrMyo0Wt3WM,180352
20
+ hikyuu_plugin/pycheck310.so,sha256=xvcKAM1XRo0FMyBgNSIwGZnj9a_HICYzWrMyo0Wt3WM,180352
21
+ hikyuu_plugin/pycheck311.so,sha256=dbrR_vIH5AdfIZsYMQyOOdRBRPF2Bl7MP-m89YVVDYk,184448
22
+ hikyuu_plugin/pycheck312.so,sha256=le6-ovSOHSp7mYVS43V96nLfjC5dbtpXe6GtXaIWGBo,184528
23
+ hikyuu_plugin/pycheck313.so,sha256=L7dY1CeZXBkb6O3Pva2f2Mw9qoLCeq18mfShasP9Ybk,184560
24
+ hikyuu_plugin/pyextra.so,sha256=5z-0eiLoQyJOwWadYsFl1t5c2rMZq7jVZoNTirkV24Y,12273120
25
+ hikyuu_plugin/pyextra310.so,sha256=5z-0eiLoQyJOwWadYsFl1t5c2rMZq7jVZoNTirkV24Y,12273120
26
+ hikyuu_plugin/pyextra311.so,sha256=0opp8VPC154qipLSqeG3yeRDaxiUMobwc5v2AV2VipI,12273120
27
+ hikyuu_plugin/pyextra312.so,sha256=y_j0yFf5xg2iG3AmvQTDTIji1RuGPeTZ08wZIDakyqI,12273184
28
+ hikyuu_plugin/pyextra313.so,sha256=Yqfh56YNaUSF7OlLIXsfLvCwdi8K5cTm1vI4jUG3ei4,12273248
29
+ hikyuu_plugin-2.7.0.4.dist-info/METADATA,sha256=cWnnyV2mcoPmFUmuzkp62FvVl-ujepVRFovPCKH8YNI,1842
30
+ hikyuu_plugin-2.7.0.4.dist-info/WHEEL,sha256=q0csfyxC0CgL_VbODy1dAROUKOBO6j0wA7STVVTEknI,108
31
+ hikyuu_plugin-2.7.0.4.dist-info/top_level.txt,sha256=yetO4wtaqwQm0c36FOqAeJB6wwRO8vzwjsMiZ4m8hwg,14
32
+ hikyuu_plugin-2.7.0.4.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.8.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-manylinux2014_x86_64
5
+
@@ -0,0 +1 @@
1
+ hikyuu_plugin