hikyuu 2.6.6__py3-none-win_amd64.whl → 2.6.8__py3-none-win_amd64.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.
- hikyuu/__init__.py +16 -2
- hikyuu/__init__.pyi +658 -627
- hikyuu/analysis/__init__.pyi +563 -519
- hikyuu/analysis/analysis.pyi +583 -541
- hikyuu/core.pyi +565 -521
- hikyuu/cpp/__init__.pyi +2 -2
- hikyuu/cpp/concrt140.dll +0 -0
- hikyuu/cpp/core310.pyd +0 -0
- hikyuu/cpp/core310.pyi +1424 -865
- hikyuu/cpp/core311.pyd +0 -0
- hikyuu/cpp/core311.pyi +1424 -865
- hikyuu/cpp/core312.pyd +0 -0
- hikyuu/cpp/core312.pyi +1424 -865
- hikyuu/cpp/core313.pyd +0 -0
- hikyuu/cpp/core313.pyi +1424 -863
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/core39.pyi +1424 -865
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/hikyuu.lib +0 -0
- hikyuu/cpp/hku_hdf5.dll +0 -0
- hikyuu/cpp/hku_hdf5_cpp.dll +0 -0
- hikyuu/cpp/hku_hdf5_hl.dll +0 -0
- hikyuu/cpp/hku_hdf5_hl_cpp.dll +0 -0
- hikyuu/cpp/i18n/zh_CN/__init__.py +0 -0
- hikyuu/cpp/i18n/zh_CN/hikyuu.mo +0 -0
- hikyuu/cpp/msvcp140.dll +0 -0
- hikyuu/cpp/msvcp140_1.dll +0 -0
- hikyuu/cpp/msvcp140_2.dll +0 -0
- hikyuu/cpp/msvcp140_atomic_wait.dll +0 -0
- hikyuu/cpp/msvcp140_codecvt_ids.dll +0 -0
- hikyuu/cpp/sqlite3.dll +0 -0
- hikyuu/cpp/vcruntime140.dll +0 -0
- hikyuu/cpp/vcruntime140_1.dll +0 -0
- hikyuu/data/common_clickhouse.py +0 -47
- hikyuu/data/tdx_to_h5.py +1 -1
- hikyuu/draw/drawplot/__init__.pyi +32 -37
- hikyuu/draw/drawplot/bokeh_draw.pyi +651 -632
- hikyuu/draw/drawplot/common.pyi +3 -4
- hikyuu/draw/drawplot/echarts_draw.py +9 -8
- hikyuu/draw/drawplot/echarts_draw.pyi +598 -567
- hikyuu/draw/drawplot/matplotlib_draw.py +3 -3
- hikyuu/draw/drawplot/matplotlib_draw.pyi +872 -874
- hikyuu/draw/elder.pyi +19 -20
- hikyuu/draw/kaufman.py +1 -1
- hikyuu/draw/kaufman.pyi +18 -18
- hikyuu/draw/volume.pyi +10 -10
- hikyuu/examples/notebook/000-Index.ipynb +1 -1
- hikyuu/examples/notebook/001-overview.ipynb +78 -63
- hikyuu/examples/notebook/002-HowToGetStock.ipynb +259 -40
- hikyuu/examples/notebook/003-HowToGetKDataAndDraw.ipynb +49 -41
- hikyuu/examples/notebook/004-IndicatorOverview.ipynb +29 -29
- hikyuu/examples/notebook/005-Drawplot.ipynb +66 -37
- hikyuu/examples/notebook/006-TradeManager.ipynb +808 -61
- hikyuu/examples/notebook/007-SystemDetails.ipynb +23 -23
- hikyuu/examples/notebook/009-RealData.ipynb +3 -3
- hikyuu/examples/notebook/010-Portfolio.ipynb +761 -122
- hikyuu/extend.py +32 -98
- hikyuu/extend.pyi +597 -593
- hikyuu/gui/HikyuuTDX.py +2 -4
- hikyuu/gui/data/MainWindow.py +185 -174
- hikyuu/hub.pyi +69 -67
- hikyuu/include/hikyuu/DataType.h +3 -12
- hikyuu/include/hikyuu/KData.h +83 -25
- hikyuu/include/hikyuu/KDataImp.h +31 -46
- hikyuu/include/hikyuu/KDataPrivatedBufferImp.h +73 -0
- hikyuu/include/hikyuu/KDataSharedBufferImp.h +69 -0
- hikyuu/include/hikyuu/KQuery.h +38 -32
- hikyuu/include/hikyuu/KRecord.h +4 -1
- hikyuu/include/hikyuu/MarketInfo.h +1 -1
- hikyuu/include/hikyuu/Stock.h +24 -6
- hikyuu/include/hikyuu/StockManager.h +15 -6
- hikyuu/include/hikyuu/StockTypeInfo.h +6 -0
- hikyuu/include/hikyuu/TransRecord.h +2 -8
- hikyuu/include/hikyuu/data_driver/KDataDriver.h +5 -0
- hikyuu/include/hikyuu/doc.h +4 -0
- hikyuu/include/hikyuu/global/GlobalSpotAgent.h +8 -0
- hikyuu/include/hikyuu/global/agent/SpotAgent.h +12 -7
- hikyuu/include/hikyuu/indicator/Indicator.h +48 -0
- hikyuu/include/hikyuu/indicator/Indicator2InImp.h +9 -0
- hikyuu/include/hikyuu/indicator/IndicatorImp.h +83 -15
- hikyuu/include/hikyuu/indicator/build_in.h +1 -0
- hikyuu/include/hikyuu/indicator/crt/AMA.h +2 -1
- hikyuu/include/hikyuu/indicator/crt/ATR.h +1 -1
- hikyuu/include/hikyuu/indicator/crt/CONTEXT.h +2 -0
- hikyuu/include/hikyuu/indicator/crt/CYCLE.h +3 -0
- hikyuu/include/hikyuu/indicator/crt/DMA.h +1 -1
- hikyuu/include/hikyuu/indicator/crt/IC.h +14 -6
- hikyuu/include/hikyuu/indicator/crt/ICIR.h +8 -4
- hikyuu/include/hikyuu/indicator/crt/INSUM.h +2 -0
- hikyuu/include/hikyuu/indicator/crt/PRICELIST.h +2 -0
- hikyuu/include/hikyuu/indicator/crt/REFX.h +25 -0
- hikyuu/include/hikyuu/indicator/crt/SLICE.h +4 -4
- hikyuu/include/hikyuu/indicator/crt/SPEARMAN.h +3 -2
- hikyuu/include/hikyuu/indicator/imp/IContext.h +5 -0
- hikyuu/include/hikyuu/indicator/imp/ICval.h +6 -0
- hikyuu/include/hikyuu/indicator/imp/IDropna.h +9 -0
- hikyuu/include/hikyuu/indicator/imp/IIc.h +2 -1
- hikyuu/include/hikyuu/indicator/imp/IPriceList.h +1 -0
- hikyuu/include/hikyuu/indicator/imp/IRefX.h +23 -0
- hikyuu/include/hikyuu/lang.h +27 -0
- hikyuu/include/hikyuu/plugin/KDataToHdf5Importer.h +6 -1
- hikyuu/include/hikyuu/plugin/backtest.h +2 -0
- hikyuu/include/hikyuu/plugin/extind.h +45 -0
- hikyuu/include/hikyuu/plugin/hkuextra.h +77 -0
- hikyuu/include/hikyuu/plugin/interface/HkuExtraPluginInterface.h +54 -0
- hikyuu/include/hikyuu/plugin/interface/ImportKDataToHdf5PluginInterface.h +10 -1
- hikyuu/include/hikyuu/plugin/interface/TMReportPluginInterface.h +1 -0
- hikyuu/include/hikyuu/plugin/interface/plugins.h +2 -0
- hikyuu/include/hikyuu/python/pybind_utils.h +28 -11
- hikyuu/include/hikyuu/trade_manage/Performance.h +0 -1
- hikyuu/include/hikyuu/trade_manage/TradeCostBase.h +5 -0
- hikyuu/include/hikyuu/trade_manage/TradeManager.h +4 -0
- hikyuu/include/hikyuu/trade_manage/TradeManagerBase.h +10 -1
- hikyuu/include/hikyuu/trade_manage/TradeRecord.h +1 -1
- hikyuu/include/hikyuu/trade_sys/allocatefunds/AllocateFundsBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/condition/ConditionBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/environment/EnvironmentBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/moneymanager/MoneyManagerBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/multifactor/MultiFactorBase.h +6 -3
- hikyuu/include/hikyuu/trade_sys/portfolio/Portfolio.h +4 -0
- hikyuu/include/hikyuu/trade_sys/profitgoal/ProfitGoalBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/selector/SelectorBase.h +5 -2
- hikyuu/include/hikyuu/trade_sys/signal/SignalBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/slippage/SlippageBase.h +5 -0
- hikyuu/include/hikyuu/trade_sys/stoploss/StoplossBase.h +6 -1
- hikyuu/include/hikyuu/trade_sys/system/System.h +5 -0
- hikyuu/include/hikyuu/utilities/config.h +0 -2
- hikyuu/include/hikyuu/utilities/datetime/Datetime.h +2 -2
- hikyuu/include/hikyuu/utilities/os.h +7 -0
- hikyuu/include/hikyuu/utilities/plugin/PluginLoader.h +2 -1
- hikyuu/include/hikyuu/utilities/thread/GlobalMQStealThreadPool.h +1 -1
- hikyuu/include/hikyuu/utilities/thread/GlobalMQThreadPool.h +1 -1
- hikyuu/include/hikyuu/utilities/thread/GlobalThreadPool.h +1 -1
- hikyuu/include/hikyuu/utilities/thread/MQThreadPool.h +1 -1
- hikyuu/include/hikyuu/version.h +4 -4
- hikyuu/include/hikyuu/views/arrow_common.h +38 -0
- hikyuu/include/hikyuu/views/arrow_views.h +117 -0
- hikyuu/indicator/__init__.py +0 -1
- hikyuu/indicator/indicator.py +17 -57
- hikyuu/plugin/backtest.dll +0 -0
- hikyuu/plugin/clickhousedriver.dll +0 -0
- hikyuu/plugin/dataserver.dll +0 -0
- hikyuu/plugin/device.dll +0 -0
- hikyuu/plugin/extind.dll +0 -0
- hikyuu/plugin/hkuextra.dll +0 -0
- hikyuu/plugin/import2hdf5.dll +0 -0
- hikyuu/plugin/tmreport.dll +0 -0
- hikyuu/strategy/strategy_demo1.py +1 -1
- hikyuu/test/test_init.py +73 -14
- hikyuu/test/test_real_tdx_import.py +336 -0
- hikyuu/test/test_tdx_import.py +315 -0
- hikyuu/test/test_tdx_real_data_import.py +281 -0
- hikyuu/trade_manage/__init__.pyi +583 -553
- hikyuu/trade_manage/broker.pyi +19 -18
- hikyuu/trade_manage/broker_easytrader.pyi +6 -4
- hikyuu/trade_manage/broker_mail.pyi +22 -24
- hikyuu/trade_manage/trade.py +10 -65
- hikyuu/trade_manage/trade.pyi +583 -565
- hikyuu/trade_sys/__init__.py +15 -0
- hikyuu/util/__init__.pyi +0 -1
- hikyuu/util/check.pyi +17 -15
- hikyuu/util/mylog.pyi +8 -7
- hikyuu/util/notebook.pyi +9 -11
- hikyuu/util/singleton.pyi +8 -6
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/METADATA +8 -4
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/RECORD +172 -160
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/top_level.txt +2 -1
- hikyuu/cpp/i18n/zh_CN.mo +0 -0
- hikyuu/include/hikyuu/utilities/mo/mo.h +0 -64
- hikyuu/indicator/talib_wrap.py +0 -1273
- /hikyuu/include/hikyuu/utilities/{mo/moFileReader.h → moFileReader.h} +0 -0
- /hikyuu/include/hikyuu/{utilities/mo → views}/__init__.py +0 -0
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/LICENSE +0 -0
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/WHEEL +0 -0
- {hikyuu-2.6.6.dist-info → hikyuu-2.6.8.dist-info}/entry_points.txt +0 -0
hikyuu/trade_sys/__init__.py
CHANGED
|
@@ -24,4 +24,19 @@
|
|
|
24
24
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
25
|
# SOFTWARE.
|
|
26
26
|
|
|
27
|
+
import pandas as pd
|
|
27
28
|
from .trade_sys import *
|
|
29
|
+
from hikyuu.core import (ScoreRecordList, scorerecords_to_np, scorerecords_to_df,
|
|
30
|
+
SystemWeightList, systemweights_to_np, systemweights_to_df)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
ScoreRecordList.to_np = lambda self: scorerecords_to_np(self)
|
|
34
|
+
ScoreRecordList.to_df = lambda self: scorerecords_to_df(self)
|
|
35
|
+
ScoreRecordList.to_numpy = ScoreRecordList.to_np
|
|
36
|
+
ScoreRecordList.to_pandas = ScoreRecordList.to_df
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
SystemWeightList.to_np = lambda self: systemweights_to_np(self)
|
|
40
|
+
SystemWeightList.to_df = lambda self: systemweights_to_df(self)
|
|
41
|
+
SystemWeightList.to_numpy = SystemWeightList.to_np
|
|
42
|
+
SystemWeightList.to_pandas = SystemWeightList.to_df
|
hikyuu/util/__init__.pyi
CHANGED
|
@@ -49,7 +49,6 @@ from . import check
|
|
|
49
49
|
from . import mylog
|
|
50
50
|
from . import notebook
|
|
51
51
|
from . import singleton
|
|
52
|
-
from . import slice
|
|
53
52
|
__all__: list = ['spend_time', 'hku_benchmark', 'timeout', 'hku_logger', 'class_logger', 'add_class_logger_handler', 'HKUCheckError', 'hku_check', 'hku_check_throw', 'hku_check_ignore', 'hku_catch', 'hku_to_async', 'hku_run_ignore_exception', 'hku_trace', 'hku_debug', 'hku_info', 'hku_warn', 'hku_error', 'hku_fatal', 'hku_trace_if', 'hku_debug_if', 'hku_info_if', 'hku_warn_if', 'hku_info_if', 'hku_warn_if', 'hku_error_if', 'hku_fatal_if', 'with_trace', 'set_my_logger_file', 'capture_multiprocess_all_logger', 'LoggingContext', 'in_interactive_session', 'in_ipython_frontend']
|
|
54
53
|
FORMAT: str = '%(asctime)-15s [%(levelname)s] %(message)s [%(name)s::%(funcName)s]'
|
|
55
54
|
g_hku_logger_lock: multiprocessing.synchronize.Lock # value = <Lock(owner=None)>
|
hikyuu/util/check.pyi
CHANGED
|
@@ -5,13 +5,18 @@ import logging
|
|
|
5
5
|
import multiprocessing.synchronize
|
|
6
6
|
import sys as sys
|
|
7
7
|
import traceback as traceback
|
|
8
|
+
import typing
|
|
8
9
|
__all__ = ['HKUCheckError', 'HKUIngoreError', 'asyncio', 'checkif', 'functools', 'g_hku_logger_lock', 'get_exception_info', 'hku_catch', 'hku_check', 'hku_check_ignore', 'hku_check_throw', 'hku_logger', 'hku_run_ignore_exception', 'hku_to_async', 'sys', 'traceback']
|
|
9
10
|
class HKUCheckError(Exception):
|
|
11
|
+
__firstlineno__: typing.ClassVar[int] = 17
|
|
12
|
+
__static_attributes__: typing.ClassVar[tuple] = ('expression', 'message')
|
|
10
13
|
def __init__(self, expression, message):
|
|
11
14
|
...
|
|
12
15
|
def __str__(self):
|
|
13
16
|
...
|
|
14
17
|
class HKUIngoreError(Exception):
|
|
18
|
+
__firstlineno__: typing.ClassVar[int] = 26
|
|
19
|
+
__static_attributes__: typing.ClassVar[tuple] = ('expression', 'message')
|
|
15
20
|
def __init__(self, expression, message = None):
|
|
16
21
|
...
|
|
17
22
|
def __str__(self):
|
|
@@ -20,23 +25,21 @@ def checkif(expression, message, excepion = None, **kwargs):
|
|
|
20
25
|
"""
|
|
21
26
|
如果 expression 为 True,则抛出异常。注意:该函数的判定和 assert 是相反的。
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
:param boolean expression: 判断条件
|
|
29
|
+
:param str message: 异常注解信息
|
|
30
|
+
:param Exception exception: 指定的异常类,为None时,为默认 HKUCheckError 异常
|
|
27
31
|
"""
|
|
28
32
|
def get_exception_info():
|
|
29
33
|
...
|
|
30
34
|
def hku_catch(ret = None, trace = False, callback = None, retry = 1, with_msg = False, re_raise = False):
|
|
31
35
|
"""
|
|
32
36
|
捕获发生的异常, 包装方式: @hku_catch()
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
:param ret: 异常发生时返回值, with_msg为True时, 返回为 (ret, errmsg)
|
|
38
|
+
:param boolean trace: 打印异常堆栈信息
|
|
39
|
+
:param func callback: 发生异常后的回调函数, 入参同func
|
|
40
|
+
:param int retry: 尝试执行的次数
|
|
41
|
+
:param boolean with_msg: 是否返回异常错误信息, 为True时, 函数返回为 (ret, errmsg)
|
|
42
|
+
:param boolean re_raise: 是否将错误信息以异常的方式重新抛出
|
|
40
43
|
"""
|
|
41
44
|
def hku_check(exp, msg, *args, **kwargs):
|
|
42
45
|
...
|
|
@@ -48,10 +51,9 @@ def hku_check_throw(expression, message, excepion = None, **kwargs):
|
|
|
48
51
|
"""
|
|
49
52
|
如果 expression 为 False,则抛出异常。
|
|
50
53
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
:param boolean expression: 判断条件
|
|
55
|
+
:param str message: 异常注解信息
|
|
56
|
+
:param Exception exception: 指定的异常类,为None时,为默认 HKUCheckError 异常
|
|
55
57
|
"""
|
|
56
58
|
def hku_run_ignore_exception(func, *args, **kwargs):
|
|
57
59
|
"""
|
hikyuu/util/mylog.pyi
CHANGED
|
@@ -5,8 +5,11 @@ import multiprocessing as multiprocessing
|
|
|
5
5
|
import os as os
|
|
6
6
|
import time as time
|
|
7
7
|
import traceback as traceback
|
|
8
|
+
import typing
|
|
8
9
|
__all__ = ['FORMAT', 'LoggingContext', 'add_class_logger_handler', 'capture_multiprocess_all_logger', 'class_logger', 'functools', 'g_hku_logger_lock', 'get_default_logger', 'hku_benchmark', 'hku_debug', 'hku_debug_if', 'hku_error', 'hku_error_if', 'hku_fatal', 'hku_fatal_if', 'hku_info', 'hku_info_if', 'hku_logger', 'hku_logger_name', 'hku_trace', 'hku_trace_if', 'hku_warn', 'hku_warn_if', 'logging', 'multiprocessing', 'os', 'set_my_logger_file', 'spend_time', 'time', 'traceback', 'with_trace']
|
|
9
10
|
class LoggingContext:
|
|
11
|
+
__firstlineno__: typing.ClassVar[int] = 271
|
|
12
|
+
__static_attributes__: typing.ClassVar[tuple] = ('close', 'handler', 'level', 'logger', 'old_level')
|
|
10
13
|
def __enter__(self):
|
|
11
14
|
...
|
|
12
15
|
def __exit__(self, et, ev, tb):
|
|
@@ -17,18 +20,16 @@ def add_class_logger_handler(class_list, level = 20, handler = None):
|
|
|
17
20
|
"""
|
|
18
21
|
为指定的类增加日志 handler,并设定级别
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
:param class_list: 类列表
|
|
24
|
+
:param level: 日志级别
|
|
25
|
+
:param handler: logging handler
|
|
24
26
|
"""
|
|
25
27
|
def capture_multiprocess_all_logger(queue, level = None):
|
|
26
28
|
"""
|
|
27
29
|
重设所有子进程中的 logger 输出指定的 queue,并重设level
|
|
28
30
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
@param multiprocessing.Queue queue 指定的 mp Queue
|
|
32
|
+
@param level 日志输出等级, None为保持原有等级
|
|
32
33
|
"""
|
|
33
34
|
def class_logger(cls, enable = False):
|
|
34
35
|
...
|
hikyuu/util/notebook.pyi
CHANGED
|
@@ -3,21 +3,19 @@ __all__ = ['in_interactive_session', 'in_ipython_frontend']
|
|
|
3
3
|
def in_interactive_session() -> bool:
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Check if we're running in an interactive shell.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
Returns
|
|
9
|
+
-------
|
|
10
|
+
bool
|
|
11
|
+
True if running under python/ipython interactive shell.
|
|
13
12
|
"""
|
|
14
13
|
def in_ipython_frontend() -> bool:
|
|
15
14
|
"""
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
Check if we're inside an IPython zmq frontend. 检测是否在 jupyter 环境中
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
Returns
|
|
19
|
+
-------
|
|
20
|
+
bool
|
|
23
21
|
"""
|
hikyuu/util/singleton.pyi
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
+
import _thread
|
|
2
3
|
import threading as threading
|
|
3
4
|
import typing
|
|
4
5
|
__all__ = ['SingletonType', 'threading']
|
|
@@ -6,13 +7,14 @@ class SingletonType(type):
|
|
|
6
7
|
"""
|
|
7
8
|
基于 metalclass 实现单例
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
示例:
|
|
11
|
+
class MyClass(metaclass=SingletonType):
|
|
12
|
+
def __init__(self,name):
|
|
13
|
+
self.name = name
|
|
14
14
|
"""
|
|
15
|
-
|
|
15
|
+
__firstlineno__: typing.ClassVar[int] = 13
|
|
16
|
+
__static_attributes__: typing.ClassVar[tuple] = tuple()
|
|
17
|
+
_instance_lock: typing.ClassVar[_thread.lock] # value = <unlocked _thread.lock object at 0x0000020A83F47880>
|
|
16
18
|
@classmethod
|
|
17
19
|
def __call__(cls, *args, **kwargs):
|
|
18
20
|
...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hikyuu
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.8
|
|
4
4
|
Summary: Hikyuu Quant Framework for System Trading Analysis and backtester
|
|
5
5
|
Home-page: http://hikyuu.org/
|
|
6
6
|
Author: fasiondog
|
|
@@ -19,7 +19,6 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
19
19
|
Classifier: Operating System :: POSIX :: Linux
|
|
20
20
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
21
21
|
Classifier: Programming Language :: Python :: 3
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -50,6 +49,7 @@ Requires-Dist: pipdeptree
|
|
|
50
49
|
Requires-Dist: h5py
|
|
51
50
|
Requires-Dist: tdqm
|
|
52
51
|
Requires-Dist: clickhouse-connect
|
|
52
|
+
Requires-Dist: pyarrow
|
|
53
53
|
|
|
54
54
|

