hikyuu 2.6.1__py3-none-macosx_11_0_arm64.whl → 2.6.2__py3-none-macosx_11_0_arm64.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__.pyi +8 -8
- hikyuu/core.pyi +1 -1
- hikyuu/cpp/core310.pyi +22 -4
- hikyuu/cpp/core310.so +0 -0
- hikyuu/cpp/core311.pyi +22 -4
- hikyuu/cpp/core311.so +0 -0
- hikyuu/cpp/core312.pyi +22 -4
- hikyuu/cpp/core312.so +0 -0
- hikyuu/cpp/core313.pyi +22 -4
- hikyuu/cpp/core313.so +0 -0
- hikyuu/cpp/libhikyuu.dylib +0 -0
- hikyuu/draw/drawplot/bokeh_draw.pyi +5 -5
- hikyuu/draw/drawplot/echarts_draw.pyi +5 -5
- hikyuu/draw/drawplot/matplotlib_draw.pyi +5 -5
- hikyuu/extend.py +0 -14
- hikyuu/extend.pyi +0 -3
- hikyuu/hub.pyi +6 -6
- hikyuu/include/hikyuu/indicator/crt/CONTEXT.h +6 -2
- hikyuu/include/hikyuu/version.h +4 -4
- hikyuu/trade_manage/__init__.pyi +4 -4
- hikyuu/trade_manage/trade.pyi +4 -4
- hikyuu/util/__init__.pyi +1 -1
- hikyuu/util/singleton.pyi +1 -1
- {hikyuu-2.6.1.dist-info → hikyuu-2.6.2.dist-info}/METADATA +1 -1
- {hikyuu-2.6.1.dist-info → hikyuu-2.6.2.dist-info}/RECORD +29 -29
- {hikyuu-2.6.1.dist-info → hikyuu-2.6.2.dist-info}/LICENSE +0 -0
- {hikyuu-2.6.1.dist-info → hikyuu-2.6.2.dist-info}/WHEEL +0 -0
- {hikyuu-2.6.1.dist-info → hikyuu-2.6.2.dist-info}/entry_points.txt +0 -0
- {hikyuu-2.6.1.dist-info → hikyuu-2.6.2.dist-info}/top_level.txt +0 -0
hikyuu/__init__.pyi
CHANGED
|
@@ -122,8 +122,8 @@ from hikyuu.cpp.core312 import KDataToHdf5Importer
|
|
|
122
122
|
from hikyuu.cpp.core312 import KRecord
|
|
123
123
|
from hikyuu.cpp.core312 import KRecordList
|
|
124
124
|
from hikyuu.cpp.core312 import LAST
|
|
125
|
-
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
126
125
|
from hikyuu.cpp.core312 import LASTVALUE
|
|
126
|
+
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
127
127
|
from hikyuu.cpp.core312 import LIUTONGPAN as CAPITAL
|
|
128
128
|
from hikyuu.cpp.core312 import LIUTONGPAN
|
|
129
129
|
from hikyuu.cpp.core312 import LLV
|
|
@@ -171,16 +171,16 @@ from hikyuu.cpp.core312 import PG_FixedPercent
|
|
|
171
171
|
from hikyuu.cpp.core312 import PG_NoGoal
|
|
172
172
|
from hikyuu.cpp.core312 import POS
|
|
173
173
|
from hikyuu.cpp.core312 import POW
|
|
174
|
-
from hikyuu.cpp.core312 import PRICELIST
|
|
175
174
|
from hikyuu.cpp.core312 import PRICELIST as VALUE
|
|
175
|
+
from hikyuu.cpp.core312 import PRICELIST
|
|
176
176
|
from hikyuu.cpp.core312 import Parameter
|
|
177
177
|
from hikyuu.cpp.core312 import Performance
|
|
178
178
|
from hikyuu.cpp.core312 import Portfolio
|
|
179
179
|
from hikyuu.cpp.core312 import PositionRecord
|
|
180
180
|
from hikyuu.cpp.core312 import PositionRecordList
|
|
181
181
|
from hikyuu.cpp.core312 import ProfitGoalBase
|
|
182
|
-
from hikyuu.cpp.core312 import Query as Q
|
|
183
182
|
from hikyuu.cpp.core312 import Query
|
|
183
|
+
from hikyuu.cpp.core312 import Query as Q
|
|
184
184
|
from hikyuu.cpp.core312 import RECOVER_BACKWARD
|
|
185
185
|
from hikyuu.cpp.core312 import RECOVER_EQUAL_BACKWARD
|
|
186
186
|
from hikyuu.cpp.core312 import RECOVER_EQUAL_FORWARD
|
|
@@ -515,8 +515,8 @@ from hikyuu.draw.drawplot import gcf
|
|
|
515
515
|
from hikyuu.draw.drawplot import get_current_draw_engine
|
|
516
516
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWBAND
|
|
517
517
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWICON
|
|
518
|
-
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG as DRAWBMP
|
|
519
518
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG
|
|
519
|
+
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG as DRAWBMP
|
|
520
520
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWLINE
|
|
521
521
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER
|
|
522
522
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER_FIX
|
|
@@ -562,8 +562,8 @@ from hikyuu.hub import get_part_info
|
|
|
562
562
|
from hikyuu.hub import get_part_list
|
|
563
563
|
from hikyuu.hub import get_part_module
|
|
564
564
|
from hikyuu.hub import get_part_name_list
|
|
565
|
-
from hikyuu.hub import print_part_info as help_part
|
|
566
565
|
from hikyuu.hub import print_part_info
|
|
566
|
+
from hikyuu.hub import print_part_info as help_part
|
|
567
567
|
from hikyuu.hub import remove_hub
|
|
568
568
|
from hikyuu.hub import search_part
|
|
569
569
|
from hikyuu.hub import update_hub
|
|
@@ -757,10 +757,10 @@ from hikyuu.util.mylog import add_class_logger_handler
|
|
|
757
757
|
from hikyuu.util.mylog import capture_multiprocess_all_logger
|
|
758
758
|
from hikyuu.util.mylog import class_logger
|
|
759
759
|
from hikyuu.util.mylog import hku_benchmark
|
|
760
|
-
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
761
760
|
from hikyuu.util.mylog import hku_debug
|
|
762
|
-
from hikyuu.util.mylog import
|
|
761
|
+
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
763
762
|
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
763
|
+
from hikyuu.util.mylog import hku_debug_if
|
|
764
764
|
from hikyuu.util.mylog import hku_error
|
|
765
765
|
from hikyuu.util.mylog import hku_error_if
|
|
766
766
|
from hikyuu.util.mylog import hku_fatal
|
|
@@ -941,7 +941,7 @@ V: cpp.core312.Indicator # value = Indicator{...
|
|
|
941
941
|
VOL: cpp.core312.Indicator # value = Indicator{...
|
|
942
942
|
WARN: cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.WARN: 3>
|
|
943
943
|
__copyright__: str = '\nApache License Version 2.0\n\nCopyright (c) 2010-2017 fasiondog\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n'
|
|
944
|
-
__version__: str = '2.6.
|
|
944
|
+
__version__: str = '2.6.2'
|
|
945
945
|
blocka = None
|
|
946
946
|
blockbj = None
|
|
947
947
|
blockg = None
|
hikyuu/core.pyi
CHANGED
|
@@ -498,5 +498,5 @@ INFO: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.INFO: 2>
|
|
|
498
498
|
OFF: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.OFF: 6>
|
|
499
499
|
TRACE: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.TRACE: 0>
|
|
500
500
|
WARN: hikyuu.cpp.core312.LOG_LEVEL # value = <LOG_LEVEL.WARN: 3>
|
|
501
|
-
__version__: str = '2.6.
|
|
501
|
+
__version__: str = '2.6.2'
|
|
502
502
|
constant: hikyuu.cpp.core312.Constant # value = <hikyuu.cpp.core312.Constant object>
|
hikyuu/cpp/core310.pyi
CHANGED
|
@@ -5637,8 +5637,24 @@ class StrategyContext:
|
|
|
5637
5637
|
@staticmethod
|
|
5638
5638
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
5639
5639
|
...
|
|
5640
|
-
|
|
5640
|
+
@typing.overload
|
|
5641
|
+
def __init__(self) -> None:
|
|
5641
5642
|
...
|
|
5643
|
+
@typing.overload
|
|
5644
|
+
def __init__(self, arg0: list[str]) -> None:
|
|
5645
|
+
...
|
|
5646
|
+
@typing.overload
|
|
5647
|
+
def __init__(self, stock_list: list[str], ktype_list: list[str], preload_num: dict[str, int] = {}) -> None:
|
|
5648
|
+
"""
|
|
5649
|
+
__init__(self, stock_list, ktype_list, [preload_num={}])
|
|
5650
|
+
|
|
5651
|
+
创建策略上下文
|
|
5652
|
+
|
|
5653
|
+
:param stock_list: 需要加载的证券代码列表,如:["sz000001", "sz000002"], 如包含 'ALL', 表示加载全部
|
|
5654
|
+
:param ktype_list: 需要加载的K线类型列表, 如:["day", "min"], 未指定时取全局配置文件中配置的默认值
|
|
5655
|
+
:param preload_num: 预加载数量,默认为空,如:{"min_max": 100, "day_max": 200}. 未指定时取全局配置文件中配置的默认值
|
|
5656
|
+
:return: 策略上下文对象
|
|
5657
|
+
"""
|
|
5642
5658
|
def __repr__(self) -> str:
|
|
5643
5659
|
...
|
|
5644
5660
|
def __str__(self) -> str:
|
|
@@ -7905,10 +7921,10 @@ def CN_OPLine(arg0: Indicator) -> ConditionBase:
|
|
|
7905
7921
|
:rtype: ConditionBase
|
|
7906
7922
|
"""
|
|
7907
7923
|
@typing.overload
|
|
7908
|
-
def CONTEXT(fill_null: bool =
|
|
7924
|
+
def CONTEXT(fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7909
7925
|
...
|
|
7910
7926
|
@typing.overload
|
|
7911
|
-
def CONTEXT(ind: Indicator, fill_null: bool =
|
|
7927
|
+
def CONTEXT(ind: Indicator, fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7912
7928
|
"""
|
|
7913
7929
|
CONTEXT(ind)
|
|
7914
7930
|
|
|
@@ -7917,7 +7933,9 @@ def CONTEXT(ind: Indicator, fill_null: bool = True) -> Indicator:
|
|
|
7917
7933
|
则需使用 ind = CONTEXT(CLOSE(k1)), 此时 ind(k2) 将仍旧使用 k1 的收盘价。
|
|
7918
7934
|
|
|
7919
7935
|
:param Indicator ind: 指标对象
|
|
7920
|
-
:param bool fill_null:
|
|
7936
|
+
:param bool fill_null: 日期对齐时,缺失日期对应填充空值,否则使用前值填充。
|
|
7937
|
+
:param bool use_self_ktype: 公式计算时使用自身独立上下文中的KTYPE
|
|
7938
|
+
:param bool use_self_recover_type: 公式计算时使用自身独立上下文中的RECOVER_TYPE
|
|
7921
7939
|
:rtype: Indicator
|
|
7922
7940
|
"""
|
|
7923
7941
|
def CONTEXT_K(arg0: Indicator) -> KData:
|
hikyuu/cpp/core310.so
CHANGED
|
Binary file
|
hikyuu/cpp/core311.pyi
CHANGED
|
@@ -5637,8 +5637,24 @@ class StrategyContext:
|
|
|
5637
5637
|
@staticmethod
|
|
5638
5638
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
5639
5639
|
...
|
|
5640
|
-
|
|
5640
|
+
@typing.overload
|
|
5641
|
+
def __init__(self) -> None:
|
|
5641
5642
|
...
|
|
5643
|
+
@typing.overload
|
|
5644
|
+
def __init__(self, arg0: list[str]) -> None:
|
|
5645
|
+
...
|
|
5646
|
+
@typing.overload
|
|
5647
|
+
def __init__(self, stock_list: list[str], ktype_list: list[str], preload_num: dict[str, int] = {}) -> None:
|
|
5648
|
+
"""
|
|
5649
|
+
__init__(self, stock_list, ktype_list, [preload_num={}])
|
|
5650
|
+
|
|
5651
|
+
创建策略上下文
|
|
5652
|
+
|
|
5653
|
+
:param stock_list: 需要加载的证券代码列表,如:["sz000001", "sz000002"], 如包含 'ALL', 表示加载全部
|
|
5654
|
+
:param ktype_list: 需要加载的K线类型列表, 如:["day", "min"], 未指定时取全局配置文件中配置的默认值
|
|
5655
|
+
:param preload_num: 预加载数量,默认为空,如:{"min_max": 100, "day_max": 200}. 未指定时取全局配置文件中配置的默认值
|
|
5656
|
+
:return: 策略上下文对象
|
|
5657
|
+
"""
|
|
5642
5658
|
def __repr__(self) -> str:
|
|
5643
5659
|
...
|
|
5644
5660
|
def __str__(self) -> str:
|
|
@@ -7905,10 +7921,10 @@ def CN_OPLine(arg0: Indicator) -> ConditionBase:
|
|
|
7905
7921
|
:rtype: ConditionBase
|
|
7906
7922
|
"""
|
|
7907
7923
|
@typing.overload
|
|
7908
|
-
def CONTEXT(fill_null: bool =
|
|
7924
|
+
def CONTEXT(fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7909
7925
|
...
|
|
7910
7926
|
@typing.overload
|
|
7911
|
-
def CONTEXT(ind: Indicator, fill_null: bool =
|
|
7927
|
+
def CONTEXT(ind: Indicator, fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7912
7928
|
"""
|
|
7913
7929
|
CONTEXT(ind)
|
|
7914
7930
|
|
|
@@ -7917,7 +7933,9 @@ def CONTEXT(ind: Indicator, fill_null: bool = True) -> Indicator:
|
|
|
7917
7933
|
则需使用 ind = CONTEXT(CLOSE(k1)), 此时 ind(k2) 将仍旧使用 k1 的收盘价。
|
|
7918
7934
|
|
|
7919
7935
|
:param Indicator ind: 指标对象
|
|
7920
|
-
:param bool fill_null:
|
|
7936
|
+
:param bool fill_null: 日期对齐时,缺失日期对应填充空值,否则使用前值填充。
|
|
7937
|
+
:param bool use_self_ktype: 公式计算时使用自身独立上下文中的KTYPE
|
|
7938
|
+
:param bool use_self_recover_type: 公式计算时使用自身独立上下文中的RECOVER_TYPE
|
|
7921
7939
|
:rtype: Indicator
|
|
7922
7940
|
"""
|
|
7923
7941
|
def CONTEXT_K(arg0: Indicator) -> KData:
|
hikyuu/cpp/core311.so
CHANGED
|
Binary file
|
hikyuu/cpp/core312.pyi
CHANGED
|
@@ -5637,8 +5637,24 @@ class StrategyContext:
|
|
|
5637
5637
|
@staticmethod
|
|
5638
5638
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
5639
5639
|
...
|
|
5640
|
-
|
|
5640
|
+
@typing.overload
|
|
5641
|
+
def __init__(self) -> None:
|
|
5641
5642
|
...
|
|
5643
|
+
@typing.overload
|
|
5644
|
+
def __init__(self, arg0: list[str]) -> None:
|
|
5645
|
+
...
|
|
5646
|
+
@typing.overload
|
|
5647
|
+
def __init__(self, stock_list: list[str], ktype_list: list[str], preload_num: dict[str, int] = {}) -> None:
|
|
5648
|
+
"""
|
|
5649
|
+
__init__(self, stock_list, ktype_list, [preload_num={}])
|
|
5650
|
+
|
|
5651
|
+
创建策略上下文
|
|
5652
|
+
|
|
5653
|
+
:param stock_list: 需要加载的证券代码列表,如:["sz000001", "sz000002"], 如包含 'ALL', 表示加载全部
|
|
5654
|
+
:param ktype_list: 需要加载的K线类型列表, 如:["day", "min"], 未指定时取全局配置文件中配置的默认值
|
|
5655
|
+
:param preload_num: 预加载数量,默认为空,如:{"min_max": 100, "day_max": 200}. 未指定时取全局配置文件中配置的默认值
|
|
5656
|
+
:return: 策略上下文对象
|
|
5657
|
+
"""
|
|
5642
5658
|
def __repr__(self) -> str:
|
|
5643
5659
|
...
|
|
5644
5660
|
def __str__(self) -> str:
|
|
@@ -7905,10 +7921,10 @@ def CN_OPLine(arg0: Indicator) -> ConditionBase:
|
|
|
7905
7921
|
:rtype: ConditionBase
|
|
7906
7922
|
"""
|
|
7907
7923
|
@typing.overload
|
|
7908
|
-
def CONTEXT(fill_null: bool =
|
|
7924
|
+
def CONTEXT(fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7909
7925
|
...
|
|
7910
7926
|
@typing.overload
|
|
7911
|
-
def CONTEXT(ind: Indicator, fill_null: bool =
|
|
7927
|
+
def CONTEXT(ind: Indicator, fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7912
7928
|
"""
|
|
7913
7929
|
CONTEXT(ind)
|
|
7914
7930
|
|
|
@@ -7917,7 +7933,9 @@ def CONTEXT(ind: Indicator, fill_null: bool = True) -> Indicator:
|
|
|
7917
7933
|
则需使用 ind = CONTEXT(CLOSE(k1)), 此时 ind(k2) 将仍旧使用 k1 的收盘价。
|
|
7918
7934
|
|
|
7919
7935
|
:param Indicator ind: 指标对象
|
|
7920
|
-
:param bool fill_null:
|
|
7936
|
+
:param bool fill_null: 日期对齐时,缺失日期对应填充空值,否则使用前值填充。
|
|
7937
|
+
:param bool use_self_ktype: 公式计算时使用自身独立上下文中的KTYPE
|
|
7938
|
+
:param bool use_self_recover_type: 公式计算时使用自身独立上下文中的RECOVER_TYPE
|
|
7921
7939
|
:rtype: Indicator
|
|
7922
7940
|
"""
|
|
7923
7941
|
def CONTEXT_K(arg0: Indicator) -> KData:
|
hikyuu/cpp/core312.so
CHANGED
|
Binary file
|
hikyuu/cpp/core313.pyi
CHANGED
|
@@ -5620,8 +5620,24 @@ class StrategyContext:
|
|
|
5620
5620
|
@staticmethod
|
|
5621
5621
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
5622
5622
|
...
|
|
5623
|
-
|
|
5623
|
+
@typing.overload
|
|
5624
|
+
def __init__(self) -> None:
|
|
5624
5625
|
...
|
|
5626
|
+
@typing.overload
|
|
5627
|
+
def __init__(self, arg0: list[str]) -> None:
|
|
5628
|
+
...
|
|
5629
|
+
@typing.overload
|
|
5630
|
+
def __init__(self, stock_list: list[str], ktype_list: list[str], preload_num: dict[str, int] = {}) -> None:
|
|
5631
|
+
"""
|
|
5632
|
+
__init__(self, stock_list, ktype_list, [preload_num={}])
|
|
5633
|
+
|
|
5634
|
+
创建策略上下文
|
|
5635
|
+
|
|
5636
|
+
:param stock_list: 需要加载的证券代码列表,如:["sz000001", "sz000002"], 如包含 'ALL', 表示加载全部
|
|
5637
|
+
:param ktype_list: 需要加载的K线类型列表, 如:["day", "min"], 未指定时取全局配置文件中配置的默认值
|
|
5638
|
+
:param preload_num: 预加载数量,默认为空,如:{"min_max": 100, "day_max": 200}. 未指定时取全局配置文件中配置的默认值
|
|
5639
|
+
:return: 策略上下文对象
|
|
5640
|
+
"""
|
|
5625
5641
|
def __repr__(self) -> str:
|
|
5626
5642
|
...
|
|
5627
5643
|
def __str__(self) -> str:
|
|
@@ -7882,10 +7898,10 @@ def CN_OPLine(arg0: Indicator) -> ConditionBase:
|
|
|
7882
7898
|
:rtype: ConditionBase
|
|
7883
7899
|
"""
|
|
7884
7900
|
@typing.overload
|
|
7885
|
-
def CONTEXT(fill_null: bool =
|
|
7901
|
+
def CONTEXT(fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7886
7902
|
...
|
|
7887
7903
|
@typing.overload
|
|
7888
|
-
def CONTEXT(ind: Indicator, fill_null: bool =
|
|
7904
|
+
def CONTEXT(ind: Indicator, fill_null: bool = False, use_self_ktype: bool = False, use_self_recover_type: bool = False) -> Indicator:
|
|
7889
7905
|
"""
|
|
7890
7906
|
CONTEXT(ind)
|
|
7891
7907
|
|
|
@@ -7894,7 +7910,9 @@ def CONTEXT(ind: Indicator, fill_null: bool = True) -> Indicator:
|
|
|
7894
7910
|
则需使用 ind = CONTEXT(CLOSE(k1)), 此时 ind(k2) 将仍旧使用 k1 的收盘价。
|
|
7895
7911
|
|
|
7896
7912
|
:param Indicator ind: 指标对象
|
|
7897
|
-
:param bool fill_null:
|
|
7913
|
+
:param bool fill_null: 日期对齐时,缺失日期对应填充空值,否则使用前值填充。
|
|
7914
|
+
:param bool use_self_ktype: 公式计算时使用自身独立上下文中的KTYPE
|
|
7915
|
+
:param bool use_self_recover_type: 公式计算时使用自身独立上下文中的RECOVER_TYPE
|
|
7898
7916
|
:rtype: Indicator
|
|
7899
7917
|
"""
|
|
7900
7918
|
def CONTEXT_K(arg0: Indicator) -> KData:
|
hikyuu/cpp/core313.so
CHANGED
|
Binary file
|
hikyuu/cpp/libhikyuu.dylib
CHANGED
|
Binary file
|
|
@@ -139,8 +139,8 @@ from hikyuu.cpp.core312 import KDataToHdf5Importer
|
|
|
139
139
|
from hikyuu.cpp.core312 import KRecord
|
|
140
140
|
from hikyuu.cpp.core312 import KRecordList
|
|
141
141
|
from hikyuu.cpp.core312 import LAST
|
|
142
|
-
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
143
142
|
from hikyuu.cpp.core312 import LASTVALUE
|
|
143
|
+
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
144
144
|
from hikyuu.cpp.core312 import LIUTONGPAN as CAPITAL
|
|
145
145
|
from hikyuu.cpp.core312 import LIUTONGPAN
|
|
146
146
|
from hikyuu.cpp.core312 import LLV
|
|
@@ -188,8 +188,8 @@ from hikyuu.cpp.core312 import PG_FixedPercent
|
|
|
188
188
|
from hikyuu.cpp.core312 import PG_NoGoal
|
|
189
189
|
from hikyuu.cpp.core312 import POS
|
|
190
190
|
from hikyuu.cpp.core312 import POW
|
|
191
|
-
from hikyuu.cpp.core312 import PRICELIST
|
|
192
191
|
from hikyuu.cpp.core312 import PRICELIST as VALUE
|
|
192
|
+
from hikyuu.cpp.core312 import PRICELIST
|
|
193
193
|
from hikyuu.cpp.core312 import Parameter
|
|
194
194
|
from hikyuu.cpp.core312 import Performance
|
|
195
195
|
from hikyuu.cpp.core312 import Portfolio
|
|
@@ -552,8 +552,8 @@ from hikyuu.hub import get_part_info
|
|
|
552
552
|
from hikyuu.hub import get_part_list
|
|
553
553
|
from hikyuu.hub import get_part_module
|
|
554
554
|
from hikyuu.hub import get_part_name_list
|
|
555
|
-
from hikyuu.hub import print_part_info as help_part
|
|
556
555
|
from hikyuu.hub import print_part_info
|
|
556
|
+
from hikyuu.hub import print_part_info as help_part
|
|
557
557
|
from hikyuu.hub import remove_hub
|
|
558
558
|
from hikyuu.hub import search_part
|
|
559
559
|
from hikyuu.hub import update_hub
|
|
@@ -749,10 +749,10 @@ from hikyuu.util.mylog import add_class_logger_handler
|
|
|
749
749
|
from hikyuu.util.mylog import capture_multiprocess_all_logger
|
|
750
750
|
from hikyuu.util.mylog import class_logger
|
|
751
751
|
from hikyuu.util.mylog import hku_benchmark
|
|
752
|
-
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
753
752
|
from hikyuu.util.mylog import hku_debug
|
|
754
|
-
from hikyuu.util.mylog import
|
|
753
|
+
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
755
754
|
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
755
|
+
from hikyuu.util.mylog import hku_debug_if
|
|
756
756
|
from hikyuu.util.mylog import hku_error
|
|
757
757
|
from hikyuu.util.mylog import hku_error_if
|
|
758
758
|
from hikyuu.util.mylog import hku_fatal
|
|
@@ -126,8 +126,8 @@ from hikyuu.cpp.core312 import KDataToHdf5Importer
|
|
|
126
126
|
from hikyuu.cpp.core312 import KRecord
|
|
127
127
|
from hikyuu.cpp.core312 import KRecordList
|
|
128
128
|
from hikyuu.cpp.core312 import LAST
|
|
129
|
-
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
130
129
|
from hikyuu.cpp.core312 import LASTVALUE
|
|
130
|
+
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
131
131
|
from hikyuu.cpp.core312 import LIUTONGPAN as CAPITAL
|
|
132
132
|
from hikyuu.cpp.core312 import LIUTONGPAN
|
|
133
133
|
from hikyuu.cpp.core312 import LLV
|
|
@@ -175,8 +175,8 @@ from hikyuu.cpp.core312 import PG_FixedPercent
|
|
|
175
175
|
from hikyuu.cpp.core312 import PG_NoGoal
|
|
176
176
|
from hikyuu.cpp.core312 import POS
|
|
177
177
|
from hikyuu.cpp.core312 import POW
|
|
178
|
-
from hikyuu.cpp.core312 import PRICELIST
|
|
179
178
|
from hikyuu.cpp.core312 import PRICELIST as VALUE
|
|
179
|
+
from hikyuu.cpp.core312 import PRICELIST
|
|
180
180
|
from hikyuu.cpp.core312 import Parameter
|
|
181
181
|
from hikyuu.cpp.core312 import Performance
|
|
182
182
|
from hikyuu.cpp.core312 import Portfolio
|
|
@@ -540,8 +540,8 @@ from hikyuu.hub import get_part_info
|
|
|
540
540
|
from hikyuu.hub import get_part_list
|
|
541
541
|
from hikyuu.hub import get_part_module
|
|
542
542
|
from hikyuu.hub import get_part_name_list
|
|
543
|
-
from hikyuu.hub import print_part_info as help_part
|
|
544
543
|
from hikyuu.hub import print_part_info
|
|
544
|
+
from hikyuu.hub import print_part_info as help_part
|
|
545
545
|
from hikyuu.hub import remove_hub
|
|
546
546
|
from hikyuu.hub import search_part
|
|
547
547
|
from hikyuu.hub import update_hub
|
|
@@ -737,10 +737,10 @@ from hikyuu.util.mylog import add_class_logger_handler
|
|
|
737
737
|
from hikyuu.util.mylog import capture_multiprocess_all_logger
|
|
738
738
|
from hikyuu.util.mylog import class_logger
|
|
739
739
|
from hikyuu.util.mylog import hku_benchmark
|
|
740
|
-
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
741
740
|
from hikyuu.util.mylog import hku_debug
|
|
742
|
-
from hikyuu.util.mylog import
|
|
741
|
+
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
743
742
|
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
743
|
+
from hikyuu.util.mylog import hku_debug_if
|
|
744
744
|
from hikyuu.util.mylog import hku_error
|
|
745
745
|
from hikyuu.util.mylog import hku_error_if
|
|
746
746
|
from hikyuu.util.mylog import hku_fatal
|
|
@@ -129,8 +129,8 @@ from hikyuu.cpp.core312 import KDataToHdf5Importer
|
|
|
129
129
|
from hikyuu.cpp.core312 import KRecord
|
|
130
130
|
from hikyuu.cpp.core312 import KRecordList
|
|
131
131
|
from hikyuu.cpp.core312 import LAST
|
|
132
|
-
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
133
132
|
from hikyuu.cpp.core312 import LASTVALUE
|
|
133
|
+
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
134
134
|
from hikyuu.cpp.core312 import LIUTONGPAN as CAPITAL
|
|
135
135
|
from hikyuu.cpp.core312 import LIUTONGPAN
|
|
136
136
|
from hikyuu.cpp.core312 import LLV
|
|
@@ -178,8 +178,8 @@ from hikyuu.cpp.core312 import PG_FixedPercent
|
|
|
178
178
|
from hikyuu.cpp.core312 import PG_NoGoal
|
|
179
179
|
from hikyuu.cpp.core312 import POS
|
|
180
180
|
from hikyuu.cpp.core312 import POW
|
|
181
|
-
from hikyuu.cpp.core312 import PRICELIST
|
|
182
181
|
from hikyuu.cpp.core312 import PRICELIST as VALUE
|
|
182
|
+
from hikyuu.cpp.core312 import PRICELIST
|
|
183
183
|
from hikyuu.cpp.core312 import Parameter
|
|
184
184
|
from hikyuu.cpp.core312 import Performance
|
|
185
185
|
from hikyuu.cpp.core312 import Portfolio
|
|
@@ -543,8 +543,8 @@ from hikyuu.hub import get_part_info
|
|
|
543
543
|
from hikyuu.hub import get_part_list
|
|
544
544
|
from hikyuu.hub import get_part_module
|
|
545
545
|
from hikyuu.hub import get_part_name_list
|
|
546
|
-
from hikyuu.hub import print_part_info as help_part
|
|
547
546
|
from hikyuu.hub import print_part_info
|
|
547
|
+
from hikyuu.hub import print_part_info as help_part
|
|
548
548
|
from hikyuu.hub import remove_hub
|
|
549
549
|
from hikyuu.hub import search_part
|
|
550
550
|
from hikyuu.hub import update_hub
|
|
@@ -740,10 +740,10 @@ from hikyuu.util.mylog import add_class_logger_handler
|
|
|
740
740
|
from hikyuu.util.mylog import capture_multiprocess_all_logger
|
|
741
741
|
from hikyuu.util.mylog import class_logger
|
|
742
742
|
from hikyuu.util.mylog import hku_benchmark
|
|
743
|
-
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
744
743
|
from hikyuu.util.mylog import hku_debug
|
|
745
|
-
from hikyuu.util.mylog import
|
|
744
|
+
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
746
745
|
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
746
|
+
from hikyuu.util.mylog import hku_debug_if
|
|
747
747
|
from hikyuu.util.mylog import hku_error
|
|
748
748
|
from hikyuu.util.mylog import hku_error_if
|
|
749
749
|
from hikyuu.util.mylog import hku_fatal
|
hikyuu/extend.py
CHANGED
|
@@ -353,17 +353,3 @@ Parameter.__iter__ = Parameter_iter
|
|
|
353
353
|
Parameter.keys = Parameter_keys
|
|
354
354
|
Parameter.items = Parameter_items
|
|
355
355
|
Parameter.to_dict = Parameter_to_dict
|
|
356
|
-
|
|
357
|
-
# ------------------------------------------------------------------
|
|
358
|
-
# 增强 StrategyContext
|
|
359
|
-
# ------------------------------------------------------------------
|
|
360
|
-
__old_StrategyContext_init__ = StrategyContext.__init__
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
def __new_StrategyContext_init__(self, stock_code_list=None):
|
|
364
|
-
__old_StrategyContext_init__(self)
|
|
365
|
-
if stock_code_list is not None:
|
|
366
|
-
self.stock_list = stock_code_list
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
StrategyContext.__init__ = __new_StrategyContext_init__
|
hikyuu/extend.pyi
CHANGED
|
@@ -447,7 +447,6 @@ from hikyuu.cpp.core312 import ZSCORE
|
|
|
447
447
|
from hikyuu.cpp.core312 import __add__ as __old_TimeDelta_add__
|
|
448
448
|
from hikyuu.cpp.core312 import __add__ as __old_Datetime_add__
|
|
449
449
|
from hikyuu.cpp.core312 import __init__ as old_Query_init
|
|
450
|
-
from hikyuu.cpp.core312 import __init__ as __old_StrategyContext_init__
|
|
451
450
|
from hikyuu.cpp.core312 import __init__ as __old_Datetime_init__
|
|
452
451
|
from hikyuu.cpp.core312 import __init__ as __old_TimeDelta_init__
|
|
453
452
|
from hikyuu.cpp.core312 import __sub__ as __old_TimeDelta_sub__
|
|
@@ -586,8 +585,6 @@ def __new_Datetime_sub__(self, td):
|
|
|
586
585
|
:rtype: Datetime
|
|
587
586
|
|
|
588
587
|
"""
|
|
589
|
-
def __new_StrategyContext_init__(self, stock_code_list = None):
|
|
590
|
-
...
|
|
591
588
|
def __new_TimeDelta_add__(self, td):
|
|
592
589
|
"""
|
|
593
590
|
可和 TimeDelta, datetime.timedelta, Datetime执行相加操作
|
hikyuu/hub.pyi
CHANGED
|
@@ -28,11 +28,11 @@ import sys as sys
|
|
|
28
28
|
import typing
|
|
29
29
|
__all__: list = ['add_remote_hub', 'add_local_hub', 'update_hub', 'remove_hub', 'build_hub', 'help_part', 'get_part', 'get_part_list', 'get_hub_path', 'get_part_info', 'get_part_module', 'print_part_info', 'get_hub_name_list', 'get_part_name_list', 'get_current_hub', 'search_part']
|
|
30
30
|
class ConfigModel(sqlalchemy.orm.decl_api.Base):
|
|
31
|
-
__mapper__: typing.ClassVar[sqlalchemy.orm.mapper.Mapper] # value = <Mapper at
|
|
31
|
+
__mapper__: typing.ClassVar[sqlalchemy.orm.mapper.Mapper] # value = <Mapper at 0x1060bdb80; ConfigModel>
|
|
32
32
|
__table__: typing.ClassVar[sqlalchemy.sql.schema.Table] # value = Table('hub_config', MetaData(), Column('id', Integer(), table=<hub_config>, primary_key=True, nullable=False, default=Sequence('config_id_seq', metadata=MetaData())), Column('key', String(), table=<hub_config>), Column('value', String(), table=<hub_config>), schema=None)
|
|
33
33
|
__table_args__: typing.ClassVar[tuple] # value = (UniqueConstraint(Column('key', String(), table=<hub_config>)))
|
|
34
34
|
__tablename__: typing.ClassVar[str] = 'hub_config'
|
|
35
|
-
_sa_class_manager: typing.ClassVar[sqlalchemy.orm.instrumentation.ClassManager] # value = <ClassManager of <class 'hikyuu.hub.ConfigModel'> at
|
|
35
|
+
_sa_class_manager: typing.ClassVar[sqlalchemy.orm.instrumentation.ClassManager] # value = <ClassManager of <class 'hikyuu.hub.ConfigModel'> at 13a1bf2a0>
|
|
36
36
|
def __init__(self, **kwargs):
|
|
37
37
|
"""
|
|
38
38
|
A simple constructor that allows initialization from kwargs.
|
|
@@ -109,11 +109,11 @@ class HubManager:
|
|
|
109
109
|
def print_part_info(self, name):
|
|
110
110
|
...
|
|
111
111
|
class HubModel(sqlalchemy.orm.decl_api.Base):
|
|
112
|
-
__mapper__: typing.ClassVar[sqlalchemy.orm.mapper.Mapper] # value = <Mapper at
|
|
112
|
+
__mapper__: typing.ClassVar[sqlalchemy.orm.mapper.Mapper] # value = <Mapper at 0x1058b3980; HubModel>
|
|
113
113
|
__table__: typing.ClassVar[sqlalchemy.sql.schema.Table] # value = Table('hub_repo', MetaData(), Column('id', Integer(), table=<hub_repo>, primary_key=True, nullable=False, default=Sequence('remote_id_seq', metadata=MetaData())), Column('name', String(), table=<hub_repo>), Column('hub_type', String(), table=<hub_repo>), Column('local_base', String(), table=<hub_repo>), Column('local', String(), table=<hub_repo>), Column('url', String(), table=<hub_repo>), Column('branch', String(), table=<hub_repo>), schema=None)
|
|
114
114
|
__table_args__: typing.ClassVar[tuple] # value = (UniqueConstraint(Column('name', String(), table=<hub_repo>)))
|
|
115
115
|
__tablename__: typing.ClassVar[str] = 'hub_repo'
|
|
116
|
-
_sa_class_manager: typing.ClassVar[sqlalchemy.orm.instrumentation.ClassManager] # value = <ClassManager of <class 'hikyuu.hub.HubModel'> at
|
|
116
|
+
_sa_class_manager: typing.ClassVar[sqlalchemy.orm.instrumentation.ClassManager] # value = <ClassManager of <class 'hikyuu.hub.HubModel'> at 13a1dbc00>
|
|
117
117
|
def __init__(self, **kwargs):
|
|
118
118
|
"""
|
|
119
119
|
A simple constructor that allows initialization from kwargs.
|
|
@@ -146,11 +146,11 @@ class ModuleConflictError(Exception):
|
|
|
146
146
|
def __str__(self):
|
|
147
147
|
...
|
|
148
148
|
class PartModel(sqlalchemy.orm.decl_api.Base):
|
|
149
|
-
__mapper__: typing.ClassVar[sqlalchemy.orm.mapper.Mapper] # value = <Mapper at
|
|
149
|
+
__mapper__: typing.ClassVar[sqlalchemy.orm.mapper.Mapper] # value = <Mapper at 0x13a1af860; PartModel>
|
|
150
150
|
__table__: typing.ClassVar[sqlalchemy.sql.schema.Table] # value = Table('hub_part', MetaData(), Column('id', Integer(), table=<hub_part>, primary_key=True, nullable=False, default=Sequence('part_id_seq', metadata=MetaData())), Column('hub_name', String(), table=<hub_part>), Column('part', String(), table=<hub_part>), Column('name', String(), table=<hub_part>), Column('author', String(), table=<hub_part>), Column('version', String(), table=<hub_part>), Column('doc', String(), table=<hub_part>), Column('module_name', String(), table=<hub_part>), Column('label', String(), table=<hub_part>), schema=None)
|
|
151
151
|
__table_args__: typing.ClassVar[tuple] # value = (UniqueConstraint(Column('name', String(), table=<hub_part>)))
|
|
152
152
|
__tablename__: typing.ClassVar[str] = 'hub_part'
|
|
153
|
-
_sa_class_manager: typing.ClassVar[sqlalchemy.orm.instrumentation.ClassManager] # value = <ClassManager of <class 'hikyuu.hub.PartModel'> at
|
|
153
|
+
_sa_class_manager: typing.ClassVar[sqlalchemy.orm.instrumentation.ClassManager] # value = <ClassManager of <class 'hikyuu.hub.PartModel'> at 13a1e87d0>
|
|
154
154
|
def __init__(self, **kwargs):
|
|
155
155
|
"""
|
|
156
156
|
A simple constructor that allows initialization from kwargs.
|
|
@@ -13,10 +13,14 @@ namespace hku {
|
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* 独立上下文指标
|
|
16
|
+
* @param ind 待包装指标
|
|
17
|
+
* @param fill_null 是否填充空值,默认为 false
|
|
16
18
|
* @ingroup Indicator
|
|
17
19
|
*/
|
|
18
|
-
Indicator HKU_API CONTEXT(const Indicator& ind, bool fill_null =
|
|
19
|
-
|
|
20
|
+
Indicator HKU_API CONTEXT(const Indicator& ind, bool fill_null = false, bool use_self_ktype = false,
|
|
21
|
+
bool use_self_recover_type = false);
|
|
22
|
+
Indicator HKU_API CONTEXT(bool fill_null = false, bool use_self_ktype = false,
|
|
23
|
+
bool use_self_recover_type = false);
|
|
20
24
|
|
|
21
25
|
/**
|
|
22
26
|
* 获取指标上下文
|
hikyuu/include/hikyuu/version.h
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
#define HKU_VERSION_H
|
|
13
13
|
|
|
14
14
|
// clang-format off
|
|
15
|
-
#define HKU_VERSION "2.6.
|
|
15
|
+
#define HKU_VERSION "2.6.2"
|
|
16
16
|
#define HKU_VERSION_MAJOR 2
|
|
17
17
|
#define HKU_VERSION_MINOR 6
|
|
18
|
-
#define HKU_VERSION_ALTER
|
|
19
|
-
#define HKU_VERSION_BUILD
|
|
18
|
+
#define HKU_VERSION_ALTER 2
|
|
19
|
+
#define HKU_VERSION_BUILD 202505141534
|
|
20
20
|
#define HKU_VERSION_MODE "RELEASE"
|
|
21
|
-
#define HKU_VERSION_GIT "2.6.
|
|
21
|
+
#define HKU_VERSION_GIT "2.6.2 release.48ea3be8 (RELEASE)"
|
|
22
22
|
// clang-format on
|
|
23
23
|
|
|
24
24
|
#endif /* HKU_VERSION_H */
|
hikyuu/trade_manage/__init__.pyi
CHANGED
|
@@ -120,8 +120,8 @@ from hikyuu.cpp.core312 import KDataToHdf5Importer
|
|
|
120
120
|
from hikyuu.cpp.core312 import KRecord
|
|
121
121
|
from hikyuu.cpp.core312 import KRecordList
|
|
122
122
|
from hikyuu.cpp.core312 import LAST
|
|
123
|
-
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
124
123
|
from hikyuu.cpp.core312 import LASTVALUE
|
|
124
|
+
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
125
125
|
from hikyuu.cpp.core312 import LIUTONGPAN as CAPITAL
|
|
126
126
|
from hikyuu.cpp.core312 import LIUTONGPAN
|
|
127
127
|
from hikyuu.cpp.core312 import LLV
|
|
@@ -169,8 +169,8 @@ from hikyuu.cpp.core312 import PG_FixedPercent
|
|
|
169
169
|
from hikyuu.cpp.core312 import PG_NoGoal
|
|
170
170
|
from hikyuu.cpp.core312 import POS
|
|
171
171
|
from hikyuu.cpp.core312 import POW
|
|
172
|
-
from hikyuu.cpp.core312 import PRICELIST
|
|
173
172
|
from hikyuu.cpp.core312 import PRICELIST as VALUE
|
|
173
|
+
from hikyuu.cpp.core312 import PRICELIST
|
|
174
174
|
from hikyuu.cpp.core312 import Parameter
|
|
175
175
|
from hikyuu.cpp.core312 import Performance
|
|
176
176
|
from hikyuu.cpp.core312 import Portfolio
|
|
@@ -694,10 +694,10 @@ from hikyuu.util.mylog import add_class_logger_handler
|
|
|
694
694
|
from hikyuu.util.mylog import capture_multiprocess_all_logger
|
|
695
695
|
from hikyuu.util.mylog import class_logger
|
|
696
696
|
from hikyuu.util.mylog import hku_benchmark
|
|
697
|
-
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
698
697
|
from hikyuu.util.mylog import hku_debug
|
|
699
|
-
from hikyuu.util.mylog import
|
|
698
|
+
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
700
699
|
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
700
|
+
from hikyuu.util.mylog import hku_debug_if
|
|
701
701
|
from hikyuu.util.mylog import hku_error
|
|
702
702
|
from hikyuu.util.mylog import hku_error_if
|
|
703
703
|
from hikyuu.util.mylog import hku_fatal
|
hikyuu/trade_manage/trade.pyi
CHANGED
|
@@ -120,8 +120,8 @@ from hikyuu.cpp.core312 import KDataToHdf5Importer
|
|
|
120
120
|
from hikyuu.cpp.core312 import KRecord
|
|
121
121
|
from hikyuu.cpp.core312 import KRecordList
|
|
122
122
|
from hikyuu.cpp.core312 import LAST
|
|
123
|
-
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
124
123
|
from hikyuu.cpp.core312 import LASTVALUE
|
|
124
|
+
from hikyuu.cpp.core312 import LASTVALUE as CONST
|
|
125
125
|
from hikyuu.cpp.core312 import LIUTONGPAN as CAPITAL
|
|
126
126
|
from hikyuu.cpp.core312 import LIUTONGPAN
|
|
127
127
|
from hikyuu.cpp.core312 import LLV
|
|
@@ -169,8 +169,8 @@ from hikyuu.cpp.core312 import PG_FixedPercent
|
|
|
169
169
|
from hikyuu.cpp.core312 import PG_NoGoal
|
|
170
170
|
from hikyuu.cpp.core312 import POS
|
|
171
171
|
from hikyuu.cpp.core312 import POW
|
|
172
|
-
from hikyuu.cpp.core312 import PRICELIST
|
|
173
172
|
from hikyuu.cpp.core312 import PRICELIST as VALUE
|
|
173
|
+
from hikyuu.cpp.core312 import PRICELIST
|
|
174
174
|
from hikyuu.cpp.core312 import Parameter
|
|
175
175
|
from hikyuu.cpp.core312 import Performance
|
|
176
176
|
from hikyuu.cpp.core312 import Portfolio
|
|
@@ -684,10 +684,10 @@ from hikyuu.util.mylog import add_class_logger_handler
|
|
|
684
684
|
from hikyuu.util.mylog import capture_multiprocess_all_logger
|
|
685
685
|
from hikyuu.util.mylog import class_logger
|
|
686
686
|
from hikyuu.util.mylog import hku_benchmark
|
|
687
|
-
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
688
687
|
from hikyuu.util.mylog import hku_debug
|
|
689
|
-
from hikyuu.util.mylog import
|
|
688
|
+
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
690
689
|
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
690
|
+
from hikyuu.util.mylog import hku_debug_if
|
|
691
691
|
from hikyuu.util.mylog import hku_error
|
|
692
692
|
from hikyuu.util.mylog import hku_error_if
|
|
693
693
|
from hikyuu.util.mylog import hku_fatal
|
hikyuu/util/__init__.pyi
CHANGED
|
@@ -19,8 +19,8 @@ from hikyuu.util.mylog import get_default_logger
|
|
|
19
19
|
from hikyuu.util.mylog import hku_benchmark
|
|
20
20
|
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
21
21
|
from hikyuu.util.mylog import hku_debug
|
|
22
|
-
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
23
22
|
from hikyuu.util.mylog import hku_debug_if
|
|
23
|
+
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
24
24
|
from hikyuu.util.mylog import hku_error
|
|
25
25
|
from hikyuu.util.mylog import hku_error_if
|
|
26
26
|
from hikyuu.util.mylog import hku_fatal
|
hikyuu/util/singleton.pyi
CHANGED
|
@@ -12,7 +12,7 @@ class SingletonType(type):
|
|
|
12
12
|
self.name = name
|
|
13
13
|
|
|
14
14
|
"""
|
|
15
|
-
_instance_lock: typing.ClassVar[_thread.lock] # value = <unlocked _thread.lock object at
|
|
15
|
+
_instance_lock: typing.ClassVar[_thread.lock] # value = <unlocked _thread.lock object at 0x12ffda280>
|
|
16
16
|
@classmethod
|
|
17
17
|
def __call__(cls, *args, **kwargs):
|
|
18
18
|
...
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
hikyuu/LICENSE.txt,sha256=eYUkkmVyE-JozrxZVvt2kdnQT8i6toPobgU_jqhK7cU,1065
|
|
2
2
|
hikyuu/__init__.py,sha256=r4KYET3ZzFBPGHNtcDp5ZB3ge4SKxafgXc9L1fzRfx8,17644
|
|
3
|
-
hikyuu/__init__.pyi,sha256=
|
|
3
|
+
hikyuu/__init__.pyi,sha256=12nJ5Xlg6DMwLiL127-ZzkFJ-5GqE8VKG0jB6kTHi8w,55429
|
|
4
4
|
hikyuu/core.py,sha256=ohXZLRPr_hQXy_QpRkpNQ5yBaL4nY0GE6ZGcybaofAY,633
|
|
5
|
-
hikyuu/core.pyi,sha256=
|
|
6
|
-
hikyuu/extend.py,sha256=
|
|
7
|
-
hikyuu/extend.pyi,sha256=
|
|
5
|
+
hikyuu/core.pyi,sha256=Gc2VO8qp1sGqvbetf1wb5imIzq71RlLo5HTnQtrFPOI,28289
|
|
6
|
+
hikyuu/extend.py,sha256=0gJOZ43d23Xv0U8RuvkKpbD2HdBaFtwi-VIg2X3eXKs,11091
|
|
7
|
+
hikyuu/extend.pyi,sha256=A_BIPxBLi6TzCDFP-LU7zcuKX6LFijEHnr6Z4aJC5GA,32549
|
|
8
8
|
hikyuu/hub.py,sha256=M7e3pGtGWEPyz9IZj8pOD0EmC8mXtxr-F-IQNnbZ9qY,27870
|
|
9
|
-
hikyuu/hub.pyi,sha256=
|
|
9
|
+
hikyuu/hub.pyi,sha256=liAPymd3lRF2rvJ9F7VG_RmTDx9weCeaYEHMpNyX1wY,10444
|
|
10
10
|
hikyuu/interactive.py,sha256=Ee9E1XEtbQc1o-er7QHs0F6o4krUXBARZX1HGmaiogI,2275
|
|
11
11
|
hikyuu/setup.py,sha256=mS8krhVA9iWKtjpacDV_R3mUivk4YDEf--wVD4UN5oY,4310
|
|
12
12
|
hikyuu/analysis/__init__.py,sha256=hFm87HRyntuyCiQY1gEX6XZJ9OgTty5nBxCpf8ndbSw,252
|
|
@@ -22,17 +22,17 @@ hikyuu/config/block/self.ini,sha256=UzKUS0V7OPMunOXhh5Gzkq6HRVxxD6XD644RmdJviEo,
|
|
|
22
22
|
hikyuu/config/block/zsbk.ini,sha256=h1l_Gdi0pnf1jYZCdQR_Gjmx22qTYWJt-N1qVxr1hVs,591998
|
|
23
23
|
hikyuu/cpp/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
24
24
|
hikyuu/cpp/__init__.pyi,sha256=x-9WMn7Cf7EOBCgHKNJ0FIJhKxkDfAQxbLWK0uFpRlc,79
|
|
25
|
-
hikyuu/cpp/core310.pyi,sha256=
|
|
26
|
-
hikyuu/cpp/core310.so,sha256=
|
|
27
|
-
hikyuu/cpp/core311.pyi,sha256=
|
|
28
|
-
hikyuu/cpp/core311.so,sha256=
|
|
29
|
-
hikyuu/cpp/core312.pyi,sha256=
|
|
30
|
-
hikyuu/cpp/core312.so,sha256=
|
|
31
|
-
hikyuu/cpp/core313.pyi,sha256=
|
|
32
|
-
hikyuu/cpp/core313.so,sha256=
|
|
25
|
+
hikyuu/cpp/core310.pyi,sha256=_7UNWHsaEDN_BK0P8I9t0pxLXh-sKhgRZj7rvhUeVXo,408687
|
|
26
|
+
hikyuu/cpp/core310.so,sha256=Vxq_P2GP2bMpHzf0F5l9EUYwE8B6gWeFOLk0m9AvRdg,3906216
|
|
27
|
+
hikyuu/cpp/core311.pyi,sha256=faAhvsD3HdzpZp1j6GDmjL5lu8g7Ukzy1fCm6VgAuP0,408687
|
|
28
|
+
hikyuu/cpp/core311.so,sha256=Ai_AOUBKOAIE_bmU-7bvjyZEnepdkgsrCL6OOeyJTds,3922872
|
|
29
|
+
hikyuu/cpp/core312.pyi,sha256=z-s3ZT6_cYb4Ivw5Za51ZDChU2YnDVRyf3KJ-Cq_8ZU,408687
|
|
30
|
+
hikyuu/cpp/core312.so,sha256=_YB14-flcywOYI2BQ4S8GF5ruaU2rLXQhUkWhPml_QA,4008704
|
|
31
|
+
hikyuu/cpp/core313.pyi,sha256=EtXfl1DZsPuVcY7v_TUnzBThR0aoturoNG_71KD51OY,407871
|
|
32
|
+
hikyuu/cpp/core313.so,sha256=yHsCGhbTQQChQVetPEndqix4jdCH12wGtlg1T2hLrD4,3989256
|
|
33
33
|
hikyuu/cpp/libcrypto.3.dylib,sha256=YF0tYyDUMqiKPS6KrRPzHkyAiL1Xpz6H_EBkH8f3AHM,3493696
|
|
34
34
|
hikyuu/cpp/libcrypto.dylib,sha256=YF0tYyDUMqiKPS6KrRPzHkyAiL1Xpz6H_EBkH8f3AHM,3493696
|
|
35
|
-
hikyuu/cpp/libhikyuu.dylib,sha256=
|
|
35
|
+
hikyuu/cpp/libhikyuu.dylib,sha256=Wua-j6Fo9bIKE7wOyj4ZcY-8JC6IKnuhBjA43Xfof8E,5769936
|
|
36
36
|
hikyuu/cpp/libhku_hdf5.200.2.0.dylib,sha256=YrtndWsWhjKLYaRM-i8Z52V5Y2Jv9tVQ3GQ5htOTRiA,4096376
|
|
37
37
|
hikyuu/cpp/libhku_hdf5.200.dylib,sha256=YrtndWsWhjKLYaRM-i8Z52V5Y2Jv9tVQ3GQ5htOTRiA,4096376
|
|
38
38
|
hikyuu/cpp/libhku_hdf5.dylib,sha256=YrtndWsWhjKLYaRM-i8Z52V5Y2Jv9tVQ3GQ5htOTRiA,4096376
|
|
@@ -149,13 +149,13 @@ hikyuu/draw/volume.pyi,sha256=Qe2gAFGNUIwHpGczpUAIqtl8is7iZY9fXzPuCZm-2fM,1466
|
|
|
149
149
|
hikyuu/draw/drawplot/__init__.py,sha256=lhGdOn2ggxJBBN9mEu4s3ytzKVK89vEMGApKWunVALk,10053
|
|
150
150
|
hikyuu/draw/drawplot/__init__.pyi,sha256=ZG2zwHd1Uh8P5Oa8SQUkZuHBMe2jL2FxnAqeFyDDnfQ,6600
|
|
151
151
|
hikyuu/draw/drawplot/bokeh_draw.py,sha256=CaSx-GvSeCroFOQzuoDUKeCPRsZyn1jqB2LW2ruGP80,19666
|
|
152
|
-
hikyuu/draw/drawplot/bokeh_draw.pyi,sha256=
|
|
152
|
+
hikyuu/draw/drawplot/bokeh_draw.pyi,sha256=z6XehomWMjU5hvbbY-mSmw-YWM5gV6iLVundtA99zCk,54977
|
|
153
153
|
hikyuu/draw/drawplot/common.py,sha256=N2n89dR0D13_5PvSk_FEQutNgDL0rdza0KGbQNPwCE0,3097
|
|
154
154
|
hikyuu/draw/drawplot/common.pyi,sha256=ZQGjmbBzwL0Upnx_KMAHgDMnAS8Su64nHar8AUR9brk,353
|
|
155
155
|
hikyuu/draw/drawplot/echarts_draw.py,sha256=bqaE3y0CohLFUTJvy7AdzuSmS29CdkAqG3XmstLT69M,20436
|
|
156
|
-
hikyuu/draw/drawplot/echarts_draw.pyi,sha256=
|
|
156
|
+
hikyuu/draw/drawplot/echarts_draw.pyi,sha256=6J-AxTdByey2sT7LigAEPtQEW_Uzgta2mPKNjmo1iSg,50064
|
|
157
157
|
hikyuu/draw/drawplot/matplotlib_draw.py,sha256=Kf74iiDBVN1hcFcRGA1hFNi2GRlbnwKroSAJvvvxuwg,58421
|
|
158
|
-
hikyuu/draw/drawplot/matplotlib_draw.pyi,sha256=
|
|
158
|
+
hikyuu/draw/drawplot/matplotlib_draw.pyi,sha256=qYwJK8NIJwhwiTbI84Dib1WMxnLJvbM1qrDoSfk54d0,73315
|
|
159
159
|
hikyuu/draw/drawplot/icon/1.png,sha256=I21nZoJ2secsZZYSeWcSzzgtKsuKIJtBeFKQ7xp_trU,786
|
|
160
160
|
hikyuu/draw/drawplot/icon/10.png,sha256=o8cfsnmu0dltqyh3F-U-6IxJz9HvSFing1b11UaLlSQ,570
|
|
161
161
|
hikyuu/draw/drawplot/icon/11.png,sha256=6ayNsr6Ym30jpv5Y1NGOtf8Ne9__WiA8VL4IwGsB73Y,852
|
|
@@ -298,7 +298,7 @@ hikyuu/include/hikyuu/config.h,sha256=HOBRHi66MdRywsfswkY0Bb3x8-BAQ9UghTd9dod2we
|
|
|
298
298
|
hikyuu/include/hikyuu/debug.h,sha256=aX-WdnQdDuOoHMxcMyHXVLAyEhYIMGT-Hh6VgYZSSMw,812
|
|
299
299
|
hikyuu/include/hikyuu/doc.h,sha256=GL1lEtjI89WwPctsB0R6ax5zjM_68jNWgk_xLAEkbGo,6801
|
|
300
300
|
hikyuu/include/hikyuu/hikyuu.h,sha256=aWi5ZGV1lLz5AIsYEuMVQdAnmRc_FnEIR9fvkvang6k,1528
|
|
301
|
-
hikyuu/include/hikyuu/version.h,sha256=
|
|
301
|
+
hikyuu/include/hikyuu/version.h,sha256=_IJk3EF1i2Z68xSLrtF52CTRfqhTz84g4NDYA7cM7xk,484
|
|
302
302
|
hikyuu/include/hikyuu/analysis/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
303
303
|
hikyuu/include/hikyuu/analysis/analysis_sys.h,sha256=YJVo-gC-vdcV4aBgGG7wBUc-KZw534HLAIsczaCAtZo,3163
|
|
304
304
|
hikyuu/include/hikyuu/analysis/combinate.h,sha256=_qg13D0Q0wD7RT0JBe6I0-a2WvHd6-p5gNSqRTr0tDs,4082
|
|
@@ -379,7 +379,7 @@ hikyuu/include/hikyuu/indicator/crt/BARSSINCE.h,sha256=IOtFVQIa1A6CqkiaBVVPzu3gz
|
|
|
379
379
|
hikyuu/include/hikyuu/indicator/crt/BETWEEN.h,sha256=cxamQ3l8kER_vAqdskqtVdLFHAFpZk5YS_YxB5DLeHI,3045
|
|
380
380
|
hikyuu/include/hikyuu/indicator/crt/BLOCKSETNUM.h,sha256=iu7JdvA0zvwLNFjK1dCjNBTTttGR-G_lEwj8_vDa52Q,429
|
|
381
381
|
hikyuu/include/hikyuu/indicator/crt/CEILING.h,sha256=frBvZehsMHdtDuTCAt676GmR4W_XNcqDhPjlNrRVkh0,756
|
|
382
|
-
hikyuu/include/hikyuu/indicator/crt/CONTEXT.h,sha256=
|
|
382
|
+
hikyuu/include/hikyuu/indicator/crt/CONTEXT.h,sha256=5CLKgCG9adeECoDiQyeQ9pfBk_NJWKJ_CNyA7_adhNQ,913
|
|
383
383
|
hikyuu/include/hikyuu/indicator/crt/CORR.h,sha256=uevrWcZHzzi723WTm7iAzDzctVxpygdta7uiojmKHlc,740
|
|
384
384
|
hikyuu/include/hikyuu/indicator/crt/COS.h,sha256=k--qSzC8O_3zOhOeik-7oDRNSxFlTCnUECEVe3Dt3Og,560
|
|
385
385
|
hikyuu/include/hikyuu/indicator/crt/COST.h,sha256=1vWCxprKQERkYqi84rzmDUQCU1qymexCQmw8_X39m5U,867
|
|
@@ -994,7 +994,7 @@ hikyuu/tools/h5_data_clear.py,sha256=Rl1UpMhyxsXZHlRS4THMucH1G1OouEwRzpm21i6Jfb0
|
|
|
994
994
|
hikyuu/tools/mysql_clear_last_day_data.py,sha256=b_z8jPpyyGEuDs5pvbC8iOQAKIUxi93DVPI3_FgaxiE,1631
|
|
995
995
|
hikyuu/tools/update_block_info.py,sha256=jv4BCP0HfbSiH8SIY9BGZKIiUEfUmo-tDP5j1GgMj60,4843
|
|
996
996
|
hikyuu/trade_manage/__init__.py,sha256=A1UP_MYNlIjixZW2U4c-fs2pibB6_n2S4DrY4WpNUOg,1363
|
|
997
|
-
hikyuu/trade_manage/__init__.pyi,sha256=
|
|
997
|
+
hikyuu/trade_manage/__init__.pyi,sha256=jc8SA2l6pS-kfV0QmPvWkr2EYKVPy_VrqEviguELSt0,45310
|
|
998
998
|
hikyuu/trade_manage/broker.py,sha256=kpJe510_FbI_ISjstzpU5nfObkfVck7rXhJcDRas9Pk,3930
|
|
999
999
|
hikyuu/trade_manage/broker.pyi,sha256=wUgff9Md-5_wU9zU7wncdoOs1F4jgIv2vx0eHwsCnRg,2098
|
|
1000
1000
|
hikyuu/trade_manage/broker_easytrader.py,sha256=gWd9hljKudtutyfjwEYTEJViLrTTpE0VSGYe-Q2YAqM,2256
|
|
@@ -1002,11 +1002,11 @@ hikyuu/trade_manage/broker_easytrader.pyi,sha256=AgNSKfG0detcgIu1XD7KtiPzo8mJBQz
|
|
|
1002
1002
|
hikyuu/trade_manage/broker_mail.py,sha256=ixNxV7u9lMot7wltrWSgJxXUUHRR_MfDd3HXHDP7cmo,3931
|
|
1003
1003
|
hikyuu/trade_manage/broker_mail.pyi,sha256=ud6hZY6IlS_4IhUydVuafVKkNfiXIlCceEG5m1LA6yc,2005
|
|
1004
1004
|
hikyuu/trade_manage/trade.py,sha256=SLjCwuBdDzB4tzpiCHLs1uWINVO2PcyXHcNGY71V-U8,4170
|
|
1005
|
-
hikyuu/trade_manage/trade.pyi,sha256=
|
|
1005
|
+
hikyuu/trade_manage/trade.pyi,sha256=lTEnfS69vJoAuWoqe9aTd8uUF3zobGEky6MkmnQrqgQ,44914
|
|
1006
1006
|
hikyuu/trade_sys/__init__.py,sha256=KBlNDtdvthF9JqHGewOBCf-GgGt8i4S9uvvMAgnL4Mc,1196
|
|
1007
1007
|
hikyuu/trade_sys/trade_sys.py,sha256=e1bBHHmmotvyHPpj67LPoJsaHqb5vQLJXX4Z8D7Rvpw,8584
|
|
1008
1008
|
hikyuu/util/__init__.py,sha256=hpbjbJISGJT0LD3RMoL3Z6RGAlePdHQiNTLWI-8omMI,1083
|
|
1009
|
-
hikyuu/util/__init__.pyi,sha256=
|
|
1009
|
+
hikyuu/util/__init__.pyi,sha256=LEz1KpRahRNPiUKcItSIG_3UHWU76jIHRvqC3x5rP6w,2806
|
|
1010
1010
|
hikyuu/util/check.py,sha256=O5XRzCoTVcLBvD1g6Bk6hfm4jjIKU51dBDmOEn5nenY,5674
|
|
1011
1011
|
hikyuu/util/check.pyi,sha256=sj-Q4ZGoSZby6FD0Qj1kmaQIJJ12dDIQBHeaGJcyHFU,2415
|
|
1012
1012
|
hikyuu/util/mylog.py,sha256=vLqiYWIU65jcPOnBU0al_3tcjoQcnJBga8LLOMLU23E,10453
|
|
@@ -1014,13 +1014,13 @@ hikyuu/util/mylog.pyi,sha256=vJbKppG_6hQShMhavsT0LKkjxWRzpJLzOSQ4p2Yf8UM,2650
|
|
|
1014
1014
|
hikyuu/util/notebook.py,sha256=-MuWr_JCEI0mwMERc7WYIAjIxbub22hkmjY18XPOKQY,1112
|
|
1015
1015
|
hikyuu/util/notebook.pyi,sha256=LWOEOxUDoFC6h9I5ph-XllvZ0fIWfQ7i3EmgUcHS0Hc,541
|
|
1016
1016
|
hikyuu/util/singleton.py,sha256=xoM_ohhzg-pWvOiDdEADZaf87Pw23DoiCMEkBUQxNao,764
|
|
1017
|
-
hikyuu/util/singleton.pyi,sha256=
|
|
1017
|
+
hikyuu/util/singleton.pyi,sha256=Ge3OBfmw_bSI9T651IkWJA-zFuLNYEDXEJqdwhCc0gk,524
|
|
1018
1018
|
hikyuu/util/slice.py,sha256=bq5C7OPiXjG4cPZtWLisa1zHEwZ0jRlGWbZi5IxsQA4,1717
|
|
1019
1019
|
hikyuu/util/slice.pyi,sha256=j1VO1JnM9qoAWyrcf9CcwsegsiKosZw-I6WOXGiKNHs,235
|
|
1020
1020
|
hikyuu/util/timeout.py,sha256=IfWsBgra-enerXuUtaGsOlvkz5pkEyKBCUMKCohdfYU,2949
|
|
1021
|
-
hikyuu-2.6.
|
|
1022
|
-
hikyuu-2.6.
|
|
1023
|
-
hikyuu-2.6.
|
|
1024
|
-
hikyuu-2.6.
|
|
1025
|
-
hikyuu-2.6.
|
|
1026
|
-
hikyuu-2.6.
|
|
1021
|
+
hikyuu-2.6.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1022
|
+
hikyuu-2.6.2.dist-info/METADATA,sha256=uO8muxCkgie02OA3kAGOhs9jm9yCJb4tlfx4RZRJXBs,11942
|
|
1023
|
+
hikyuu-2.6.2.dist-info/WHEEL,sha256=Xz05J0Qn3vsNxfTQmZRmQTZk9Hax-h7W0ZfteNIqTww,105
|
|
1024
|
+
hikyuu-2.6.2.dist-info/entry_points.txt,sha256=lKAXjEs7kBs3KiRG88yAXos2X9L2-zQ_YQh0DsKE3kY,137
|
|
1025
|
+
hikyuu-2.6.2.dist-info/top_level.txt,sha256=tiV8xYTM4RagQn0mqkKZdRhbxDDIIWuimbdL1s9azLg,4366
|
|
1026
|
+
hikyuu-2.6.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|