hikyuu 2.6.8__py3-none-win_amd64.whl → 2.6.8.3__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__.pyi +654 -651
- hikyuu/analysis/__init__.pyi +563 -563
- hikyuu/analysis/analysis.pyi +584 -582
- hikyuu/core.pyi +563 -563
- hikyuu/cpp/__init__.pyi +2 -2
- hikyuu/cpp/core310.pyd +0 -0
- hikyuu/cpp/core310.pyi +11 -0
- hikyuu/cpp/core311.pyd +0 -0
- hikyuu/cpp/core311.pyi +11 -0
- hikyuu/cpp/core312.pyd +0 -0
- hikyuu/cpp/core312.pyi +11 -0
- hikyuu/cpp/core313.pyd +0 -0
- hikyuu/cpp/core313.pyi +11 -0
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/core39.pyi +11 -0
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/hikyuu.lib +0 -0
- hikyuu/cpp/sqlite3.dll +0 -0
- hikyuu/draw/drawplot/__init__.pyi +37 -32
- hikyuu/draw/drawplot/bokeh_draw.pyi +659 -648
- hikyuu/draw/drawplot/common.pyi +4 -3
- hikyuu/draw/drawplot/echarts_draw.pyi +594 -595
- hikyuu/draw/drawplot/matplotlib_draw.pyi +901 -869
- hikyuu/draw/elder.pyi +20 -19
- hikyuu/draw/kaufman.pyi +18 -18
- hikyuu/draw/volume.pyi +10 -10
- hikyuu/extend.pyi +597 -593
- hikyuu/hub.pyi +67 -69
- hikyuu/include/hikyuu/KData.h +8 -0
- hikyuu/include/hikyuu/python/pybind_utils.h +8 -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/import2hdf5.dll +0 -0
- hikyuu/plugin/tmreport.dll +0 -0
- hikyuu/trade_manage/__init__.pyi +579 -579
- hikyuu/trade_manage/broker.pyi +18 -19
- hikyuu/trade_manage/broker_easytrader.pyi +4 -6
- hikyuu/trade_manage/broker_mail.pyi +24 -22
- hikyuu/trade_manage/trade.pyi +579 -579
- hikyuu/util/__init__.pyi +2 -2
- hikyuu/util/check.pyi +15 -17
- hikyuu/util/mylog.pyi +7 -8
- hikyuu/util/notebook.pyi +11 -9
- hikyuu/util/singleton.pyi +6 -8
- {hikyuu-2.6.8.dist-info → hikyuu-2.6.8.3.dist-info}/METADATA +14 -4
- {hikyuu-2.6.8.dist-info → hikyuu-2.6.8.3.dist-info}/RECORD +54 -56
- {hikyuu-2.6.8.dist-info → hikyuu-2.6.8.3.dist-info}/WHEEL +1 -1
- hikyuu/setup.py +0 -104
- hikyuu-2.6.8.dist-info/LICENSE +0 -201
- {hikyuu-2.6.8.dist-info → hikyuu-2.6.8.3.dist-info}/entry_points.txt +0 -0
- {hikyuu-2.6.8.dist-info → hikyuu-2.6.8.3.dist-info}/top_level.txt +0 -0
hikyuu/cpp/__init__.pyi
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from . import
|
|
3
|
-
__all__ = ['
|
|
2
|
+
from . import core310
|
|
3
|
+
__all__ = ['core310']
|
hikyuu/cpp/core310.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core310.pyi
CHANGED
|
@@ -2289,6 +2289,17 @@ class KData:
|
|
|
2289
2289
|
:param Datetime end: 新的结束日期
|
|
2290
2290
|
:rtype: KData
|
|
2291
2291
|
"""
|
|
2292
|
+
@typing.overload
|
|
2293
|
+
def get_kdata(self, start: typing.SupportsInt, end: typing.SupportsInt = 9223372036854775807) -> KData:
|
|
2294
|
+
"""
|
|
2295
|
+
get_kdata(self, start, end)
|
|
2296
|
+
|
|
2297
|
+
通过索引获取 KData 子集,相当于切片
|
|
2298
|
+
|
|
2299
|
+
:param int start: 索引起始位置
|
|
2300
|
+
:param int end: 索引结束位置
|
|
2301
|
+
:rtype: KData
|
|
2302
|
+
"""
|
|
2292
2303
|
def get_pos(self, arg0: Datetime) -> typing.Any:
|
|
2293
2304
|
"""
|
|
2294
2305
|
get_pos(self, datetime)
|
hikyuu/cpp/core311.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core311.pyi
CHANGED
|
@@ -2289,6 +2289,17 @@ class KData:
|
|
|
2289
2289
|
:param Datetime end: 新的结束日期
|
|
2290
2290
|
:rtype: KData
|
|
2291
2291
|
"""
|
|
2292
|
+
@typing.overload
|
|
2293
|
+
def get_kdata(self, start: typing.SupportsInt, end: typing.SupportsInt = 9223372036854775807) -> KData:
|
|
2294
|
+
"""
|
|
2295
|
+
get_kdata(self, start, end)
|
|
2296
|
+
|
|
2297
|
+
通过索引获取 KData 子集,相当于切片
|
|
2298
|
+
|
|
2299
|
+
:param int start: 索引起始位置
|
|
2300
|
+
:param int end: 索引结束位置
|
|
2301
|
+
:rtype: KData
|
|
2302
|
+
"""
|
|
2292
2303
|
def get_pos(self, arg0: Datetime) -> typing.Any:
|
|
2293
2304
|
"""
|
|
2294
2305
|
get_pos(self, datetime)
|
hikyuu/cpp/core312.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core312.pyi
CHANGED
|
@@ -2289,6 +2289,17 @@ class KData:
|
|
|
2289
2289
|
:param Datetime end: 新的结束日期
|
|
2290
2290
|
:rtype: KData
|
|
2291
2291
|
"""
|
|
2292
|
+
@typing.overload
|
|
2293
|
+
def get_kdata(self, start: typing.SupportsInt, end: typing.SupportsInt = 9223372036854775807) -> KData:
|
|
2294
|
+
"""
|
|
2295
|
+
get_kdata(self, start, end)
|
|
2296
|
+
|
|
2297
|
+
通过索引获取 KData 子集,相当于切片
|
|
2298
|
+
|
|
2299
|
+
:param int start: 索引起始位置
|
|
2300
|
+
:param int end: 索引结束位置
|
|
2301
|
+
:rtype: KData
|
|
2302
|
+
"""
|
|
2292
2303
|
def get_pos(self, arg0: Datetime) -> typing.Any:
|
|
2293
2304
|
"""
|
|
2294
2305
|
get_pos(self, datetime)
|
hikyuu/cpp/core313.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core313.pyi
CHANGED
|
@@ -2278,6 +2278,17 @@ class KData:
|
|
|
2278
2278
|
:param Datetime end: 新的结束日期
|
|
2279
2279
|
:rtype: KData
|
|
2280
2280
|
"""
|
|
2281
|
+
@typing.overload
|
|
2282
|
+
def get_kdata(self, start: typing.SupportsInt, end: typing.SupportsInt = 9223372036854775807) -> KData:
|
|
2283
|
+
"""
|
|
2284
|
+
get_kdata(self, start, end)
|
|
2285
|
+
|
|
2286
|
+
通过索引获取 KData 子集,相当于切片
|
|
2287
|
+
|
|
2288
|
+
:param int start: 索引起始位置
|
|
2289
|
+
:param int end: 索引结束位置
|
|
2290
|
+
:rtype: KData
|
|
2291
|
+
"""
|
|
2281
2292
|
def get_pos(self, arg0: Datetime) -> typing.Any:
|
|
2282
2293
|
"""
|
|
2283
2294
|
get_pos(self, datetime)
|
hikyuu/cpp/core39.pyd
CHANGED
|
Binary file
|
hikyuu/cpp/core39.pyi
CHANGED
|
@@ -2289,6 +2289,17 @@ class KData:
|
|
|
2289
2289
|
:param Datetime end: 新的结束日期
|
|
2290
2290
|
:rtype: KData
|
|
2291
2291
|
"""
|
|
2292
|
+
@typing.overload
|
|
2293
|
+
def get_kdata(self, start: typing.SupportsInt, end: typing.SupportsInt = 9223372036854775807) -> KData:
|
|
2294
|
+
"""
|
|
2295
|
+
get_kdata(self, start, end)
|
|
2296
|
+
|
|
2297
|
+
通过索引获取 KData 子集,相当于切片
|
|
2298
|
+
|
|
2299
|
+
:param int start: 索引起始位置
|
|
2300
|
+
:param int end: 索引结束位置
|
|
2301
|
+
:rtype: KData
|
|
2302
|
+
"""
|
|
2292
2303
|
def get_pos(self, arg0: Datetime) -> typing.Any:
|
|
2293
2304
|
"""
|
|
2294
2305
|
get_pos(self, datetime)
|
hikyuu/cpp/hikyuu.dll
CHANGED
|
Binary file
|
hikyuu/cpp/hikyuu.lib
CHANGED
|
Binary file
|
hikyuu/cpp/sqlite3.dll
CHANGED
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
|
-
from hikyuu.cpp.
|
|
3
|
-
from hikyuu.cpp.
|
|
4
|
-
from hikyuu.cpp.
|
|
5
|
-
from hikyuu.cpp.
|
|
6
|
-
from hikyuu.cpp.
|
|
7
|
-
from hikyuu.cpp.
|
|
8
|
-
from hikyuu.cpp.
|
|
9
|
-
from hikyuu.cpp.
|
|
2
|
+
from hikyuu.cpp.core310 import ConditionBase
|
|
3
|
+
from hikyuu.cpp.core310 import EnvironmentBase
|
|
4
|
+
from hikyuu.cpp.core310 import Indicator
|
|
5
|
+
from hikyuu.cpp.core310 import KData
|
|
6
|
+
from hikyuu.cpp.core310 import Portfolio
|
|
7
|
+
from hikyuu.cpp.core310 import SignalBase
|
|
8
|
+
from hikyuu.cpp.core310 import System
|
|
9
|
+
from hikyuu.cpp.core310 import TradeManager
|
|
10
10
|
from hikyuu.draw.drawplot.bokeh_draw import ax_draw_macd as bk_ax_draw_macd
|
|
11
11
|
from hikyuu.draw.drawplot.bokeh_draw import ax_draw_macd2 as bk_ax_draw_macd2
|
|
12
12
|
from hikyuu.draw.drawplot.bokeh_draw import create_figure as bk_create_figure
|
|
@@ -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 as DRAWBMP
|
|
29
28
|
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG
|
|
29
|
+
from hikyuu.draw.drawplot.matplotlib_draw import DRAWIMG as DRAWBMP
|
|
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
|
|
@@ -68,49 +68,54 @@ __all__: list = ['use_draw_engine', 'get_current_draw_engine', 'create_figure',
|
|
|
68
68
|
def adjust_axes_show(axeslist):
|
|
69
69
|
"""
|
|
70
70
|
用于调整上下紧密相连的坐标轴显示时,其上一坐标轴最小值刻度和下一坐标轴最大值刻度
|
|
71
|
-
|
|
71
|
+
显示重叠的问题。
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
:param axeslist: 上下相连的坐标轴列表 (ax1,ax2,...)
|
|
74
|
+
|
|
74
75
|
"""
|
|
75
76
|
def ax_draw_macd(axes, kdata, n1 = 12, n2 = 26, n3 = 9):
|
|
76
77
|
"""
|
|
77
78
|
绘制MACD
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
:param axes: 指定的坐标轴
|
|
81
|
+
:param KData kdata: KData
|
|
82
|
+
:param int n1: 指标 MACD 的参数1
|
|
83
|
+
:param int n2: 指标 MACD 的参数2
|
|
84
|
+
:param int n3: 指标 MACD 的参数3
|
|
85
|
+
|
|
84
86
|
"""
|
|
85
87
|
def ax_draw_macd2(axes, ref, kdata, n1 = 12, n2 = 26, n3 = 9):
|
|
86
88
|
"""
|
|
87
89
|
绘制MACD。
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
当BAR值变化与参考序列ref变化不一致时,显示为灰色,
|
|
91
|
+
当BAR和参考序列ref同时上涨,显示红色
|
|
92
|
+
当BAR和参考序列ref同时下跌,显示绿色
|
|
91
93
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
:param axes: 指定的坐标轴
|
|
95
|
+
:param ref: 参考序列,EMA
|
|
96
|
+
:param KData kdata: KData
|
|
97
|
+
:param int n1: 指标 MACD 的参数1
|
|
98
|
+
:param int n2: 指标 MACD 的参数2
|
|
99
|
+
:param int n3: 指标 MACD 的参数3
|
|
100
|
+
|
|
98
101
|
"""
|
|
99
102
|
def ax_set_locator_formatter(axes, dates, typ):
|
|
100
103
|
"""
|
|
101
|
-
|
|
104
|
+
设置指定坐标轴的日期显示,根据指定的K线类型优化X轴坐标显示
|
|
102
105
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
+
:param axes: 指定的坐标轴
|
|
107
|
+
:param dates: Datetime构成可迭代序列
|
|
108
|
+
:param Query.KType typ: K线类型
|
|
109
|
+
|
|
106
110
|
"""
|
|
107
111
|
def create_figure(n = 1, figsize = None):
|
|
108
112
|
"""
|
|
109
113
|
生成含有指定坐标轴数量的窗口,最大只支持4个坐标轴。
|
|
110
114
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
:param int n: 坐标轴数量
|
|
116
|
+
:param figsize: (宽, 高)
|
|
117
|
+
:return: (ax1, ax2, ...) 根据指定的坐标轴数量而定,超出[1,4]个坐标轴时,返回None
|
|
118
|
+
|
|
114
119
|
"""
|
|
115
120
|
def gca():
|
|
116
121
|
...
|