|
|
55
55
|
|
|
@@ -130,13 +130,13 @@ Hikyuu Quant Framework是一款基于C++/Python的开源量化交易研究框架
|
|
|
130
130
|
|
|
131
131
|

|
|
132
132
|
|
|
133
|
-
## QQ交流群:114910869,
|
|
133
|
+
## QQ交流群:114910869, 或扫码加入(微信为主)
|
|
134
134
|
|
|
135
135
|

|
|
136
136
|
|
|
137
137
|
## 项目依赖说明
|
|
138
138
|
|
|
139
|
-
Hikyuu
|
|
139
|
+
Hikyuu C++部分直接依赖以下开源项目(由以下项目间接依赖的项目及 python 项目未列出, python依赖项目请参考 requirements.txt),感谢所有开源作者的贡献:
|
|
140
140
|
|
|
141
141
|
| 名称 | 项目地址 | License |
|
|
142
142
|
| ------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
|
|
@@ -155,3 +155,7 @@ Hikyuu直接依赖以下开源项目(由以下项目间接依赖的项目未
|
|
|
155
155
|
| gzip-hpp | [https://github.com/mapbox/gzip-hpp](https://github.com/mapbox/gzip-hpp) | BSD-2-Clause license |
|
|
156
156
|
| doctest | [https://github.com/doctest/doctest](https://github.com/doctest/doctest) | MIT |
|
|
157
157
|
| ta-lib | [https://github.com/TA-Lib/ta-lib.git]() | BSD-3-Clause license |
|
|
158
|
+
| clickhouse | [https://github.com/ClickHouse/ClickHouse]() | Apache 2.0 |
|
|
159
|
+
| xxhash | [https://github.com/Cyan4973/xxHash]() | BSD 2-Clause License |
|
|
160
|
+
| utf8proc | [https://github.com/JuliaStrings/utf8proc]() | MIT |
|
|
161
|
+
| arrow | [https://github.com/apache/arrow]() | Apache 2.0 |
|