hikyuu 2.6.8.4__py3-none-win_amd64.whl → 2.6.8.5__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 +0 -1
- hikyuu/__init__.pyi +6 -6
- hikyuu/cpp/core310.pyd +0 -0
- hikyuu/cpp/core310.pyi +0 -4
- hikyuu/cpp/core311.pyd +0 -0
- hikyuu/cpp/core311.pyi +0 -4
- hikyuu/cpp/core312.pyd +0 -0
- hikyuu/cpp/core312.pyi +0 -4
- hikyuu/cpp/core313.pyd +0 -0
- hikyuu/cpp/core313.pyi +0 -4
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/core39.pyi +0 -4
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/hikyuu.lib +0 -0
- hikyuu/cpp/sqlite3.dll +0 -0
- hikyuu/draw/drawplot/__init__.pyi +1 -1
- hikyuu/draw/drawplot/bokeh_draw.pyi +4 -4
- hikyuu/draw/drawplot/echarts_draw.pyi +4 -4
- hikyuu/draw/drawplot/matplotlib_draw.pyi +4 -4
- hikyuu/extend.py +1 -0
- hikyuu/extend.pyi +4 -3
- hikyuu/hub.pyi +6 -6
- hikyuu/include/hikyuu/config.h +3 -0
- hikyuu/include/hikyuu/plugin/hkuextra.h +0 -18
- hikyuu/include/hikyuu/plugin/hkuviews.h +36 -0
- hikyuu/include/hikyuu/plugin/interface/HkuExtraPluginInterface.h +0 -14
- hikyuu/include/hikyuu/plugin/interface/HkuViewsPluginInterface.h +34 -0
- hikyuu/include/hikyuu/plugin/interface/plugins.h +8 -1
- hikyuu/include/hikyuu/python/pybind_utils.h +6 -1
- hikyuu/include/hikyuu/utilities/arithmetic.h +10 -0
- hikyuu/include/hikyuu/version.h +2 -2
- 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/hkuviews.dll +0 -0
- hikyuu/plugin/import2hdf5.dll +0 -0
- hikyuu/plugin/tmreport.dll +0 -0
- hikyuu/trade_manage/__init__.pyi +3 -3
- hikyuu/trade_manage/trade.pyi +3 -3
- hikyuu/util/__init__.pyi +1 -1
- hikyuu/util/singleton.pyi +1 -1
- {hikyuu-2.6.8.4.dist-info → hikyuu-2.6.8.5.dist-info}/METADATA +1 -1
- {hikyuu-2.6.8.4.dist-info → hikyuu-2.6.8.5.dist-info}/RECORD +49 -46
- {hikyuu-2.6.8.4.dist-info → hikyuu-2.6.8.5.dist-info}/WHEEL +0 -0
- {hikyuu-2.6.8.4.dist-info → hikyuu-2.6.8.5.dist-info}/entry_points.txt +0 -0
- {hikyuu-2.6.8.4.dist-info → hikyuu-2.6.8.5.dist-info}/top_level.txt +0 -0
hikyuu/__init__.py
CHANGED
hikyuu/__init__.pyi
CHANGED
|
@@ -17,8 +17,8 @@ from hikyuu.cpp.core39 import ConditionBase
|
|
|
17
17
|
from hikyuu.cpp.core39 import Constant
|
|
18
18
|
from hikyuu.cpp.core39 import CostRecord
|
|
19
19
|
from hikyuu.cpp.core39 import DataDriverFactory
|
|
20
|
-
from hikyuu.cpp.core39 import Datetime as D
|
|
21
20
|
from hikyuu.cpp.core39 import Datetime
|
|
21
|
+
from hikyuu.cpp.core39 import Datetime as D
|
|
22
22
|
from hikyuu.cpp.core39 import DatetimeList
|
|
23
23
|
from hikyuu.cpp.core39 import EnvironmentBase
|
|
24
24
|
from hikyuu.cpp.core39 import FundsRecord
|
|
@@ -173,10 +173,10 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
173
173
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KALMAN
|
|
174
174
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KDATA_PART
|
|
175
175
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LAST
|
|
176
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
177
176
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE as CONST
|
|
178
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import
|
|
177
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
179
178
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN as CAPITAL
|
|
179
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN
|
|
180
180
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLV
|
|
181
181
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLVBARS
|
|
182
182
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LN
|
|
@@ -216,8 +216,8 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
216
216
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PG_NoGoal
|
|
217
217
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POS
|
|
218
218
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POW
|
|
219
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
220
219
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST as VALUE
|
|
220
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
221
221
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RANK
|
|
222
222
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_BACKWARD
|
|
223
223
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_EQUAL_BACKWARD
|
|
@@ -578,8 +578,8 @@ from hikyuu.draw.drawplot import gcf
|
|
|
578
578
|
from hikyuu.draw.drawplot import get_current_draw_engine
|
|
579
579
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWBAND
|
|
580
580
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWICON
|
|
581
|
-
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG as DRAWBMP
|
|
582
581
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG
|
|
582
|
+
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG as DRAWBMP
|
|
583
583
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWLINE
|
|
584
584
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER
|
|
585
585
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER_FIX
|
|
@@ -617,8 +617,8 @@ from hikyuu.hub import get_part_info
|
|
|
617
617
|
from hikyuu.hub import get_part_list
|
|
618
618
|
from hikyuu.hub import get_part_module
|
|
619
619
|
from hikyuu.hub import get_part_name_list
|
|
620
|
-
from hikyuu.hub import print_part_info
|
|
621
620
|
from hikyuu.hub import print_part_info as help_part
|
|
621
|
+
from hikyuu.hub import print_part_info
|
|
622
622
|
from hikyuu.hub import remove_hub
|
|
623
623
|
from hikyuu.hub import search_part
|
|
624
624
|
from hikyuu.hub import update_hub
|
hikyuu/cpp/core310.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core310.pyi
CHANGED
|
@@ -2017,8 +2017,6 @@ class Indicator:
|
|
|
2017
2017
|
"""
|
|
2018
2018
|
转化为np.array, 如果为时间序列, 则包含 datetime 日期列
|
|
2019
2019
|
"""
|
|
2020
|
-
def to_pyarrow(self) -> typing.Any:
|
|
2021
|
-
...
|
|
2022
2020
|
def value_to_df(self) -> typing.Any:
|
|
2023
2021
|
"""
|
|
2024
2022
|
转换为 DataFrame, 仅包含值
|
|
@@ -2027,8 +2025,6 @@ class Indicator:
|
|
|
2027
2025
|
"""
|
|
2028
2026
|
仅转化值为np.array, 不包含日期列
|
|
2029
2027
|
"""
|
|
2030
|
-
def value_to_pyarrow(self) -> typing.Any:
|
|
2031
|
-
...
|
|
2032
2028
|
@property
|
|
2033
2029
|
def discard(self) -> int:
|
|
2034
2030
|
"""
|
hikyuu/cpp/core311.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core311.pyi
CHANGED
|
@@ -2017,8 +2017,6 @@ class Indicator:
|
|
|
2017
2017
|
"""
|
|
2018
2018
|
转化为np.array, 如果为时间序列, 则包含 datetime 日期列
|
|
2019
2019
|
"""
|
|
2020
|
-
def to_pyarrow(self) -> typing.Any:
|
|
2021
|
-
...
|
|
2022
2020
|
def value_to_df(self) -> typing.Any:
|
|
2023
2021
|
"""
|
|
2024
2022
|
转换为 DataFrame, 仅包含值
|
|
@@ -2027,8 +2025,6 @@ class Indicator:
|
|
|
2027
2025
|
"""
|
|
2028
2026
|
仅转化值为np.array, 不包含日期列
|
|
2029
2027
|
"""
|
|
2030
|
-
def value_to_pyarrow(self) -> typing.Any:
|
|
2031
|
-
...
|
|
2032
2028
|
@property
|
|
2033
2029
|
def discard(self) -> int:
|
|
2034
2030
|
"""
|
hikyuu/cpp/core312.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core312.pyi
CHANGED
|
@@ -2017,8 +2017,6 @@ class Indicator:
|
|
|
2017
2017
|
"""
|
|
2018
2018
|
转化为np.array, 如果为时间序列, 则包含 datetime 日期列
|
|
2019
2019
|
"""
|
|
2020
|
-
def to_pyarrow(self) -> typing.Any:
|
|
2021
|
-
...
|
|
2022
2020
|
def value_to_df(self) -> typing.Any:
|
|
2023
2021
|
"""
|
|
2024
2022
|
转换为 DataFrame, 仅包含值
|
|
@@ -2027,8 +2025,6 @@ class Indicator:
|
|
|
2027
2025
|
"""
|
|
2028
2026
|
仅转化值为np.array, 不包含日期列
|
|
2029
2027
|
"""
|
|
2030
|
-
def value_to_pyarrow(self) -> typing.Any:
|
|
2031
|
-
...
|
|
2032
2028
|
@property
|
|
2033
2029
|
def discard(self) -> int:
|
|
2034
2030
|
"""
|
hikyuu/cpp/core313.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core313.pyi
CHANGED
|
@@ -2009,8 +2009,6 @@ class Indicator:
|
|
|
2009
2009
|
"""
|
|
2010
2010
|
转化为np.array, 如果为时间序列, 则包含 datetime 日期列
|
|
2011
2011
|
"""
|
|
2012
|
-
def to_pyarrow(self) -> typing.Any:
|
|
2013
|
-
...
|
|
2014
2012
|
def value_to_df(self) -> typing.Any:
|
|
2015
2013
|
"""
|
|
2016
2014
|
转换为 DataFrame, 仅包含值
|
|
@@ -2019,8 +2017,6 @@ class Indicator:
|
|
|
2019
2017
|
"""
|
|
2020
2018
|
仅转化值为np.array, 不包含日期列
|
|
2021
2019
|
"""
|
|
2022
|
-
def value_to_pyarrow(self) -> typing.Any:
|
|
2023
|
-
...
|
|
2024
2020
|
@property
|
|
2025
2021
|
def discard(self) -> int:
|
|
2026
2022
|
"""
|
hikyuu/cpp/core39.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core39.pyi
CHANGED
|
@@ -2017,8 +2017,6 @@ class Indicator:
|
|
|
2017
2017
|
"""
|
|
2018
2018
|
转化为np.array, 如果为时间序列, 则包含 datetime 日期列
|
|
2019
2019
|
"""
|
|
2020
|
-
def to_pyarrow(self) -> typing.Any:
|
|
2021
|
-
...
|
|
2022
2020
|
def value_to_df(self) -> typing.Any:
|
|
2023
2021
|
"""
|
|
2024
2022
|
转换为 DataFrame, 仅包含值
|
|
@@ -2027,8 +2025,6 @@ class Indicator:
|
|
|
2027
2025
|
"""
|
|
2028
2026
|
仅转化值为np.array, 不包含日期列
|
|
2029
2027
|
"""
|
|
2030
|
-
def value_to_pyarrow(self) -> typing.Any:
|
|
2031
|
-
...
|
|
2032
2028
|
@property
|
|
2033
2029
|
def discard(self) -> int:
|
|
2034
2030
|
"""
|
hikyuu/cpp/hikyuu.dll
CHANGED
|
Binary file
|
hikyuu/cpp/hikyuu.lib
CHANGED
|
Binary file
|
hikyuu/cpp/sqlite3.dll
CHANGED
|
Binary file
|
|
@@ -25,8 +25,8 @@ from hikyuu.draw.drawplot.echarts_draw import sys_performance as ec_sys_performa
|
|
|
25
25
|
from hikyuu.draw.drawplot.echarts_draw import sysplot as ec_sysplot
|
|
26
26
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWBAND
|
|
27
27
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWICON
|
|
28
|
-
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG
|
|
29
28
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG as DRAWBMP
|
|
29
|
+
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG
|
|
30
30
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWLINE
|
|
31
31
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER
|
|
32
32
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWNUMBER_FIX
|
|
@@ -189,10 +189,10 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
189
189
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KALMAN
|
|
190
190
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KDATA_PART
|
|
191
191
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LAST
|
|
192
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
193
192
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE as CONST
|
|
194
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import
|
|
193
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
195
194
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN as CAPITAL
|
|
195
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN
|
|
196
196
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLV
|
|
197
197
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLVBARS
|
|
198
198
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LN
|
|
@@ -232,8 +232,8 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
232
232
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PG_NoGoal
|
|
233
233
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POS
|
|
234
234
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POW
|
|
235
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
236
235
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST as VALUE
|
|
236
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
237
237
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RANK
|
|
238
238
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_BACKWARD
|
|
239
239
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_EQUAL_BACKWARD
|
|
@@ -607,8 +607,8 @@ from hikyuu.hub import get_part_info
|
|
|
607
607
|
from hikyuu.hub import get_part_list
|
|
608
608
|
from hikyuu.hub import get_part_module
|
|
609
609
|
from hikyuu.hub import get_part_name_list
|
|
610
|
-
from hikyuu.hub import print_part_info
|
|
611
610
|
from hikyuu.hub import print_part_info as help_part
|
|
611
|
+
from hikyuu.hub import print_part_info
|
|
612
612
|
from hikyuu.hub import remove_hub
|
|
613
613
|
from hikyuu.hub import search_part
|
|
614
614
|
from hikyuu.hub import update_hub
|
|
@@ -176,10 +176,10 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
176
176
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KALMAN
|
|
177
177
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KDATA_PART
|
|
178
178
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LAST
|
|
179
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
180
179
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE as CONST
|
|
181
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import
|
|
180
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
182
181
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN as CAPITAL
|
|
182
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN
|
|
183
183
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLV
|
|
184
184
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLVBARS
|
|
185
185
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LN
|
|
@@ -219,8 +219,8 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
219
219
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PG_NoGoal
|
|
220
220
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POS
|
|
221
221
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POW
|
|
222
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
223
222
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST as VALUE
|
|
223
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
224
224
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RANK
|
|
225
225
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_BACKWARD
|
|
226
226
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_EQUAL_BACKWARD
|
|
@@ -595,8 +595,8 @@ from hikyuu.hub import get_part_info
|
|
|
595
595
|
from hikyuu.hub import get_part_list
|
|
596
596
|
from hikyuu.hub import get_part_module
|
|
597
597
|
from hikyuu.hub import get_part_name_list
|
|
598
|
-
from hikyuu.hub import print_part_info
|
|
599
598
|
from hikyuu.hub import print_part_info as help_part
|
|
599
|
+
from hikyuu.hub import print_part_info
|
|
600
600
|
from hikyuu.hub import remove_hub
|
|
601
601
|
from hikyuu.hub import search_part
|
|
602
602
|
from hikyuu.hub import update_hub
|
|
@@ -179,10 +179,10 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
179
179
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KALMAN
|
|
180
180
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KDATA_PART
|
|
181
181
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LAST
|
|
182
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
183
182
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE as CONST
|
|
184
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import
|
|
183
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
185
184
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN as CAPITAL
|
|
185
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN
|
|
186
186
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLV
|
|
187
187
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLVBARS
|
|
188
188
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LN
|
|
@@ -222,8 +222,8 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
222
222
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PG_NoGoal
|
|
223
223
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POS
|
|
224
224
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POW
|
|
225
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
226
225
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST as VALUE
|
|
226
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
227
227
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RANK
|
|
228
228
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_BACKWARD
|
|
229
229
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_EQUAL_BACKWARD
|
|
@@ -598,8 +598,8 @@ from hikyuu.hub import get_part_info
|
|
|
598
598
|
from hikyuu.hub import get_part_list
|
|
599
599
|
from hikyuu.hub import get_part_module
|
|
600
600
|
from hikyuu.hub import get_part_name_list
|
|
601
|
-
from hikyuu.hub import print_part_info
|
|
602
601
|
from hikyuu.hub import print_part_info as help_part
|
|
602
|
+
from hikyuu.hub import print_part_info
|
|
603
603
|
from hikyuu.hub import remove_hub
|
|
604
604
|
from hikyuu.hub import search_part
|
|
605
605
|
from hikyuu.hub import update_hub
|
hikyuu/extend.py
CHANGED
|
@@ -12,6 +12,7 @@ os.environ["NUMEXPR_MAX_THREADS"] = str(os.cpu_count())
|
|
|
12
12
|
from datetime import datetime, timedelta, date # NOQA: E402
|
|
13
13
|
import numpy as np # NOQA: E402
|
|
14
14
|
import pandas as pd # NOQA: E402
|
|
15
|
+
import pyarrow as pa # NOQA: E402
|
|
15
16
|
|
|
16
17
|
# 解决中文对齐问题
|
|
17
18
|
pd.set_option('display.unicode.ambiguous_as_wide', True)
|
hikyuu/extend.pyi
CHANGED
|
@@ -474,10 +474,10 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
474
474
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __add__ as __old_Datetime_add__
|
|
475
475
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __add__ as __old_TimeDelta_add__
|
|
476
476
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __init__ as __old_Datetime_init__
|
|
477
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __init__ as __old_TimeDelta_init__
|
|
478
477
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __init__ as old_Query_init
|
|
479
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import
|
|
478
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __init__ as __old_TimeDelta_init__
|
|
480
479
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __sub__ as __old_TimeDelta_sub__
|
|
480
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import __sub__ as __old_Datetime_sub__
|
|
481
481
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import active_device
|
|
482
482
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import backtest
|
|
483
483
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import batch_calculate_inds
|
|
@@ -567,8 +567,9 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
567
567
|
import numpy as np
|
|
568
568
|
import os as os
|
|
569
569
|
import pandas as pd
|
|
570
|
+
import pyarrow as pa
|
|
570
571
|
import sys as sys
|
|
571
|
-
__all__ = ['ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'AGG_COUNT', 'AGG_MAD', 'AGG_MAX', 'AGG_MEAN', 'AGG_MEDIAN', 'AGG_MIN', 'AGG_PROD', 'AGG_QUANTILE', 'AGG_STD', 'AGG_SUM', 'AGG_VAR', 'ALIGN', 'AMA', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSLASTCOUNT', 'BARSSINCE', 'BARSSINCEN', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'CEILING', 'CN_Bool', 'CN_OPLine', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DISCARD', 'DMA', 'DOWNNDAY', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'DatetimeList_to_df', 'DatetimeList_to_np', 'Datetime_date', 'Datetime_datetime', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'HHV', 'HHVBARS', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'KALMAN', 'KDATA_PART', 'KData', 'KDataDriver', 'KDataToHdf5Importer', 'KRecord', 'KRecordList', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LoanRecord', 'MA', 'MACD', 'MAX', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'OFF', 'OrderBrokerBase', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'POS', 'POW', 'PRICELIST', 'Parameter', 'Parameter_items', 'Parameter_iter', 'Parameter_keys', 'Parameter_to_dict', 'Performance', 'Portfolio', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Query', 'RANK', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REFX', 'REPLACE', 'RESULT', 'REVERSE', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_EvaluateOptimal', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STDEV', 'STDP', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TimeDelta', 'TimeDelta_timedelta', 'TimeLineList', 'TimeLineRecord', 'TradeCostBase', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransRecord', 'UPNDAY', 'UTCOffset', 'VAR', 'VARP', 'VIGOR', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WITHDAY', 'WITHHALFYEAR', 'WITHHOUR', 'WITHHOUR2', 'WITHHOUR4', 'WITHKTYPE', 'WITHMIN', 'WITHMIN15', 'WITHMIN30', 'WITHMIN5', 'WITHMIN60', 'WITHMONTH', 'WITHQUARTER', 'WITHWEEK', 'WITHYEAR', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'active_device', 'backtest', 'batch_calculate_inds', 'can_upgrade', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_index', 'constant', 'crtBrokerTM', 'crtSEOptimal', 'crtTM', 'crt_pf_strategy', 'crt_sys_strategy', 'date', 'dates_to_np', 'dates_to_pa', 'datetime', 'df_to_krecords', 'fetch_trial_license', 'find_optimal_system', 'find_optimal_system_multi', 'get_block', 'get_business_name', 'get_data_from_buffer_server', 'get_date_range', 'get_inds_view', 'get_inds_view_pyarrow', 'get_kdata', 'get_last_version', 'get_log_level', 'get_market_view', 'get_market_view_pyarrow', 'get_spot_from_buffer_server', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'hikyuu_init', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'is_valid_license', 'isinf', 'isnan', 'krecords_to_df', 'krecords_to_np', 'krecords_to_pa', 'new_Query_init', 'np', 'old_Query_init', 'open_ostream_to_python', 'open_spend_time', 'os', 'pd', 'positions_to_df', 'positions_to_np', 'positions_to_pa', 'register_extra_ktype', 'release_extra_ktype', 'remove_license', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'scorerecords_to_df', 'scorerecords_to_np', 'set_log_level', 'set_python_in_interactive', 'set_python_in_jupyter', 'spot_agent_is_connected', 'spot_agent_is_running', 'start_data_server', 'start_spot_agent', 'stop_data_server', 'stop_spot_agent', 'sys', 'systemweights_to_df', 'systemweights_to_np', 'timedelta', 'timeline_to_df', 'timeline_to_np', 'timeline_to_pa', 'toPriceList', 'trades_to_df', 'trades_to_np', 'trades_to_pa', 'translist_to_df', 'translist_to_np', 'translist_to_pa', 'view_license', 'weights_to_df', 'weights_to_np', 'weights_to_pa']
|
|
572
|
+
__all__ = ['ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'AGG_COUNT', 'AGG_MAD', 'AGG_MAX', 'AGG_MEAN', 'AGG_MEDIAN', 'AGG_MIN', 'AGG_PROD', 'AGG_QUANTILE', 'AGG_STD', 'AGG_SUM', 'AGG_VAR', 'ALIGN', 'AMA', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSLASTCOUNT', 'BARSSINCE', 'BARSSINCEN', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'CEILING', 'CN_Bool', 'CN_OPLine', 'CONTEXT', 'CONTEXT_K', 'CORR', 'COS', 'COST', 'COUNT', 'CROSS', 'CVAL', 'CYCLE', 'C_AMO', 'C_CLOSE', 'C_HIGH', 'C_KDATA', 'C_LOW', 'C_OPEN', 'C_VOL', 'ConditionBase', 'Constant', 'CostRecord', 'DATE', 'DAY', 'DEBUG', 'DECLINE', 'DEVSQ', 'DIFF', 'DISCARD', 'DMA', 'DOWNNDAY', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'DatetimeList_to_df', 'DatetimeList_to_np', 'Datetime_date', 'Datetime_datetime', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FundsRecord', 'HHV', 'HHVBARS', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'IF', 'INBLOCK', 'INDEXA', 'INDEXADV', 'INDEXC', 'INDEXDEC', 'INDEXH', 'INDEXL', 'INDEXO', 'INDEXV', 'INFO', 'INSUM', 'INTPART', 'IR', 'ISINF', 'ISINFA', 'ISLASTBAR', 'ISNA', 'IndParam', 'Indicator', 'IndicatorImp', 'JUMPDOWN', 'JUMPUP', 'KALMAN', 'KDATA_PART', 'KData', 'KDataDriver', 'KDataToHdf5Importer', 'KRecord', 'KRecordList', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LoanRecord', 'MA', 'MACD', 'MAX', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'OFF', 'OrderBrokerBase', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'POS', 'POW', 'PRICELIST', 'Parameter', 'Parameter_items', 'Parameter_iter', 'Parameter_keys', 'Parameter_to_dict', 'Performance', 'Portfolio', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Query', 'RANK', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REFX', 'REPLACE', 'RESULT', 'REVERSE', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'SAFTYLOSS', 'SE_EvaluateOptimal', 'SE_Fixed', 'SE_MaxFundsOptimal', 'SE_MultiFactor', 'SE_PerformanceOptimal', 'SE_Signal', 'SGN', 'SG_Add', 'SG_AllwaysBuy', 'SG_And', 'SG_Band', 'SG_Bool', 'SG_Buy', 'SG_Cross', 'SG_CrossGold', 'SG_Cycle', 'SG_Div', 'SG_Flex', 'SG_Mul', 'SG_OneSide', 'SG_Or', 'SG_Sell', 'SG_Single', 'SG_Single2', 'SG_Sub', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STDEV', 'STDP', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockManager', 'StockTypeInfo', 'StockWeight', 'StockWeightList', 'StoplossBase', 'Strategy', 'StrategyContext', 'System', 'SystemPart', 'SystemWeight', 'SystemWeightList', 'TAN', 'TA_ACCBANDS', 'TA_ACOS', 'TA_AD', 'TA_ADD', 'TA_ADOSC', 'TA_ADX', 'TA_ADXR', 'TA_APO', 'TA_AROON', 'TA_AROONOSC', 'TA_ASIN', 'TA_ATAN', 'TA_ATR', 'TA_AVGDEV', 'TA_AVGPRICE', 'TA_BBANDS', 'TA_BETA', 'TA_BOP', 'TA_CCI', 'TA_CDL2CROWS', 'TA_CDL3BLACKCROWS', 'TA_CDL3INSIDE', 'TA_CDL3LINESTRIKE', 'TA_CDL3OUTSIDE', 'TA_CDL3STARSINSOUTH', 'TA_CDL3WHITESOLDIERS', 'TA_CDLABANDONEDBABY', 'TA_CDLADVANCEBLOCK', 'TA_CDLBELTHOLD', 'TA_CDLBREAKAWAY', 'TA_CDLCLOSINGMARUBOZU', 'TA_CDLCONCEALBABYSWALL', 'TA_CDLCOUNTERATTACK', 'TA_CDLDARKCLOUDCOVER', 'TA_CDLDOJI', 'TA_CDLDOJISTAR', 'TA_CDLDRAGONFLYDOJI', 'TA_CDLENGULFING', 'TA_CDLEVENINGDOJISTAR', 'TA_CDLEVENINGSTAR', 'TA_CDLGAPSIDESIDEWHITE', 'TA_CDLGRAVESTONEDOJI', 'TA_CDLHAMMER', 'TA_CDLHANGINGMAN', 'TA_CDLHARAMI', 'TA_CDLHARAMICROSS', 'TA_CDLHIGHWAVE', 'TA_CDLHIKKAKE', 'TA_CDLHIKKAKEMOD', 'TA_CDLHOMINGPIGEON', 'TA_CDLIDENTICAL3CROWS', 'TA_CDLINNECK', 'TA_CDLINVERTEDHAMMER', 'TA_CDLKICKING', 'TA_CDLKICKINGBYLENGTH', 'TA_CDLLADDERBOTTOM', 'TA_CDLLONGLEGGEDDOJI', 'TA_CDLLONGLINE', 'TA_CDLMARUBOZU', 'TA_CDLMATCHINGLOW', 'TA_CDLMATHOLD', 'TA_CDLMORNINGDOJISTAR', 'TA_CDLMORNINGSTAR', 'TA_CDLONNECK', 'TA_CDLPIERCING', 'TA_CDLRICKSHAWMAN', 'TA_CDLRISEFALL3METHODS', 'TA_CDLSEPARATINGLINES', 'TA_CDLSHOOTINGSTAR', 'TA_CDLSHORTLINE', 'TA_CDLSPINNINGTOP', 'TA_CDLSTALLEDPATTERN', 'TA_CDLSTICKSANDWICH', 'TA_CDLTAKURI', 'TA_CDLTASUKIGAP', 'TA_CDLTHRUSTING', 'TA_CDLTRISTAR', 'TA_CDLUNIQUE3RIVER', 'TA_CDLUPSIDEGAP2CROWS', 'TA_CDLXSIDEGAP3METHODS', 'TA_CEIL', 'TA_CMO', 'TA_CORREL', 'TA_COS', 'TA_COSH', 'TA_DEMA', 'TA_DIV', 'TA_DX', 'TA_EMA', 'TA_EXP', 'TA_FLOOR', 'TA_HT_DCPERIOD', 'TA_HT_DCPHASE', 'TA_HT_PHASOR', 'TA_HT_SINE', 'TA_HT_TRENDLINE', 'TA_HT_TRENDMODE', 'TA_IMI', 'TA_KAMA', 'TA_LINEARREG', 'TA_LINEARREG_ANGLE', 'TA_LINEARREG_INTERCEPT', 'TA_LINEARREG_SLOPE', 'TA_LN', 'TA_LOG10', 'TA_MA', 'TA_MACD', 'TA_MACDEXT', 'TA_MACDFIX', 'TA_MAMA', 'TA_MAVP', 'TA_MAX', 'TA_MAXINDEX', 'TA_MEDPRICE', 'TA_MFI', 'TA_MIDPOINT', 'TA_MIDPRICE', 'TA_MIN', 'TA_MININDEX', 'TA_MINMAX', 'TA_MINMAXINDEX', 'TA_MINUS_DI', 'TA_MINUS_DM', 'TA_MOM', 'TA_MULT', 'TA_NATR', 'TA_OBV', 'TA_PLUS_DI', 'TA_PLUS_DM', 'TA_PPO', 'TA_ROC', 'TA_ROCP', 'TA_ROCR', 'TA_ROCR100', 'TA_RSI', 'TA_SAR', 'TA_SAREXT', 'TA_SIN', 'TA_SINH', 'TA_SMA', 'TA_SQRT', 'TA_STDDEV', 'TA_STOCH', 'TA_STOCHF', 'TA_STOCHRSI', 'TA_SUB', 'TA_SUM', 'TA_T3', 'TA_TAN', 'TA_TANH', 'TA_TEMA', 'TA_TRANGE', 'TA_TRIMA', 'TA_TRIX', 'TA_TSF', 'TA_TYPPRICE', 'TA_ULTOSC', 'TA_VAR', 'TA_WCLPRICE', 'TA_WILLR', 'TA_WMA', 'TC_FixedA', 'TC_FixedA2015', 'TC_FixedA2017', 'TC_TestStub', 'TC_Zero', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TimeDelta', 'TimeDelta_timedelta', 'TimeLineList', 'TimeLineRecord', 'TradeCostBase', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransRecord', 'UPNDAY', 'UTCOffset', 'VAR', 'VARP', 'VIGOR', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WITHDAY', 'WITHHALFYEAR', 'WITHHOUR', 'WITHHOUR2', 'WITHHOUR4', 'WITHKTYPE', 'WITHMIN', 'WITHMIN15', 'WITHMIN30', 'WITHMIN5', 'WITHMIN60', 'WITHMONTH', 'WITHQUARTER', 'WITHWEEK', 'WITHYEAR', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'active_device', 'backtest', 'batch_calculate_inds', 'can_upgrade', 'close_ostream_to_python', 'close_spend_time', 'combinate_ind', 'combinate_index', 'constant', 'crtBrokerTM', 'crtSEOptimal', 'crtTM', 'crt_pf_strategy', 'crt_sys_strategy', 'date', 'dates_to_np', 'dates_to_pa', 'datetime', 'df_to_krecords', 'fetch_trial_license', 'find_optimal_system', 'find_optimal_system_multi', 'get_block', 'get_business_name', 'get_data_from_buffer_server', 'get_date_range', 'get_inds_view', 'get_inds_view_pyarrow', 'get_kdata', 'get_last_version', 'get_log_level', 'get_market_view', 'get_market_view_pyarrow', 'get_spot_from_buffer_server', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'hikyuu_init', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'is_valid_license', 'isinf', 'isnan', 'krecords_to_df', 'krecords_to_np', 'krecords_to_pa', 'new_Query_init', 'np', 'old_Query_init', 'open_ostream_to_python', 'open_spend_time', 'os', 'pa', 'pd', 'positions_to_df', 'positions_to_np', 'positions_to_pa', 'register_extra_ktype', 'release_extra_ktype', 'remove_license', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'scorerecords_to_df', 'scorerecords_to_np', 'set_log_level', 'set_python_in_interactive', 'set_python_in_jupyter', 'spot_agent_is_connected', 'spot_agent_is_running', 'start_data_server', 'start_spot_agent', 'stop_data_server', 'stop_spot_agent', 'sys', 'systemweights_to_df', 'systemweights_to_np', 'timedelta', 'timeline_to_df', 'timeline_to_np', 'timeline_to_pa', 'toPriceList', 'trades_to_df', 'trades_to_np', 'trades_to_pa', 'translist_to_df', 'translist_to_np', 'translist_to_pa', 'view_license', 'weights_to_df', 'weights_to_np', 'weights_to_pa']
|
|
572
573
|
def DatetimeList_to_df(data: hikyuu.cpp.core39.DatetimeList):
|
|
573
574
|
...
|
|
574
575
|
def DatetimeList_to_np(data: hikyuu.cpp.core39.DatetimeList):
|
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 0x231e218d9a0; 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 231e219e540>
|
|
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 0x231e218df10; 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 231e21ab5e0>
|
|
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 0x231e21ce8e0; 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 231e21c09a0>
|
|
154
154
|
def __init__(self, **kwargs):
|
|
155
155
|
"""
|
|
156
156
|
A simple constructor that allows initialization from kwargs.
|
hikyuu/include/hikyuu/config.h
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
9
9
|
|
|
10
|
-
#include <arrow/api.h>
|
|
11
10
|
#include "hikyuu/Stock.h"
|
|
12
11
|
#include "hikyuu/indicator/Indicator.h"
|
|
13
12
|
|
|
@@ -57,21 +56,4 @@ bool getStockExtraIndexRange(const Stock& stk, const KQuery& query, size_t& out_
|
|
|
57
56
|
|
|
58
57
|
KDataImpPtr getKDataImp(const Stock& stk, const KQuery& query);
|
|
59
58
|
|
|
60
|
-
//-------------------------------
|
|
61
|
-
// Views 扩展
|
|
62
|
-
//-------------------------------
|
|
63
|
-
|
|
64
|
-
std::shared_ptr<arrow::Table> getIndicatorsViewParallel(const StockList& stks,
|
|
65
|
-
const IndicatorList& inds,
|
|
66
|
-
const KQuery& query, const string& market);
|
|
67
|
-
|
|
68
|
-
std::shared_ptr<arrow::Table> getIndicatorsViewParallel(const StockList& stks,
|
|
69
|
-
const IndicatorList& inds,
|
|
70
|
-
const Datetime& date, size_t cal_len,
|
|
71
|
-
const KQuery::KType& ktype,
|
|
72
|
-
const string& market);
|
|
73
|
-
|
|
74
|
-
std::shared_ptr<arrow::Table> getMarketViewParallel(const StockList& stks, const Datetime& date,
|
|
75
|
-
const string& market);
|
|
76
|
-
|
|
77
59
|
} // namespace hku
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2025 hikyuu.org
|
|
3
|
+
*
|
|
4
|
+
* Created on: 2025-08-06
|
|
5
|
+
* Author: fasiondog
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <hikyuu/config.h>
|
|
11
|
+
|
|
12
|
+
#if HKU_ENABLE_ARROW
|
|
13
|
+
#include <arrow/api.h>
|
|
14
|
+
|
|
15
|
+
namespace hku {
|
|
16
|
+
|
|
17
|
+
//-------------------------------
|
|
18
|
+
// Views 扩展
|
|
19
|
+
//-------------------------------
|
|
20
|
+
|
|
21
|
+
std::shared_ptr<arrow::Table> getIndicatorsViewParallel(const StockList& stks,
|
|
22
|
+
const IndicatorList& inds,
|
|
23
|
+
const KQuery& query, const string& market);
|
|
24
|
+
|
|
25
|
+
std::shared_ptr<arrow::Table> getIndicatorsViewParallel(const StockList& stks,
|
|
26
|
+
const IndicatorList& inds,
|
|
27
|
+
const Datetime& date, size_t cal_len,
|
|
28
|
+
const KQuery::KType& ktype,
|
|
29
|
+
const string& market);
|
|
30
|
+
|
|
31
|
+
std::shared_ptr<arrow::Table> getMarketViewParallel(const StockList& stks, const Datetime& date,
|
|
32
|
+
const string& market);
|
|
33
|
+
|
|
34
|
+
} // namespace hku
|
|
35
|
+
|
|
36
|
+
#endif // HKU_ENABLE_ARROW
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
9
9
|
|
|
10
|
-
#include <arrow/api.h>
|
|
11
10
|
#include "hikyuu/utilities/plugin/PluginBase.h"
|
|
12
11
|
|
|
13
12
|
namespace hku {
|
|
@@ -36,19 +35,6 @@ public:
|
|
|
36
35
|
size_t& out_end) = 0;
|
|
37
36
|
|
|
38
37
|
virtual KDataImpPtr getKDataImp(const Stock& stk, const KQuery& query) = 0;
|
|
39
|
-
|
|
40
|
-
virtual std::shared_ptr<arrow::Table> getIndicatorsViewParallel(const StockList& stks,
|
|
41
|
-
const IndicatorList& inds,
|
|
42
|
-
const KQuery& query,
|
|
43
|
-
const string& market) = 0;
|
|
44
|
-
|
|
45
|
-
virtual std::shared_ptr<arrow::Table> getIndicatorsViewParallel(
|
|
46
|
-
const StockList& stks, const IndicatorList& inds, const Datetime& date, size_t cal_len,
|
|
47
|
-
const KQuery::KType& ktype, const string& market) = 0;
|
|
48
|
-
|
|
49
|
-
virtual std::shared_ptr<arrow::Table> getMarketViewParallel(const StockList& stks,
|
|
50
|
-
const Datetime& date,
|
|
51
|
-
const string& market) = 0;
|
|
52
38
|
};
|
|
53
39
|
|
|
54
40
|
} // namespace hku
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2025 hikyuu.org
|
|
3
|
+
*
|
|
4
|
+
* Created on: 2025-05-19
|
|
5
|
+
* Author: fasiondog
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#include <arrow/api.h>
|
|
11
|
+
#include "hikyuu/utilities/plugin/PluginBase.h"
|
|
12
|
+
|
|
13
|
+
namespace hku {
|
|
14
|
+
|
|
15
|
+
class HkuViewsPluginInterface : public PluginBase {
|
|
16
|
+
public:
|
|
17
|
+
HkuViewsPluginInterface() = default;
|
|
18
|
+
virtual ~HkuViewsPluginInterface() = default;
|
|
19
|
+
|
|
20
|
+
virtual std::shared_ptr<arrow::Table> getIndicatorsViewParallel(const StockList& stks,
|
|
21
|
+
const IndicatorList& inds,
|
|
22
|
+
const KQuery& query,
|
|
23
|
+
const string& market) = 0;
|
|
24
|
+
|
|
25
|
+
virtual std::shared_ptr<arrow::Table> getIndicatorsViewParallel(
|
|
26
|
+
const StockList& stks, const IndicatorList& inds, const Datetime& date, size_t cal_len,
|
|
27
|
+
const KQuery::KType& ktype, const string& market) = 0;
|
|
28
|
+
|
|
29
|
+
virtual std::shared_ptr<arrow::Table> getMarketViewParallel(const StockList& stks,
|
|
30
|
+
const Datetime& date,
|
|
31
|
+
const string& market) = 0;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
} // namespace hku
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
9
9
|
|
|
10
|
+
#include "hikyuu/config.h"
|
|
11
|
+
|
|
10
12
|
#include "BackTestPluginInterface.h"
|
|
11
13
|
#include "DevicePluginInterface.h"
|
|
12
14
|
#include "DataServerPluginInterface.h"
|
|
@@ -16,6 +18,10 @@
|
|
|
16
18
|
#include "DataDriverPluginInterface.h"
|
|
17
19
|
#include "HkuExtraPluginInterface.h"
|
|
18
20
|
|
|
21
|
+
#if HKU_ENABLE_ARROW
|
|
22
|
+
#include "HkuViewsPluginInterface.h"
|
|
23
|
+
#endif
|
|
24
|
+
|
|
19
25
|
namespace hku {
|
|
20
26
|
|
|
21
27
|
#define HKU_PLUGIN_BACKTEST "backtest"
|
|
@@ -26,5 +32,6 @@ namespace hku {
|
|
|
26
32
|
#define HKU_PLUGIN_TMREPORT "tmreport"
|
|
27
33
|
#define HKU_PLUGIN_CLICKHOUSE_DRIVER "clickhousedriver"
|
|
28
34
|
#define HKU_PLUGIN_HKU_EXTRA "hkuextra"
|
|
35
|
+
#define HKU_PLUGIN_HKU_VIEWS "hkuviews"
|
|
29
36
|
|
|
30
|
-
}
|
|
37
|
+
} // namespace hku
|
|
@@ -9,12 +9,15 @@
|
|
|
9
9
|
#ifndef HIKYUU_PYTHON_BIND_UTILS_H
|
|
10
10
|
#define HIKYUU_PYTHON_BIND_UTILS_H
|
|
11
11
|
|
|
12
|
+
#include <hikyuu/config.h>
|
|
13
|
+
#if HKU_ENABLE_ARROW
|
|
14
|
+
#include <arrow/api.h>
|
|
15
|
+
#endif
|
|
12
16
|
#include <pybind11/pybind11.h>
|
|
13
17
|
|
|
14
18
|
#include <pybind11/operators.h>
|
|
15
19
|
#include <pybind11/stl.h>
|
|
16
20
|
#include <pybind11/numpy.h>
|
|
17
|
-
#include <arrow/api.h>
|
|
18
21
|
#include <vector>
|
|
19
22
|
#include <string>
|
|
20
23
|
#include "convert_any.h"
|
|
@@ -124,12 +127,14 @@ inline bool check_pyfunction_arg_num(const py::object& func, size_t arg_num) {
|
|
|
124
127
|
*/
|
|
125
128
|
size_t utf8_to_utf32(const std::string& utf8_str, int32_t* out, size_t out_len) noexcept;
|
|
126
129
|
|
|
130
|
+
#if HKU_ENABLE_ARROW
|
|
127
131
|
/*
|
|
128
132
|
* 将arrow::Table转换为 pyarrow::Table
|
|
129
133
|
* @param table 待转换的arrow::Table
|
|
130
134
|
* @return 转换后的py::object
|
|
131
135
|
*/
|
|
132
136
|
py::object to_pyarrow_table(const std::shared_ptr<arrow::Table>& table);
|
|
137
|
+
#endif
|
|
133
138
|
|
|
134
139
|
} // namespace hku
|
|
135
140
|
|
|
@@ -120,6 +120,11 @@ ValueT roundEx(ValueT number, int ndigits = 0) {
|
|
|
120
120
|
return static_cast<ValueT>(std::ceil(number * factor - 0.5 - epsilon) / factor);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
+
extern template double HKU_UTILS_API roundEx(double number, int ndigits);
|
|
124
|
+
|
|
125
|
+
template <>
|
|
126
|
+
float HKU_UTILS_API roundEx(float number, int ndigits);
|
|
127
|
+
|
|
123
128
|
/**
|
|
124
129
|
* 向上截取,如10.1截取后为11
|
|
125
130
|
* @param number 待处理数据
|
|
@@ -194,6 +199,11 @@ ValueT roundDown(ValueT number, int ndigits = 0) {
|
|
|
194
199
|
return number;
|
|
195
200
|
}
|
|
196
201
|
|
|
202
|
+
extern template double HKU_UTILS_API roundUp(double number, int ndigits);
|
|
203
|
+
extern template float HKU_UTILS_API roundUp(float number, int ndigits);
|
|
204
|
+
extern template double HKU_UTILS_API roundDown(double number, int ndigits);
|
|
205
|
+
extern template float HKU_UTILS_API roundDown(float number, int ndigits);
|
|
206
|
+
|
|
197
207
|
#if defined(_MSC_VER)
|
|
198
208
|
#pragma warning(pop)
|
|
199
209
|
#endif
|
hikyuu/include/hikyuu/version.h
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
#define HKU_VERSION_MAJOR 2
|
|
17
17
|
#define HKU_VERSION_MINOR 6
|
|
18
18
|
#define HKU_VERSION_ALTER 8
|
|
19
|
-
#define HKU_VERSION_BUILD
|
|
19
|
+
#define HKU_VERSION_BUILD 202509152355
|
|
20
20
|
#define HKU_VERSION_MODE "RELEASE"
|
|
21
|
-
#define HKU_VERSION_GIT "2.6.8 master.
|
|
21
|
+
#define HKU_VERSION_GIT "2.6.8 master.f8b7e83d (RELEASE)"
|
|
22
22
|
// clang-format on
|
|
23
23
|
|
|
24
24
|
#endif /* HKU_VERSION_H */
|
hikyuu/plugin/backtest.dll
CHANGED
|
Binary file
|
|
Binary file
|
hikyuu/plugin/dataserver.dll
CHANGED
|
Binary file
|
hikyuu/plugin/device.dll
CHANGED
|
Binary file
|
hikyuu/plugin/extind.dll
CHANGED
|
Binary file
|
hikyuu/plugin/hkuextra.dll
CHANGED
|
Binary file
|
|
Binary file
|
hikyuu/plugin/import2hdf5.dll
CHANGED
|
Binary file
|
hikyuu/plugin/tmreport.dll
CHANGED
|
Binary file
|
hikyuu/trade_manage/__init__.pyi
CHANGED
|
@@ -170,10 +170,10 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
170
170
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KALMAN
|
|
171
171
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KDATA_PART
|
|
172
172
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LAST
|
|
173
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
174
173
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE as CONST
|
|
175
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import
|
|
174
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
176
175
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN as CAPITAL
|
|
176
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN
|
|
177
177
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLV
|
|
178
178
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLVBARS
|
|
179
179
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LN
|
|
@@ -213,8 +213,8 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
213
213
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PG_NoGoal
|
|
214
214
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POS
|
|
215
215
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POW
|
|
216
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
217
216
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST as VALUE
|
|
217
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
218
218
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RANK
|
|
219
219
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_BACKWARD
|
|
220
220
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_EQUAL_BACKWARD
|
hikyuu/trade_manage/trade.pyi
CHANGED
|
@@ -170,10 +170,10 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
170
170
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KALMAN
|
|
171
171
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import KDATA_PART
|
|
172
172
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LAST
|
|
173
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
174
173
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE as CONST
|
|
175
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import
|
|
174
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LASTVALUE
|
|
176
175
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN as CAPITAL
|
|
176
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LIUTONGPAN
|
|
177
177
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLV
|
|
178
178
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LLVBARS
|
|
179
179
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import LN
|
|
@@ -213,8 +213,8 @@ from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 impor
|
|
|
213
213
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PG_NoGoal
|
|
214
214
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POS
|
|
215
215
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import POW
|
|
216
|
-
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
217
216
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST as VALUE
|
|
217
|
+
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import PRICELIST
|
|
218
218
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RANK
|
|
219
219
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_BACKWARD
|
|
220
220
|
from hikyuu.cpp.core39.pybind11_detail_function_record_v1_msvc_md_mscver19 import RECOVER_EQUAL_BACKWARD
|
hikyuu/util/__init__.pyi
CHANGED
|
@@ -20,8 +20,8 @@ from hikyuu.util.mylog import get_default_logger
|
|
|
20
20
|
from hikyuu.util.mylog import hku_benchmark
|
|
21
21
|
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
22
22
|
from hikyuu.util.mylog import hku_debug
|
|
23
|
-
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
24
23
|
from hikyuu.util.mylog import hku_debug_if
|
|
24
|
+
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
25
25
|
from hikyuu.util.mylog import hku_error
|
|
26
26
|
from hikyuu.util.mylog import hku_error_if
|
|
27
27
|
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 0x00000231E1E6BBD0>
|
|
16
16
|
@classmethod
|
|
17
17
|
def __call__(cls, *args, **kwargs):
|
|
18
18
|
...
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
hikyuu/LICENSE.txt,sha256=Pw3M20qvGBnI4pcLKZc6A6rbxL2qT6vqAs2OWXRhlbE,1085
|
|
2
|
-
hikyuu/__init__.py,sha256=
|
|
3
|
-
hikyuu/__init__.pyi,sha256=
|
|
2
|
+
hikyuu/__init__.py,sha256=FHDATGdil7EcKRuz2BFccM3Zz33OKgUsERlTI6B6SV4,18729
|
|
3
|
+
hikyuu/__init__.pyi,sha256=2j0ZyCgeP_fXVP7IVRXXruC1Di_Nqo3bILtbXhqWAH0,77554
|
|
4
4
|
hikyuu/core.py,sha256=emuXJhJkl8UELdZD_xqXlV_sfiuWR5d5lO-SO2oem3g,660
|
|
5
5
|
hikyuu/core.pyi,sha256=WEiSXOuEb6Dszwz6zMwlewLnmzxTdx8PoMo3oZ0SHbw,57752
|
|
6
|
-
hikyuu/extend.py,sha256=
|
|
7
|
-
hikyuu/extend.pyi,sha256=
|
|
6
|
+
hikyuu/extend.py,sha256=a3-VvbfcMr-rry03ZjQ7S52VXMTek0KrPRW3-tDKCmg,9741
|
|
7
|
+
hikyuu/extend.pyi,sha256=0aaxKxFU-k74XqjGwP91L-qgGkEZzqHUeKoTBVexF60,61448
|
|
8
8
|
hikyuu/hub.py,sha256=56TuLxF-3sOOMn9UKjEQWvTIlVicLj1dIHmaIKEERzM,28641
|
|
9
|
-
hikyuu/hub.pyi,sha256=
|
|
9
|
+
hikyuu/hub.pyi,sha256=uMO9mFyI9TihGMduJQhFQm2YcRVLQnP9S27tyH546IY,10751
|
|
10
10
|
hikyuu/interactive.py,sha256=Wwl3_FaczN_33wtSpRFipqUEuTdkQAqIjQxHE4skL-0,2343
|
|
11
11
|
hikyuu/analysis/__init__.py,sha256=b1jcxxmFC0j_vxiDwmCIC4KrfDdAXAfz8CVKgGMm-Cw,266
|
|
12
12
|
hikyuu/analysis/__init__.pyi,sha256=5OFtA6WQO0wg7OFOHbtS3gAfJIWLSaUc61B34PuD5Jg,50045
|
|
@@ -25,18 +25,18 @@ hikyuu/cpp/boost_date_time-mt.dll,sha256=mX6qfoEQq7IJr5ZrNw5WXEaRl7ANeqAohCCdIE7
|
|
|
25
25
|
hikyuu/cpp/boost_serialization-mt.dll,sha256=KRlomNQG5SicU2zrD52czsYohYCbjv5wxDX8DtWGa8Q,218112
|
|
26
26
|
hikyuu/cpp/boost_wserialization-mt.dll,sha256=zjgu0y3TCLb7e6cy_vFn8C6zUr6voYCHSZI6Qs509m8,156672
|
|
27
27
|
hikyuu/cpp/concrt140.dll,sha256=T1AJkqU8QaC6RKEcM8SB2HY1BadFO-EthRB4VquPszI,322560
|
|
28
|
-
hikyuu/cpp/core310.pyd,sha256=
|
|
29
|
-
hikyuu/cpp/core310.pyi,sha256=
|
|
30
|
-
hikyuu/cpp/core311.pyd,sha256=
|
|
31
|
-
hikyuu/cpp/core311.pyi,sha256=
|
|
32
|
-
hikyuu/cpp/core312.pyd,sha256=
|
|
33
|
-
hikyuu/cpp/core312.pyi,sha256=
|
|
34
|
-
hikyuu/cpp/core313.pyd,sha256=
|
|
35
|
-
hikyuu/cpp/core313.pyi,sha256=
|
|
36
|
-
hikyuu/cpp/core39.pyd,sha256=
|
|
37
|
-
hikyuu/cpp/core39.pyi,sha256=
|
|
38
|
-
hikyuu/cpp/hikyuu.dll,sha256=
|
|
39
|
-
hikyuu/cpp/hikyuu.lib,sha256=
|
|
28
|
+
hikyuu/cpp/core310.pyd,sha256=nqpiF9QpIEDdqeZKx_8pL5PaOH6usnPJsnj_4pK2QEk,9532928
|
|
29
|
+
hikyuu/cpp/core310.pyi,sha256=MwoRTqdnW4JFcK2Wpcvbf-yu7KPs7ssiMTV22Ho1ph8,482964
|
|
30
|
+
hikyuu/cpp/core311.pyd,sha256=71qGVk_-xRORYY7Q3cQIsV3bCR26sVHPiDgN-2ptdUc,9536512
|
|
31
|
+
hikyuu/cpp/core311.pyi,sha256=n9eYmb1-vSDCPDr0Cf9yDYKF9tuEUt3Ic6o2pYylgYU,482964
|
|
32
|
+
hikyuu/cpp/core312.pyd,sha256=SsuoMyvsCOf6Pv9DVnecGODZm_cERj4xrTpAmYeI2z8,9691136
|
|
33
|
+
hikyuu/cpp/core312.pyi,sha256=Ft61BF9El8I-FOGX_Yaafx9t5QqNldNW7-wCWUvH1vI,482964
|
|
34
|
+
hikyuu/cpp/core313.pyd,sha256=iSd2bPbKPia8YDGGPURbmw3U1dGJ2vDU7mvEmuvGt8E,9690624
|
|
35
|
+
hikyuu/cpp/core313.pyi,sha256=14x7TRgu97mt9ECZeRv0S8EpUObWUGCu0ML1GaKVAk4,482161
|
|
36
|
+
hikyuu/cpp/core39.pyd,sha256=l3S0RvD-cWbwNdzSHD2SyTKvPZLvXCLYm2y_C9gCPjA,10285568
|
|
37
|
+
hikyuu/cpp/core39.pyi,sha256=BBNCm6TEJBK661RuuIKkP8JHGx3tx_gMdUuixzmPNgI,482957
|
|
38
|
+
hikyuu/cpp/hikyuu.dll,sha256=NJy_1xEalx-HVo8ohKhF8x6uvXRvjjUSEom9oJNGb7s,19804160
|
|
39
|
+
hikyuu/cpp/hikyuu.lib,sha256=Ix0qg9vzNdzt2ACuVb78TCmMuPZcInMbmm0IxcTHQ8s,13877696
|
|
40
40
|
hikyuu/cpp/hku_hdf5.dll,sha256=Diks-nS42Ix13UuDSRfafphpc1y7cNdRl1p8Ey_kGsQ,3515392
|
|
41
41
|
hikyuu/cpp/hku_hdf5_cpp.dll,sha256=76Acxay7XVoNBms2FSeg8oT6ApvkO13vE6LimEIYIjs,304128
|
|
42
42
|
hikyuu/cpp/hku_hdf5_hl.dll,sha256=pyNJlBqudNvD34KCrOddLZtUrcYtAyQPf-qWjjb-qnI,120320
|
|
@@ -49,7 +49,7 @@ hikyuu/cpp/msvcp140_1.dll,sha256=kc0FwWxhw5eIxHQ0YCpZwX9bCNuz7uBM6F-NW3Do5gQ,358
|
|
|
49
49
|
hikyuu/cpp/msvcp140_2.dll,sha256=cT8XslPYAtKD0wbOdWR-N9g6VGrrGogeXZ5SnoVsAH4,268880
|
|
50
50
|
hikyuu/cpp/msvcp140_atomic_wait.dll,sha256=rt5OxFSoLxRutKch5hbiCGhwEH2IqrxrC9HuoKUF2TU,50664
|
|
51
51
|
hikyuu/cpp/msvcp140_codecvt_ids.dll,sha256=1S00n7vmq8YZZcB-BMyC2O4M6h3n-vkKg4lk4_QKzt0,31744
|
|
52
|
-
hikyuu/cpp/sqlite3.dll,sha256=
|
|
52
|
+
hikyuu/cpp/sqlite3.dll,sha256=LGOH_44fjIYAEE4HmcqZbN5RiPcyLPIBDCljkkxcnQo,1102336
|
|
53
53
|
hikyuu/cpp/vcruntime140.dll,sha256=AsaqDm5iRBGp8ZsDYKeGWrFZCOJgJFEOXDipwINiw1o,119888
|
|
54
54
|
hikyuu/cpp/vcruntime140_1.dll,sha256=fdmqAuJxxoym1fGNZR0joV1yWXFa9DMmV4993ifzdjc,49640
|
|
55
55
|
hikyuu/cpp/i18n/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -161,15 +161,15 @@ hikyuu/draw/kaufman.pyi,sha256=YkTUQfYCZCuWi0isQtS67X7xKI82Jxr13b0cIA_lPJI,2522
|
|
|
161
161
|
hikyuu/draw/volume.py,sha256=gt8BbnI7ct_JMi1nIvx5CLVbKuk5wI4Onzq7S7sIcng,4788
|
|
162
162
|
hikyuu/draw/volume.pyi,sha256=nJiekib8Lzq722822UV8rThV5IH-L08FNnJHfZ7OKtk,1747
|
|
163
163
|
hikyuu/draw/drawplot/__init__.py,sha256=uvS2697BlDqs3aEPjMkCxmBl68_Vmhf8ZohUCDhwHko,10362
|
|
164
|
-
hikyuu/draw/drawplot/__init__.pyi,sha256=
|
|
164
|
+
hikyuu/draw/drawplot/__init__.pyi,sha256=sgQ9BUiJuIQadTDbdVgiNtrA6g7jak8BZEBbakJ61fo,6731
|
|
165
165
|
hikyuu/draw/drawplot/bokeh_draw.py,sha256=87LkP1W4KDgFZzuFOcwYY0j_7aZtxwqMKNldkMPy2kQ,20249
|
|
166
|
-
hikyuu/draw/drawplot/bokeh_draw.pyi,sha256=
|
|
166
|
+
hikyuu/draw/drawplot/bokeh_draw.pyi,sha256=7z687PVWCnJYA4ikU4LsH2cS2TVQFExlnmVgEQ4gx-Q,77016
|
|
167
167
|
hikyuu/draw/drawplot/common.py,sha256=Cq4jMg3-LrvXHVIFhac6iX5lWpmYMLOyJCGbn2BiLXE,3186
|
|
168
168
|
hikyuu/draw/drawplot/common.pyi,sha256=W3yY8Te3bacMd2CX7w73YnJ4mcmpItpjksFQdDnlBjQ,362
|
|
169
169
|
hikyuu/draw/drawplot/echarts_draw.py,sha256=h9tplR4KS32tcC9D8JdG7_x7bhDsPacTMbbChK6fwKY,21054
|
|
170
|
-
hikyuu/draw/drawplot/echarts_draw.pyi,sha256=
|
|
170
|
+
hikyuu/draw/drawplot/echarts_draw.pyi,sha256=a-v-aVLas7a55l8GTfZOSFE-noGCFMhURaBK6sXswH0,71987
|
|
171
171
|
hikyuu/draw/drawplot/matplotlib_draw.py,sha256=XLNUbWUUyLInWUDdxzXb07Q9WFlcjRPn0xzKJJZJ-3w,60869
|
|
172
|
-
hikyuu/draw/drawplot/matplotlib_draw.pyi,sha256=
|
|
172
|
+
hikyuu/draw/drawplot/matplotlib_draw.pyi,sha256=QI4IbhXFyNA2B9Nw-r6-s9M2qycNcEtMTxyfKN84vCE,95669
|
|
173
173
|
hikyuu/draw/drawplot/icon/1.png,sha256=I21nZoJ2secsZZYSeWcSzzgtKsuKIJtBeFKQ7xp_trU,786
|
|
174
174
|
hikyuu/draw/drawplot/icon/10.png,sha256=o8cfsnmu0dltqyh3F-U-6IxJz9HvSFing1b11UaLlSQ,570
|
|
175
175
|
hikyuu/draw/drawplot/icon/11.png,sha256=6ayNsr6Ym30jpv5Y1NGOtf8Ne9__WiA8VL4IwGsB73Y,852
|
|
@@ -310,12 +310,12 @@ hikyuu/include/hikyuu/TimeLineRecord.h,sha256=zcKqiz5wW19v4HeQeBMDJJvr6j_wHGeHZg
|
|
|
310
310
|
hikyuu/include/hikyuu/TransRecord.h,sha256=xT2vbMAyndsrIrxiyPTaIxDZzN5BnVdJGkb4wJd9_uU,1592
|
|
311
311
|
hikyuu/include/hikyuu/ZhBond10.h,sha256=q7-J4pwrQt0xnqidoSdypKb5rkJ7eDk1XAY8X7zyCnA,657
|
|
312
312
|
hikyuu/include/hikyuu/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
313
|
-
hikyuu/include/hikyuu/config.h,sha256=
|
|
313
|
+
hikyuu/include/hikyuu/config.h,sha256=mN9SA9el3-LEZK6zfJAdWGkyg0GckHK_fc_jXaEeHCE,1254
|
|
314
314
|
hikyuu/include/hikyuu/debug.h,sha256=r54YJUkujUt5D9Xj11fpIw9c93kZsqU3ykljXBsqxo0,843
|
|
315
315
|
hikyuu/include/hikyuu/doc.h,sha256=20HVEEYZPyudKL9fGaLf_JfoOid-UPWjmU024JOEJs4,7075
|
|
316
316
|
hikyuu/include/hikyuu/hikyuu.h,sha256=D4n8yy8BLhRyceGCzAIbrTCoyvEOGa0NtygcQW6accI,1583
|
|
317
317
|
hikyuu/include/hikyuu/lang.h,sha256=_-zcFGu7Sh6vWEuUqUSbK9Kp3_wjkpXjNcIE3vVDFkE,1002
|
|
318
|
-
hikyuu/include/hikyuu/version.h,sha256=
|
|
318
|
+
hikyuu/include/hikyuu/version.h,sha256=batZHlzRqCb3ypVzB8KejOXWhlfVLgxyN8uGDlKiRko,507
|
|
319
319
|
hikyuu/include/hikyuu/analysis/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
320
320
|
hikyuu/include/hikyuu/analysis/analysis_sys.h,sha256=WJpfpLeKqpUjGFwmiRf_NCX8NvAHqBRuPDxMi4n-iVs,3239
|
|
321
321
|
hikyuu/include/hikyuu/analysis/combinate.h,sha256=--OhYTVLQ8bUNgl47V0uNO0IjSULxu7bXhYWbjNY4Ig,4196
|
|
@@ -629,21 +629,23 @@ hikyuu/include/hikyuu/plugin/backtest.h,sha256=emJULuQI3MGWyqq9JfCwNUBnDhjOGDzMB
|
|
|
629
629
|
hikyuu/include/hikyuu/plugin/dataserver.h,sha256=QkEIa9Y7jzptIy55yeYi49Oy5omIDvABT5J4SHMISLM,1467
|
|
630
630
|
hikyuu/include/hikyuu/plugin/device.h,sha256=eleYCrBuOtwyRPLHVISIxnF1K2Y6h7MBOqj1oK1M7YM,703
|
|
631
631
|
hikyuu/include/hikyuu/plugin/extind.h,sha256=q8-iT1CYOLdmyMDtihN2z38SJhl-GOISmz9UbeCJr4o,6912
|
|
632
|
-
hikyuu/include/hikyuu/plugin/hkuextra.h,sha256=
|
|
632
|
+
hikyuu/include/hikyuu/plugin/hkuextra.h,sha256=YThAm6taWf9nF6rRiCa2FzGUvcltI7M3xQ_Fw1spRQs,1830
|
|
633
|
+
hikyuu/include/hikyuu/plugin/hkuviews.h,sha256=8H8z7JgpJ7QvGrQQnCd-68YUKIBiKeb3_wS2z9TFgQA,1228
|
|
633
634
|
hikyuu/include/hikyuu/plugin/interface/BackTestPluginInterface.h,sha256=HS3Bo27O8LM0QYTyqgnWL15ayMZSQNyLpfJ1_mjB1EM,815
|
|
634
635
|
hikyuu/include/hikyuu/plugin/interface/DataDriverPluginInterface.h,sha256=jkfnIgo2MJ-pcpsXy_I2KPuCmSwLecu-eM6A7S9Vo2s,687
|
|
635
636
|
hikyuu/include/hikyuu/plugin/interface/DataServerPluginInterface.h,sha256=La7d8hpd97fit743ETdV18wdJOsK5RetZ788f-AS-CY,555
|
|
636
637
|
hikyuu/include/hikyuu/plugin/interface/DevicePluginInterface.h,sha256=bjcKU95SR3F9R3YTiSYb_Jdd1AP5xRtZ8bhDr4A6GV0,690
|
|
637
638
|
hikyuu/include/hikyuu/plugin/interface/ExtendIndicatorsPluginInterface.h,sha256=JjpwpcX20RHVU7H3n-QajiEzZOsbdU0iCt-Yo_Zi1HI,698
|
|
638
|
-
hikyuu/include/hikyuu/plugin/interface/HkuExtraPluginInterface.h,sha256=
|
|
639
|
+
hikyuu/include/hikyuu/plugin/interface/HkuExtraPluginInterface.h,sha256=sD1AOmp-REPl1NprzXZEfhFivogQ3pudKNjztIx6lxo,1225
|
|
640
|
+
hikyuu/include/hikyuu/plugin/interface/HkuViewsPluginInterface.h,sha256=9OZya7TpaH3HGGL-V6HCiQy8G8efj_wO9wfZWgfN9R0,1271
|
|
639
641
|
hikyuu/include/hikyuu/plugin/interface/ImportKDataToHdf5PluginInterface.h,sha256=S3iQ0Fse2PcJZPtEkYP1S_r9uWtdcJX3s6KCCC_b_Gg,1575
|
|
640
642
|
hikyuu/include/hikyuu/plugin/interface/TMReportPluginInterface.h,sha256=LJMcKWmfQDL0cMhGD-dYFg2wb5KqoRPNhtjQQF0hRzo,3203
|
|
641
643
|
hikyuu/include/hikyuu/plugin/interface/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
642
|
-
hikyuu/include/hikyuu/plugin/interface/plugins.h,sha256=
|
|
644
|
+
hikyuu/include/hikyuu/plugin/interface/plugins.h,sha256=QJSNOfvsFJO86qcZnH36PwrWn6uYxOVOUI-EpyIqOQ0,983
|
|
643
645
|
hikyuu/include/hikyuu/python/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
644
646
|
hikyuu/include/hikyuu/python/convert_any.h,sha256=wHiokw1XnX82eyGQ_IRjtvBw6zEd0ANUby-FQ67pqX8,10693
|
|
645
647
|
hikyuu/include/hikyuu/python/pickle_support.h,sha256=VOZ371r8VQixi95BJ5I9uqZnzVvK-wNqtQ4F0SDl27g,4987
|
|
646
|
-
hikyuu/include/hikyuu/python/pybind_utils.h,sha256=
|
|
648
|
+
hikyuu/include/hikyuu/python/pybind_utils.h,sha256=Qzf_kC7TTrPQ0WzubX8daXWLAiksGBEc0CUR9jmVKmg,4995
|
|
647
649
|
hikyuu/include/hikyuu/serialization/Block_serialization.h,sha256=bb6ZjV2XBEpBiks_r1vVs2HFJG3RpAYdMIxKR54XSGc,1635
|
|
648
650
|
hikyuu/include/hikyuu/serialization/Datetime_serialization.h,sha256=3H3njGHTsce2KGcO762T7dPyhc-_0J-21WTY43exv94,1008
|
|
649
651
|
hikyuu/include/hikyuu/serialization/KData_serialization.h,sha256=2u-qn142CsVF53ufSEcgtMxEh-4wV7-9WHJ1a9lM3AI,1107
|
|
@@ -916,7 +918,7 @@ hikyuu/include/hikyuu/utilities/SpendTimer.h,sha256=ieNvkdpWAyFw2Di337ojRxB5zK3c
|
|
|
916
918
|
hikyuu/include/hikyuu/utilities/TimerManager.h,sha256=LVVPt_NoWEkBoZz-1tZxUQI-gYO05YugwdpE6D1o30I,21024
|
|
917
919
|
hikyuu/include/hikyuu/utilities/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
918
920
|
hikyuu/include/hikyuu/utilities/any_to_string.h,sha256=LOG0E396oEcz9KPwWqflHncdmMq-va2DlW9Hi-6A6fo,3618
|
|
919
|
-
hikyuu/include/hikyuu/utilities/arithmetic.h,sha256=
|
|
921
|
+
hikyuu/include/hikyuu/utilities/arithmetic.h,sha256=o2gWuCyzV_2QmEUZQlhF8sCqkok8NiuuW2elqlf1VDE,11434
|
|
920
922
|
hikyuu/include/hikyuu/utilities/base64.h,sha256=CpWXKM_iHgWWgwbCZ9kDVd5bnk5BMpi66WyvetywTYo,1780
|
|
921
923
|
hikyuu/include/hikyuu/utilities/config.h,sha256=plZ-WjH7OcrkD62nKS4Ni9O_xXGboAbNZIyej037kag,742
|
|
922
924
|
hikyuu/include/hikyuu/utilities/cppdef.h,sha256=JrrQBAwCwVJ7O5pI1UNh5fv_OuXQX0jvFjmace47BS0,514
|
|
@@ -985,14 +987,15 @@ hikyuu/indicator/__init__.py,sha256=A_oVEd2SgB7YaGRsPvYojACWKJOFnw2pkyjUxsNf2dw,
|
|
|
985
987
|
hikyuu/indicator/indicator.py,sha256=YJBrb9130p1Pz9yDuGEsCIRzLQgbb_gA2XiHP7k_Xwg,4385
|
|
986
988
|
hikyuu/indicator/pyind.py,sha256=dRWOUkidDOpozCdsTtj_84nuV4fdUKWcddGTC0mEbFk,1735
|
|
987
989
|
hikyuu/plugin/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
988
|
-
hikyuu/plugin/backtest.dll,sha256=
|
|
989
|
-
hikyuu/plugin/clickhousedriver.dll,sha256=
|
|
990
|
-
hikyuu/plugin/dataserver.dll,sha256=
|
|
991
|
-
hikyuu/plugin/device.dll,sha256=
|
|
992
|
-
hikyuu/plugin/extind.dll,sha256=
|
|
993
|
-
hikyuu/plugin/hkuextra.dll,sha256=
|
|
994
|
-
hikyuu/plugin/
|
|
995
|
-
hikyuu/plugin/
|
|
990
|
+
hikyuu/plugin/backtest.dll,sha256=q1FH2nM1AryqUtC5lEYNZYrjKNNo3b4HKFZET8r3J7c,4415488
|
|
991
|
+
hikyuu/plugin/clickhousedriver.dll,sha256=xOjhdfEKnlrvKs9Ak70X5LEw6Xthg4lfEvZ3qWhLmo4,5410816
|
|
992
|
+
hikyuu/plugin/dataserver.dll,sha256=w2aqc5gC3-l-1Vk3Fl84ZMFhcfaw-CIg42TW79oXcug,5622784
|
|
993
|
+
hikyuu/plugin/device.dll,sha256=9scEjHTfn4fBZHrccDGJnFbePFxkfyIcMz4-HQ0r5E0,4463104
|
|
994
|
+
hikyuu/plugin/extind.dll,sha256=8i5p9RXGgb2YEENsTyTcrtfkFkcLGhObYl3_6IHCQuk,4882432
|
|
995
|
+
hikyuu/plugin/hkuextra.dll,sha256=Qiv-w6MbFwLCn1bUZfsCD-41BLBxcAXCnyK8s_itBuw,4434944
|
|
996
|
+
hikyuu/plugin/hkuviews.dll,sha256=flYj7NtYfNLBIQBT5APktKITzokq_fmbfeA9N9LZ_bg,9847808
|
|
997
|
+
hikyuu/plugin/import2hdf5.dll,sha256=qaqvXbrgUbu6oNjnUmS1G0s3f9ISdgBOtWUQw5EqhOQ,4470784
|
|
998
|
+
hikyuu/plugin/tmreport.dll,sha256=9Y6RBlabPI0eu1fuAgOfs6vOxxGSTA4Lg_j8V5cMhEE,4416000
|
|
996
999
|
hikyuu/shell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
997
1000
|
hikyuu/shell/cmdserver.py,sha256=EktCYCQ5BwrrIJmiic6lmM-ZFvoFQh_y6L6uqT-2zt8,3328
|
|
998
1001
|
hikyuu/shell/hkucmd.py,sha256=YrVM7LERwIu52_n7EOHi9Qkpc-_h3f9zhUlKRCpDh_8,3515
|
|
@@ -1031,7 +1034,7 @@ hikyuu/tools/h5_data_clear.py,sha256=mbro9e9H2GTMjO_-1mDPBEbDPec8iydL6An2aOSQuAg
|
|
|
1031
1034
|
hikyuu/tools/mysql_clear_last_day_data.py,sha256=BYiPMHm-wMXiJdRnwEVrlDii3ohK3wNb7LbsP4n1o_s,1692
|
|
1032
1035
|
hikyuu/tools/update_block_info.py,sha256=WH9dMsdP8vciY3zp2RgJgZBmZoDGnBANbFoTVtjyhzg,5011
|
|
1033
1036
|
hikyuu/trade_manage/__init__.py,sha256=T70USQgynFJnr4oRButUBc3p3wRkzBvm4HCS9H8gRGE,1393
|
|
1034
|
-
hikyuu/trade_manage/__init__.pyi,sha256=
|
|
1037
|
+
hikyuu/trade_manage/__init__.pyi,sha256=FRCX_cz-VK926m0bVPn4ywGk7RVuW4KBZ1I6bL7YSZc,67133
|
|
1035
1038
|
hikyuu/trade_manage/broker.py,sha256=qxksV54hTYH5P9X5h2WchLZpXXo2aDzsRcvugViH-zk,4121
|
|
1036
1039
|
hikyuu/trade_manage/broker.pyi,sha256=t3P_Y6lsWfzAiHu4q9lVsKWRVMHCiokt5dIg_ocLowo,2201
|
|
1037
1040
|
hikyuu/trade_manage/broker_easytrader.py,sha256=7zS3-2ggWJ2tR0Djae0RTXoYvd7IP1YZNImQsbRRFS4,2343
|
|
@@ -1039,11 +1042,11 @@ hikyuu/trade_manage/broker_easytrader.pyi,sha256=7_VNik9_C2KEInZvX2jOcTVKkTx8qnE
|
|
|
1039
1042
|
hikyuu/trade_manage/broker_mail.py,sha256=xgoPr9AqjxEPU58LTsGpEs_JdVcsqWPRB4QYtctyhaM,4054
|
|
1040
1043
|
hikyuu/trade_manage/broker_mail.pyi,sha256=_tvQwAxLEQeB4C8AjbXVbYoM23ddgWXRV-nihecjHnI,2086
|
|
1041
1044
|
hikyuu/trade_manage/trade.py,sha256=iMIkOrx0jcmZ2oUjXNsjyVAOcXFbcfT3xRlIrxmHLoo,2278
|
|
1042
|
-
hikyuu/trade_manage/trade.pyi,sha256=
|
|
1045
|
+
hikyuu/trade_manage/trade.pyi,sha256=94G5Ob0Kumz2yiVWkfBoRhS-p-NyzeM2EtzNjjSofyU,66642
|
|
1043
1046
|
hikyuu/trade_sys/__init__.py,sha256=9_o0dyUUUzvpX3ZZo8mrV2LEjufT348Nx4iefKisXnU,1883
|
|
1044
1047
|
hikyuu/trade_sys/trade_sys.py,sha256=OfssOZn5JaFU6by_GRo84NFN9gtKTsELkIYOiNsoEtw,8836
|
|
1045
1048
|
hikyuu/util/__init__.py,sha256=JFS99i71OVIFoNjIX471aTwjgljxEgpOeq57XkRLJNc,1166
|
|
1046
|
-
hikyuu/util/__init__.pyi,sha256=
|
|
1049
|
+
hikyuu/util/__init__.pyi,sha256=ESGJA7IWrdCKGYWDb3tZQgeyMybuirJhAIHpJuOyOKc,2922
|
|
1047
1050
|
hikyuu/util/check.py,sha256=qOq6-y0w1Lg5HaFZ2gSJiWCqg1rSv62tc51BilR4NHQ,6006
|
|
1048
1051
|
hikyuu/util/check.pyi,sha256=yql91SGusKQnDEUNh5dFxqlBFEmmxWc7oDlkP0z_VZ8,2604
|
|
1049
1052
|
hikyuu/util/mylog.py,sha256=2LowCruIDCLmwyWLH7mvD764EKVvOg9HM16C_S4PYIE,10744
|
|
@@ -1051,12 +1054,12 @@ hikyuu/util/mylog.pyi,sha256=U2aLHhSnsw0R215mSJs3jUNgpBBshiUWchYp7Cpoglk,2717
|
|
|
1051
1054
|
hikyuu/util/notebook.py,sha256=zToRjn0gqrs11SC6CK3IvJUWcerBMID_byxSn255BWk,1159
|
|
1052
1055
|
hikyuu/util/notebook.pyi,sha256=mTCfKaC8ItfDR7GSWbfXajvvTXr5CI40H8yStKRjTdg,564
|
|
1053
1056
|
hikyuu/util/singleton.py,sha256=ADnNpIUK63Q7iqkVv9XVptAPHg3iPlPGv1eYCPXjn34,793
|
|
1054
|
-
hikyuu/util/singleton.pyi,sha256=
|
|
1057
|
+
hikyuu/util/singleton.pyi,sha256=58RzhTjLpoPycziGuUE32S1dD09xu8Ma0e1BmO-x4mQ,549
|
|
1055
1058
|
hikyuu/util/slice.py,sha256=ZPvGFc7MO3USnAS4ADMnjJaPqTRFV0nXY_ssgfysxJ4,1759
|
|
1056
1059
|
hikyuu/util/slice.pyi,sha256=9YS29Ehh3qbGC0F6Ieur25VcuftQL7C4c5nxmybWKHU,243
|
|
1057
1060
|
hikyuu/util/timeout.py,sha256=n1KdeXfXgh6fJKdrxmmL5PU6zIkeuVp1LKMwll8okDo,3031
|
|
1058
|
-
hikyuu-2.6.8.
|
|
1059
|
-
hikyuu-2.6.8.
|
|
1060
|
-
hikyuu-2.6.8.
|
|
1061
|
-
hikyuu-2.6.8.
|
|
1062
|
-
hikyuu-2.6.8.
|
|
1061
|
+
hikyuu-2.6.8.5.dist-info/METADATA,sha256=54EPTWCjtcm0CcvqDDbYLUyYdolwro6hIyy_pVn35sY,13211
|
|
1062
|
+
hikyuu-2.6.8.5.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
|
|
1063
|
+
hikyuu-2.6.8.5.dist-info/entry_points.txt,sha256=lKAXjEs7kBs3KiRG88yAXos2X9L2-zQ_YQh0DsKE3kY,137
|
|
1064
|
+
hikyuu-2.6.8.5.dist-info/top_level.txt,sha256=7zH52PNNaANOUZcGotzJzSfLMIatL9ViyYLYRtofM2s,4339
|
|
1065
|
+
hikyuu-2.6.8.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|