hikyuu 2.5.1__py3-none-win_amd64.whl → 2.5.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__.py +5 -1
- hikyuu/__init__.pyi +522 -505
- hikyuu/analysis/__init__.pyi +489 -478
- hikyuu/analysis/analysis.pyi +490 -479
- hikyuu/core.pyi +491 -480
- hikyuu/cpp/__init__.pyi +3 -0
- hikyuu/cpp/core310.pyd +0 -0
- hikyuu/cpp/core310.pyi +13154 -0
- hikyuu/cpp/core311.pyd +0 -0
- hikyuu/cpp/core311.pyi +13154 -0
- hikyuu/cpp/core312.pyd +0 -0
- hikyuu/cpp/core312.pyi +13154 -0
- hikyuu/cpp/core313.pyd +0 -0
- hikyuu/cpp/core313.pyi +13132 -0
- hikyuu/cpp/core38.pyd +0 -0
- hikyuu/cpp/core38.pyi +13154 -0
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/core39.pyi +13154 -0
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/hikyuu.lib +0 -0
- hikyuu/data/mysql_upgrade/0027.sql +6 -0
- hikyuu/data/pytdx_to_h5.py +7 -4
- hikyuu/data/pytdx_to_mysql.py +7 -4
- hikyuu/data/sqlite_upgrade/0027.sql +8 -0
- hikyuu/draw/drawplot/__init__.py +8 -1
- hikyuu/draw/drawplot/__init__.pyi +11 -7
- hikyuu/draw/drawplot/bokeh_draw.pyi +510 -495
- hikyuu/draw/drawplot/common.pyi +1 -1
- hikyuu/draw/drawplot/echarts_draw.pyi +512 -497
- hikyuu/draw/drawplot/matplotlib_draw.py +134 -12
- hikyuu/draw/drawplot/matplotlib_draw.pyi +571 -509
- hikyuu/draw/elder.pyi +11 -11
- hikyuu/draw/kaufman.pyi +18 -18
- hikyuu/draw/volume.pyi +10 -10
- hikyuu/extend.py +0 -24
- hikyuu/extend.pyi +500 -506
- hikyuu/hub.py +154 -9
- hikyuu/hub.pyi +51 -13
- hikyuu/include/hikyuu/DataType.h +1 -2
- hikyuu/include/hikyuu/StockManager.h +2 -1
- hikyuu/include/hikyuu/StrategyContext.h +12 -3
- hikyuu/include/hikyuu/indicator/Indicator.h +24 -0
- hikyuu/include/hikyuu/indicator/Indicator2InImp.h +1 -0
- hikyuu/include/hikyuu/indicator/build_in.h +2 -0
- hikyuu/include/hikyuu/indicator/crt/ATR.h +2 -13
- hikyuu/include/hikyuu/indicator/crt/KALMAN.h +30 -0
- hikyuu/include/hikyuu/indicator/crt/TR.h +32 -0
- hikyuu/include/hikyuu/indicator/imp/IAtr.h +3 -1
- hikyuu/include/hikyuu/indicator/imp/IKalman.h +27 -0
- hikyuu/include/hikyuu/indicator/imp/ITr.h +35 -0
- hikyuu/include/hikyuu/python/convert_any.h +299 -0
- hikyuu/include/hikyuu/trade_manage/PositionRecord.h +8 -2
- hikyuu/include/hikyuu/trade_sys/allocatefunds/crt/AF_MultiFactor.h +1 -1
- hikyuu/include/hikyuu/trade_sys/allocatefunds/imp/MultiFactorAllocaterFunds.h +3 -0
- hikyuu/include/hikyuu/trade_sys/condition/ConditionBase.h +4 -1
- hikyuu/include/hikyuu/trade_sys/condition/imp/{SubCondition.h → logic/SubCondition.h} +1 -1
- hikyuu/include/hikyuu/trade_sys/environment/EnvironmentBase.h +20 -6
- hikyuu/include/hikyuu/trade_sys/environment/build_in.h +1 -0
- hikyuu/include/hikyuu/trade_sys/environment/crt/EV_Logic.h +35 -0
- hikyuu/include/hikyuu/trade_sys/environment/imp/logic/AddEnvironment.h +42 -0
- hikyuu/include/hikyuu/trade_sys/environment/imp/logic/AndEnvironment.h +42 -0
- hikyuu/include/hikyuu/trade_sys/environment/imp/logic/DivEnvironment.h +42 -0
- hikyuu/include/hikyuu/trade_sys/environment/imp/logic/MultiEnvironment.h +42 -0
- hikyuu/include/hikyuu/trade_sys/environment/imp/logic/OrEnvironment.h +42 -0
- hikyuu/include/hikyuu/trade_sys/environment/imp/logic/SubEnvironment.h +42 -0
- hikyuu/include/hikyuu/trade_sys/environment/imp/logic/__init__.py +1 -0
- hikyuu/include/hikyuu/trade_sys/portfolio/Portfolio.h +0 -4
- hikyuu/include/hikyuu/trade_sys/signal/SignalBase.h +1 -7
- hikyuu/include/hikyuu/trade_sys/signal/crt/SG_Logic.h +94 -4
- hikyuu/include/hikyuu/trade_sys/signal/crt/SG_OneSide.h +10 -0
- hikyuu/include/hikyuu/trade_sys/signal/imp/logic/AndSignal.h +19 -0
- hikyuu/include/hikyuu/trade_sys/signal/imp/logic/OperatorSignal.h +3 -1
- hikyuu/include/hikyuu/trade_sys/signal/imp/logic/OperatorValueSignal.h +1 -0
- hikyuu/include/hikyuu/trade_sys/signal/imp/logic/OrSignal.h +19 -0
- hikyuu/include/hikyuu/version.h +4 -4
- hikyuu/indicator/indicator.py +1 -0
- hikyuu/trade_manage/__init__.pyi +506 -495
- hikyuu/trade_manage/broker.pyi +3 -3
- hikyuu/trade_manage/broker_easytrader.pyi +1 -1
- hikyuu/trade_manage/trade.pyi +506 -495
- hikyuu/trade_sys/trade_sys.py +4 -3
- hikyuu/util/__init__.pyi +2 -2
- hikyuu/util/singleton.pyi +1 -1
- {hikyuu-2.5.1.dist-info → hikyuu-2.5.3.dist-info}/METADATA +3 -2
- {hikyuu-2.5.1.dist-info → hikyuu-2.5.3.dist-info}/RECORD +89 -65
- {hikyuu-2.5.1.dist-info → hikyuu-2.5.3.dist-info}/top_level.txt +1 -0
- {hikyuu-2.5.1.dist-info → hikyuu-2.5.3.dist-info}/LICENSE +0 -0
- {hikyuu-2.5.1.dist-info → hikyuu-2.5.3.dist-info}/WHEEL +0 -0
- {hikyuu-2.5.1.dist-info → hikyuu-2.5.3.dist-info}/entry_points.txt +0 -0
|
@@ -16,488 +16,498 @@ from hikyuu.analysis.analysis import combinate_ind_analysis
|
|
|
16
16
|
from hikyuu.analysis.analysis import combinate_ind_analysis_multi
|
|
17
17
|
from hikyuu import core
|
|
18
18
|
from hikyuu import cpp
|
|
19
|
-
import hikyuu.cpp.
|
|
20
|
-
from hikyuu.cpp.
|
|
21
|
-
from hikyuu.cpp.
|
|
22
|
-
from hikyuu.cpp.
|
|
23
|
-
from hikyuu.cpp.
|
|
24
|
-
from hikyuu.cpp.
|
|
25
|
-
from hikyuu.cpp.
|
|
26
|
-
from hikyuu.cpp.
|
|
27
|
-
from hikyuu.cpp.
|
|
28
|
-
from hikyuu.cpp.
|
|
29
|
-
from hikyuu.cpp.
|
|
30
|
-
from hikyuu.cpp.
|
|
31
|
-
from hikyuu.cpp.
|
|
32
|
-
from hikyuu.cpp.
|
|
33
|
-
from hikyuu.cpp.
|
|
34
|
-
from hikyuu.cpp.
|
|
35
|
-
from hikyuu.cpp.
|
|
36
|
-
from hikyuu.cpp.
|
|
37
|
-
from hikyuu.cpp.
|
|
38
|
-
from hikyuu.cpp.
|
|
39
|
-
from hikyuu.cpp.
|
|
40
|
-
from hikyuu.cpp.
|
|
41
|
-
from hikyuu.cpp.
|
|
42
|
-
from hikyuu.cpp.
|
|
43
|
-
from hikyuu.cpp.
|
|
44
|
-
from hikyuu.cpp.
|
|
45
|
-
from hikyuu.cpp.
|
|
46
|
-
from hikyuu.cpp.
|
|
47
|
-
from hikyuu.cpp.
|
|
48
|
-
from hikyuu.cpp.
|
|
49
|
-
from hikyuu.cpp.
|
|
50
|
-
from hikyuu.cpp.
|
|
51
|
-
from hikyuu.cpp.
|
|
52
|
-
from hikyuu.cpp.
|
|
53
|
-
from hikyuu.cpp.
|
|
54
|
-
from hikyuu.cpp.
|
|
55
|
-
from hikyuu.cpp.
|
|
56
|
-
from hikyuu.cpp.
|
|
57
|
-
from hikyuu.cpp.
|
|
58
|
-
from hikyuu.cpp.
|
|
59
|
-
from hikyuu.cpp.
|
|
60
|
-
from hikyuu.cpp.
|
|
61
|
-
from hikyuu.cpp.
|
|
62
|
-
from hikyuu.cpp.
|
|
63
|
-
from hikyuu.cpp.
|
|
64
|
-
from hikyuu.cpp.
|
|
65
|
-
from hikyuu.cpp.
|
|
66
|
-
from hikyuu.cpp.
|
|
67
|
-
from hikyuu.cpp.
|
|
68
|
-
from hikyuu.cpp.
|
|
69
|
-
from hikyuu.cpp.
|
|
70
|
-
from hikyuu.cpp.
|
|
71
|
-
from hikyuu.cpp.
|
|
72
|
-
from hikyuu.cpp.
|
|
73
|
-
from hikyuu.cpp.
|
|
74
|
-
from hikyuu.cpp.
|
|
75
|
-
from hikyuu.cpp.
|
|
76
|
-
from hikyuu.cpp.
|
|
77
|
-
from hikyuu.cpp.
|
|
78
|
-
from hikyuu.cpp.
|
|
79
|
-
from hikyuu.cpp.
|
|
80
|
-
from hikyuu.cpp.
|
|
81
|
-
from hikyuu.cpp.
|
|
82
|
-
from hikyuu.cpp.
|
|
83
|
-
from hikyuu.cpp.
|
|
84
|
-
from hikyuu.cpp.
|
|
85
|
-
from hikyuu.cpp.
|
|
86
|
-
from hikyuu.cpp.
|
|
87
|
-
from hikyuu.cpp.
|
|
88
|
-
from hikyuu.cpp.
|
|
89
|
-
from hikyuu.cpp.
|
|
90
|
-
from hikyuu.cpp.
|
|
91
|
-
from hikyuu.cpp.
|
|
92
|
-
from hikyuu.cpp.
|
|
93
|
-
from hikyuu.cpp.
|
|
94
|
-
from hikyuu.cpp.
|
|
95
|
-
from hikyuu.cpp.
|
|
96
|
-
from hikyuu.cpp.
|
|
97
|
-
from hikyuu.cpp.
|
|
98
|
-
from hikyuu.cpp.
|
|
99
|
-
from hikyuu.cpp.
|
|
100
|
-
from hikyuu.cpp.
|
|
101
|
-
from hikyuu.cpp.
|
|
102
|
-
from hikyuu.cpp.
|
|
103
|
-
from hikyuu.cpp.
|
|
104
|
-
from hikyuu.cpp.
|
|
105
|
-
from hikyuu.cpp.
|
|
106
|
-
from hikyuu.cpp.
|
|
107
|
-
from hikyuu.cpp.
|
|
108
|
-
from hikyuu.cpp.
|
|
109
|
-
from hikyuu.cpp.
|
|
110
|
-
from hikyuu.cpp.
|
|
111
|
-
from hikyuu.cpp.
|
|
112
|
-
from hikyuu.cpp.
|
|
113
|
-
from hikyuu.cpp.
|
|
114
|
-
from hikyuu.cpp.
|
|
115
|
-
from hikyuu.cpp.
|
|
116
|
-
from hikyuu.cpp.
|
|
117
|
-
from hikyuu.cpp.
|
|
118
|
-
from hikyuu.cpp.
|
|
119
|
-
from hikyuu.cpp.
|
|
120
|
-
from hikyuu.cpp.
|
|
121
|
-
from hikyuu.cpp.
|
|
122
|
-
from hikyuu.cpp.
|
|
123
|
-
from hikyuu.cpp.
|
|
124
|
-
from hikyuu.cpp.
|
|
125
|
-
from hikyuu.cpp.
|
|
126
|
-
from hikyuu.cpp.
|
|
127
|
-
from hikyuu.cpp.
|
|
128
|
-
from hikyuu.cpp.
|
|
129
|
-
from hikyuu.cpp.
|
|
130
|
-
from hikyuu.cpp.
|
|
131
|
-
from hikyuu.cpp.
|
|
132
|
-
from hikyuu.cpp.
|
|
133
|
-
from hikyuu.cpp.
|
|
134
|
-
from hikyuu.cpp.
|
|
135
|
-
from hikyuu.cpp.
|
|
136
|
-
from hikyuu.cpp.
|
|
137
|
-
from hikyuu.cpp.
|
|
138
|
-
from hikyuu.cpp.
|
|
139
|
-
from hikyuu.cpp.
|
|
140
|
-
from hikyuu.cpp.
|
|
141
|
-
from hikyuu.cpp.
|
|
142
|
-
from hikyuu.cpp.
|
|
143
|
-
from hikyuu.cpp.
|
|
144
|
-
from hikyuu.cpp.
|
|
145
|
-
from hikyuu.cpp.
|
|
146
|
-
from hikyuu.cpp.
|
|
147
|
-
from hikyuu.cpp.
|
|
148
|
-
from hikyuu.cpp.
|
|
149
|
-
from hikyuu.cpp.
|
|
150
|
-
from hikyuu.cpp.
|
|
151
|
-
from hikyuu.cpp.
|
|
152
|
-
from hikyuu.cpp.
|
|
153
|
-
from hikyuu.cpp.
|
|
154
|
-
from hikyuu.cpp.
|
|
155
|
-
from hikyuu.cpp.
|
|
156
|
-
from hikyuu.cpp.
|
|
157
|
-
from hikyuu.cpp.
|
|
158
|
-
from hikyuu.cpp.
|
|
159
|
-
from hikyuu.cpp.
|
|
160
|
-
from hikyuu.cpp.
|
|
161
|
-
from hikyuu.cpp.
|
|
162
|
-
from hikyuu.cpp.
|
|
163
|
-
from hikyuu.cpp.
|
|
164
|
-
from hikyuu.cpp.
|
|
165
|
-
from hikyuu.cpp.
|
|
166
|
-
from hikyuu.cpp.
|
|
167
|
-
from hikyuu.cpp.
|
|
168
|
-
from hikyuu.cpp.
|
|
169
|
-
from hikyuu.cpp.
|
|
170
|
-
from hikyuu.cpp.
|
|
171
|
-
from hikyuu.cpp.
|
|
172
|
-
from hikyuu.cpp.
|
|
173
|
-
from hikyuu.cpp.
|
|
174
|
-
from hikyuu.cpp.
|
|
175
|
-
from hikyuu.cpp.
|
|
176
|
-
from hikyuu.cpp.
|
|
177
|
-
from hikyuu.cpp.
|
|
178
|
-
from hikyuu.cpp.
|
|
179
|
-
from hikyuu.cpp.
|
|
180
|
-
from hikyuu.cpp.
|
|
181
|
-
from hikyuu.cpp.
|
|
182
|
-
from hikyuu.cpp.
|
|
183
|
-
from hikyuu.cpp.
|
|
184
|
-
from hikyuu.cpp.
|
|
185
|
-
from hikyuu.cpp.
|
|
186
|
-
from hikyuu.cpp.
|
|
187
|
-
from hikyuu.cpp.
|
|
188
|
-
from hikyuu.cpp.
|
|
189
|
-
from hikyuu.cpp.
|
|
190
|
-
from hikyuu.cpp.
|
|
191
|
-
from hikyuu.cpp.
|
|
192
|
-
from hikyuu.cpp.
|
|
193
|
-
from hikyuu.cpp.
|
|
194
|
-
from hikyuu.cpp.
|
|
195
|
-
from hikyuu.cpp.
|
|
196
|
-
from hikyuu.cpp.
|
|
197
|
-
from hikyuu.cpp.
|
|
198
|
-
from hikyuu.cpp.
|
|
199
|
-
from hikyuu.cpp.
|
|
200
|
-
from hikyuu.cpp.
|
|
201
|
-
from hikyuu.cpp.
|
|
202
|
-
from hikyuu.cpp.
|
|
203
|
-
from hikyuu.cpp.
|
|
204
|
-
from hikyuu.cpp.
|
|
205
|
-
from hikyuu.cpp.
|
|
206
|
-
from hikyuu.cpp.
|
|
207
|
-
from hikyuu.cpp.
|
|
208
|
-
from hikyuu.cpp.
|
|
209
|
-
from hikyuu.cpp.
|
|
210
|
-
from hikyuu.cpp.
|
|
211
|
-
from hikyuu.cpp.
|
|
212
|
-
from hikyuu.cpp.
|
|
213
|
-
from hikyuu.cpp.
|
|
214
|
-
from hikyuu.cpp.
|
|
215
|
-
from hikyuu.cpp.
|
|
216
|
-
from hikyuu.cpp.
|
|
217
|
-
from hikyuu.cpp.
|
|
218
|
-
from hikyuu.cpp.
|
|
219
|
-
from hikyuu.cpp.
|
|
220
|
-
from hikyuu.cpp.
|
|
221
|
-
from hikyuu.cpp.
|
|
222
|
-
from hikyuu.cpp.
|
|
223
|
-
from hikyuu.cpp.
|
|
224
|
-
from hikyuu.cpp.
|
|
225
|
-
from hikyuu.cpp.
|
|
226
|
-
from hikyuu.cpp.
|
|
227
|
-
from hikyuu.cpp.
|
|
228
|
-
from hikyuu.cpp.
|
|
229
|
-
from hikyuu.cpp.
|
|
230
|
-
from hikyuu.cpp.
|
|
231
|
-
from hikyuu.cpp.
|
|
232
|
-
from hikyuu.cpp.
|
|
233
|
-
from hikyuu.cpp.
|
|
234
|
-
from hikyuu.cpp.
|
|
235
|
-
from hikyuu.cpp.
|
|
236
|
-
from hikyuu.cpp.
|
|
237
|
-
from hikyuu.cpp.
|
|
238
|
-
from hikyuu.cpp.
|
|
239
|
-
from hikyuu.cpp.
|
|
240
|
-
from hikyuu.cpp.
|
|
241
|
-
from hikyuu.cpp.
|
|
242
|
-
from hikyuu.cpp.
|
|
243
|
-
from hikyuu.cpp.
|
|
244
|
-
from hikyuu.cpp.
|
|
245
|
-
from hikyuu.cpp.
|
|
246
|
-
from hikyuu.cpp.
|
|
247
|
-
from hikyuu.cpp.
|
|
248
|
-
from hikyuu.cpp.
|
|
249
|
-
from hikyuu.cpp.
|
|
250
|
-
from hikyuu.cpp.
|
|
251
|
-
from hikyuu.cpp.
|
|
252
|
-
from hikyuu.cpp.
|
|
253
|
-
from hikyuu.cpp.
|
|
254
|
-
from hikyuu.cpp.
|
|
255
|
-
from hikyuu.cpp.
|
|
256
|
-
from hikyuu.cpp.
|
|
257
|
-
from hikyuu.cpp.
|
|
258
|
-
from hikyuu.cpp.
|
|
259
|
-
from hikyuu.cpp.
|
|
260
|
-
from hikyuu.cpp.
|
|
261
|
-
from hikyuu.cpp.
|
|
262
|
-
from hikyuu.cpp.
|
|
263
|
-
from hikyuu.cpp.
|
|
264
|
-
from hikyuu.cpp.
|
|
265
|
-
from hikyuu.cpp.
|
|
266
|
-
from hikyuu.cpp.
|
|
267
|
-
from hikyuu.cpp.
|
|
268
|
-
from hikyuu.cpp.
|
|
269
|
-
from hikyuu.cpp.
|
|
270
|
-
from hikyuu.cpp.
|
|
271
|
-
from hikyuu.cpp.
|
|
272
|
-
from hikyuu.cpp.
|
|
273
|
-
from hikyuu.cpp.
|
|
274
|
-
from hikyuu.cpp.
|
|
275
|
-
from hikyuu.cpp.
|
|
276
|
-
from hikyuu.cpp.
|
|
277
|
-
from hikyuu.cpp.
|
|
278
|
-
from hikyuu.cpp.
|
|
279
|
-
from hikyuu.cpp.
|
|
280
|
-
from hikyuu.cpp.
|
|
281
|
-
from hikyuu.cpp.
|
|
282
|
-
from hikyuu.cpp.
|
|
283
|
-
from hikyuu.cpp.
|
|
284
|
-
from hikyuu.cpp.
|
|
285
|
-
from hikyuu.cpp.
|
|
286
|
-
from hikyuu.cpp.
|
|
287
|
-
from hikyuu.cpp.
|
|
288
|
-
from hikyuu.cpp.
|
|
289
|
-
from hikyuu.cpp.
|
|
290
|
-
from hikyuu.cpp.
|
|
291
|
-
from hikyuu.cpp.
|
|
292
|
-
from hikyuu.cpp.
|
|
293
|
-
from hikyuu.cpp.
|
|
294
|
-
from hikyuu.cpp.
|
|
295
|
-
from hikyuu.cpp.
|
|
296
|
-
from hikyuu.cpp.
|
|
297
|
-
from hikyuu.cpp.
|
|
298
|
-
from hikyuu.cpp.
|
|
299
|
-
from hikyuu.cpp.
|
|
300
|
-
from hikyuu.cpp.
|
|
301
|
-
from hikyuu.cpp.
|
|
302
|
-
from hikyuu.cpp.
|
|
303
|
-
from hikyuu.cpp.
|
|
304
|
-
from hikyuu.cpp.
|
|
305
|
-
from hikyuu.cpp.
|
|
306
|
-
from hikyuu.cpp.
|
|
307
|
-
from hikyuu.cpp.
|
|
308
|
-
from hikyuu.cpp.
|
|
309
|
-
from hikyuu.cpp.
|
|
310
|
-
from hikyuu.cpp.
|
|
311
|
-
from hikyuu.cpp.
|
|
312
|
-
from hikyuu.cpp.
|
|
313
|
-
from hikyuu.cpp.
|
|
314
|
-
from hikyuu.cpp.
|
|
315
|
-
from hikyuu.cpp.
|
|
316
|
-
from hikyuu.cpp.
|
|
317
|
-
from hikyuu.cpp.
|
|
318
|
-
from hikyuu.cpp.
|
|
319
|
-
from hikyuu.cpp.
|
|
320
|
-
from hikyuu.cpp.
|
|
321
|
-
from hikyuu.cpp.
|
|
322
|
-
from hikyuu.cpp.
|
|
323
|
-
from hikyuu.cpp.
|
|
324
|
-
from hikyuu.cpp.
|
|
325
|
-
from hikyuu.cpp.
|
|
326
|
-
from hikyuu.cpp.
|
|
327
|
-
from hikyuu.cpp.
|
|
328
|
-
from hikyuu.cpp.
|
|
329
|
-
from hikyuu.cpp.
|
|
330
|
-
from hikyuu.cpp.
|
|
331
|
-
from hikyuu.cpp.
|
|
332
|
-
from hikyuu.cpp.
|
|
333
|
-
from hikyuu.cpp.
|
|
334
|
-
from hikyuu.cpp.
|
|
335
|
-
from hikyuu.cpp.
|
|
336
|
-
from hikyuu.cpp.
|
|
337
|
-
from hikyuu.cpp.
|
|
338
|
-
from hikyuu.cpp.
|
|
339
|
-
from hikyuu.cpp.
|
|
340
|
-
from hikyuu.cpp.
|
|
341
|
-
from hikyuu.cpp.
|
|
342
|
-
from hikyuu.cpp.
|
|
343
|
-
from hikyuu.cpp.
|
|
344
|
-
from hikyuu.cpp.
|
|
345
|
-
from hikyuu.cpp.
|
|
346
|
-
from hikyuu.cpp.
|
|
347
|
-
from hikyuu.cpp.
|
|
348
|
-
from hikyuu.cpp.
|
|
349
|
-
from hikyuu.cpp.
|
|
350
|
-
from hikyuu.cpp.
|
|
351
|
-
from hikyuu.cpp.
|
|
352
|
-
from hikyuu.cpp.
|
|
353
|
-
from hikyuu.cpp.
|
|
354
|
-
from hikyuu.cpp.
|
|
355
|
-
from hikyuu.cpp.
|
|
356
|
-
from hikyuu.cpp.
|
|
357
|
-
from hikyuu.cpp.
|
|
358
|
-
from hikyuu.cpp.
|
|
359
|
-
from hikyuu.cpp.
|
|
360
|
-
from hikyuu.cpp.
|
|
361
|
-
from hikyuu.cpp.
|
|
362
|
-
from hikyuu.cpp.
|
|
363
|
-
from hikyuu.cpp.
|
|
364
|
-
from hikyuu.cpp.
|
|
365
|
-
from hikyuu.cpp.
|
|
366
|
-
from hikyuu.cpp.
|
|
367
|
-
from hikyuu.cpp.
|
|
368
|
-
from hikyuu.cpp.
|
|
369
|
-
from hikyuu.cpp.
|
|
370
|
-
from hikyuu.cpp.
|
|
371
|
-
from hikyuu.cpp.
|
|
372
|
-
from hikyuu.cpp.
|
|
373
|
-
from hikyuu.cpp.
|
|
374
|
-
from hikyuu.cpp.
|
|
375
|
-
from hikyuu.cpp.
|
|
376
|
-
from hikyuu.cpp.
|
|
377
|
-
from hikyuu.cpp.
|
|
378
|
-
from hikyuu.cpp.
|
|
379
|
-
from hikyuu.cpp.
|
|
380
|
-
from hikyuu.cpp.
|
|
381
|
-
from hikyuu.cpp.
|
|
382
|
-
from hikyuu.cpp.
|
|
383
|
-
from hikyuu.cpp.
|
|
384
|
-
from hikyuu.cpp.
|
|
385
|
-
from hikyuu.cpp.
|
|
386
|
-
from hikyuu.cpp.
|
|
387
|
-
from hikyuu.cpp.
|
|
388
|
-
from hikyuu.cpp.
|
|
389
|
-
from hikyuu.cpp.
|
|
390
|
-
from hikyuu.cpp.
|
|
391
|
-
from hikyuu.cpp.
|
|
392
|
-
from hikyuu.cpp.
|
|
393
|
-
from hikyuu.cpp.
|
|
394
|
-
from hikyuu.cpp.
|
|
395
|
-
from hikyuu.cpp.
|
|
396
|
-
from hikyuu.cpp.
|
|
397
|
-
from hikyuu.cpp.
|
|
398
|
-
from hikyuu.cpp.
|
|
399
|
-
from hikyuu.cpp.
|
|
400
|
-
from hikyuu.cpp.
|
|
401
|
-
from hikyuu.cpp.
|
|
402
|
-
from hikyuu.cpp.
|
|
403
|
-
from hikyuu.cpp.
|
|
404
|
-
from hikyuu.cpp.
|
|
405
|
-
from hikyuu.cpp.
|
|
406
|
-
from hikyuu.cpp.
|
|
407
|
-
from hikyuu.cpp.
|
|
408
|
-
from hikyuu.cpp.
|
|
409
|
-
from hikyuu.cpp.
|
|
410
|
-
from hikyuu.cpp.
|
|
411
|
-
from hikyuu.cpp.
|
|
412
|
-
from hikyuu.cpp.
|
|
413
|
-
from hikyuu.cpp.
|
|
414
|
-
from hikyuu.cpp.
|
|
415
|
-
from hikyuu.cpp.
|
|
416
|
-
from hikyuu.cpp.
|
|
417
|
-
from hikyuu.cpp.
|
|
418
|
-
from hikyuu.cpp.
|
|
419
|
-
from hikyuu.cpp.
|
|
420
|
-
from hikyuu.cpp.
|
|
421
|
-
from hikyuu.cpp.
|
|
422
|
-
from hikyuu.cpp.
|
|
423
|
-
from hikyuu.cpp.
|
|
424
|
-
from hikyuu.cpp.
|
|
425
|
-
from hikyuu.cpp.
|
|
426
|
-
from hikyuu.cpp.
|
|
427
|
-
from hikyuu.cpp.
|
|
428
|
-
from hikyuu.cpp.
|
|
429
|
-
from hikyuu.cpp.
|
|
430
|
-
from hikyuu.cpp.
|
|
431
|
-
from hikyuu.cpp.
|
|
432
|
-
from hikyuu.cpp.
|
|
433
|
-
from hikyuu.cpp.
|
|
434
|
-
from hikyuu.cpp.
|
|
435
|
-
from hikyuu.cpp.
|
|
436
|
-
from hikyuu.cpp.
|
|
437
|
-
from hikyuu.cpp.
|
|
438
|
-
from hikyuu.cpp.
|
|
439
|
-
from hikyuu.cpp.
|
|
440
|
-
from hikyuu.cpp.
|
|
441
|
-
from hikyuu.cpp.
|
|
442
|
-
from hikyuu.cpp.
|
|
443
|
-
from hikyuu.cpp.
|
|
444
|
-
from hikyuu.cpp.
|
|
445
|
-
from hikyuu.cpp.
|
|
446
|
-
from hikyuu.cpp.
|
|
447
|
-
from hikyuu.cpp.
|
|
448
|
-
from hikyuu.cpp.
|
|
449
|
-
from hikyuu.cpp.
|
|
450
|
-
from hikyuu.cpp.
|
|
451
|
-
from hikyuu.cpp.
|
|
452
|
-
from hikyuu.cpp.
|
|
453
|
-
from hikyuu.cpp.
|
|
454
|
-
from hikyuu.cpp.
|
|
455
|
-
from hikyuu.cpp.
|
|
456
|
-
from hikyuu.cpp.
|
|
457
|
-
from hikyuu.cpp.
|
|
458
|
-
from hikyuu.cpp.
|
|
459
|
-
from hikyuu.cpp.
|
|
460
|
-
from hikyuu.cpp.
|
|
461
|
-
from hikyuu.cpp.
|
|
462
|
-
from hikyuu.cpp.
|
|
463
|
-
from hikyuu.cpp.
|
|
464
|
-
from hikyuu.cpp.
|
|
465
|
-
from hikyuu.cpp.
|
|
466
|
-
from hikyuu.cpp.
|
|
467
|
-
from hikyuu.cpp.
|
|
468
|
-
from hikyuu.cpp.
|
|
469
|
-
from hikyuu.cpp.
|
|
470
|
-
from hikyuu.cpp.
|
|
471
|
-
from hikyuu.cpp.
|
|
472
|
-
from hikyuu.cpp.
|
|
473
|
-
from hikyuu.cpp.
|
|
474
|
-
from hikyuu.cpp.
|
|
475
|
-
from hikyuu.cpp.
|
|
476
|
-
from hikyuu.cpp.
|
|
477
|
-
from hikyuu.cpp.
|
|
478
|
-
from hikyuu.cpp.
|
|
479
|
-
from hikyuu.cpp.
|
|
480
|
-
from hikyuu.cpp.
|
|
481
|
-
from hikyuu.cpp.
|
|
482
|
-
from hikyuu.cpp.
|
|
483
|
-
from hikyuu.cpp.
|
|
484
|
-
from hikyuu.cpp.
|
|
485
|
-
from hikyuu.cpp.
|
|
486
|
-
from hikyuu.cpp.
|
|
487
|
-
from hikyuu.cpp.
|
|
488
|
-
from hikyuu.cpp.
|
|
489
|
-
from hikyuu.cpp.
|
|
490
|
-
from hikyuu.cpp.
|
|
491
|
-
from hikyuu.cpp.
|
|
492
|
-
from hikyuu.cpp.
|
|
19
|
+
import hikyuu.cpp.core38
|
|
20
|
+
from hikyuu.cpp.core38 import ABS
|
|
21
|
+
from hikyuu.cpp.core38 import ACOS
|
|
22
|
+
from hikyuu.cpp.core38 import AD
|
|
23
|
+
from hikyuu.cpp.core38 import ADVANCE
|
|
24
|
+
from hikyuu.cpp.core38 import AF_EqualWeight
|
|
25
|
+
from hikyuu.cpp.core38 import AF_FixedWeight
|
|
26
|
+
from hikyuu.cpp.core38 import AF_FixedWeightList
|
|
27
|
+
from hikyuu.cpp.core38 import AF_MultiFactor
|
|
28
|
+
from hikyuu.cpp.core38 import ALIGN
|
|
29
|
+
from hikyuu.cpp.core38 import AMA
|
|
30
|
+
from hikyuu.cpp.core38 import ASIN
|
|
31
|
+
from hikyuu.cpp.core38 import ATAN
|
|
32
|
+
from hikyuu.cpp.core38 import ATR
|
|
33
|
+
from hikyuu.cpp.core38 import AVEDEV
|
|
34
|
+
from hikyuu.cpp.core38 import AllocateFundsBase
|
|
35
|
+
from hikyuu.cpp.core38 import BACKSET
|
|
36
|
+
from hikyuu.cpp.core38 import BARSCOUNT
|
|
37
|
+
from hikyuu.cpp.core38 import BARSLAST
|
|
38
|
+
from hikyuu.cpp.core38 import BARSSINCE
|
|
39
|
+
from hikyuu.cpp.core38 import BETWEEN
|
|
40
|
+
from hikyuu.cpp.core38 import BLOCKSETNUM
|
|
41
|
+
from hikyuu.cpp.core38 import BUSINESS
|
|
42
|
+
from hikyuu.cpp.core38 import Block
|
|
43
|
+
from hikyuu.cpp.core38 import BlockInfoDriver
|
|
44
|
+
from hikyuu.cpp.core38 import BorrowRecord
|
|
45
|
+
from hikyuu.cpp.core38 import BrokerPositionRecord
|
|
46
|
+
from hikyuu.cpp.core38 import CEILING
|
|
47
|
+
from hikyuu.cpp.core38 import CN_Bool
|
|
48
|
+
from hikyuu.cpp.core38 import CN_OPLine
|
|
49
|
+
from hikyuu.cpp.core38 import CONTEXT
|
|
50
|
+
from hikyuu.cpp.core38 import CONTEXT_K
|
|
51
|
+
from hikyuu.cpp.core38 import CORR
|
|
52
|
+
from hikyuu.cpp.core38 import COS
|
|
53
|
+
from hikyuu.cpp.core38 import COST
|
|
54
|
+
from hikyuu.cpp.core38 import COUNT
|
|
55
|
+
from hikyuu.cpp.core38 import CROSS
|
|
56
|
+
from hikyuu.cpp.core38 import CVAL
|
|
57
|
+
from hikyuu.cpp.core38 import CYCLE
|
|
58
|
+
from hikyuu.cpp.core38 import C_AMO
|
|
59
|
+
from hikyuu.cpp.core38 import C_CLOSE
|
|
60
|
+
from hikyuu.cpp.core38 import C_HIGH
|
|
61
|
+
from hikyuu.cpp.core38 import C_KDATA
|
|
62
|
+
from hikyuu.cpp.core38 import C_LOW
|
|
63
|
+
from hikyuu.cpp.core38 import C_OPEN
|
|
64
|
+
from hikyuu.cpp.core38 import C_VOL
|
|
65
|
+
from hikyuu.cpp.core38 import ConditionBase
|
|
66
|
+
from hikyuu.cpp.core38 import Constant
|
|
67
|
+
from hikyuu.cpp.core38 import CostRecord
|
|
68
|
+
from hikyuu.cpp.core38 import DATE
|
|
69
|
+
from hikyuu.cpp.core38 import DAY
|
|
70
|
+
from hikyuu.cpp.core38 import DECLINE
|
|
71
|
+
from hikyuu.cpp.core38 import DEVSQ
|
|
72
|
+
from hikyuu.cpp.core38 import DIFF
|
|
73
|
+
from hikyuu.cpp.core38 import DIRECT
|
|
74
|
+
from hikyuu.cpp.core38 import DISCARD
|
|
75
|
+
from hikyuu.cpp.core38 import DMA
|
|
76
|
+
from hikyuu.cpp.core38 import DOWNNDAY
|
|
77
|
+
from hikyuu.cpp.core38 import DROPNA
|
|
78
|
+
from hikyuu.cpp.core38 import DataDriverFactory
|
|
79
|
+
from hikyuu.cpp.core38 import Datetime
|
|
80
|
+
from hikyuu.cpp.core38 import DatetimeList
|
|
81
|
+
from hikyuu.cpp.core38 import Days
|
|
82
|
+
from hikyuu.cpp.core38 import EMA
|
|
83
|
+
from hikyuu.cpp.core38 import EVERY
|
|
84
|
+
from hikyuu.cpp.core38 import EV_Bool
|
|
85
|
+
from hikyuu.cpp.core38 import EV_TwoLine
|
|
86
|
+
from hikyuu.cpp.core38 import EXIST
|
|
87
|
+
from hikyuu.cpp.core38 import EXP
|
|
88
|
+
from hikyuu.cpp.core38 import EnvironmentBase
|
|
89
|
+
from hikyuu.cpp.core38 import FILTER
|
|
90
|
+
from hikyuu.cpp.core38 import FINANCE
|
|
91
|
+
from hikyuu.cpp.core38 import FLOOR
|
|
92
|
+
from hikyuu.cpp.core38 import FundsRecord
|
|
93
|
+
from hikyuu.cpp.core38 import HHV
|
|
94
|
+
from hikyuu.cpp.core38 import HHVBARS
|
|
95
|
+
from hikyuu.cpp.core38 import HKUException
|
|
96
|
+
from hikyuu.cpp.core38 import HOUR
|
|
97
|
+
from hikyuu.cpp.core38 import HSL
|
|
98
|
+
from hikyuu.cpp.core38 import Hours
|
|
99
|
+
from hikyuu.cpp.core38 import IC
|
|
100
|
+
from hikyuu.cpp.core38 import ICIR
|
|
101
|
+
from hikyuu.cpp.core38 import IF
|
|
102
|
+
from hikyuu.cpp.core38 import INBLOCK
|
|
103
|
+
from hikyuu.cpp.core38 import INDEXA
|
|
104
|
+
from hikyuu.cpp.core38 import INDEXADV
|
|
105
|
+
from hikyuu.cpp.core38 import INDEXC
|
|
106
|
+
from hikyuu.cpp.core38 import INDEXDEC
|
|
107
|
+
from hikyuu.cpp.core38 import INDEXH
|
|
108
|
+
from hikyuu.cpp.core38 import INDEXL
|
|
109
|
+
from hikyuu.cpp.core38 import INDEXO
|
|
110
|
+
from hikyuu.cpp.core38 import INDEXV
|
|
111
|
+
from hikyuu.cpp.core38 import INSUM
|
|
112
|
+
from hikyuu.cpp.core38 import INTPART
|
|
113
|
+
from hikyuu.cpp.core38 import IR
|
|
114
|
+
from hikyuu.cpp.core38 import ISINF
|
|
115
|
+
from hikyuu.cpp.core38 import ISINFA
|
|
116
|
+
from hikyuu.cpp.core38 import ISLASTBAR
|
|
117
|
+
from hikyuu.cpp.core38 import ISNA
|
|
118
|
+
from hikyuu.cpp.core38 import IndParam
|
|
119
|
+
from hikyuu.cpp.core38 import Indicator
|
|
120
|
+
from hikyuu.cpp.core38 import IndicatorImp
|
|
121
|
+
from hikyuu.cpp.core38 import JUMPDOWN
|
|
122
|
+
from hikyuu.cpp.core38 import JUMPUP
|
|
123
|
+
from hikyuu.cpp.core38 import KALMAN
|
|
124
|
+
from hikyuu.cpp.core38 import KDATA_PART
|
|
125
|
+
from hikyuu.cpp.core38 import KData
|
|
126
|
+
from hikyuu.cpp.core38 import KDataDriver
|
|
127
|
+
from hikyuu.cpp.core38 import KRecord
|
|
128
|
+
from hikyuu.cpp.core38 import KRecordList
|
|
129
|
+
from hikyuu.cpp.core38 import LAST
|
|
130
|
+
from hikyuu.cpp.core38 import LASTVALUE as CONST
|
|
131
|
+
from hikyuu.cpp.core38 import LASTVALUE
|
|
132
|
+
from hikyuu.cpp.core38 import LIUTONGPAN
|
|
133
|
+
from hikyuu.cpp.core38 import LIUTONGPAN as CAPITAL
|
|
134
|
+
from hikyuu.cpp.core38 import LLV
|
|
135
|
+
from hikyuu.cpp.core38 import LLVBARS
|
|
136
|
+
from hikyuu.cpp.core38 import LN
|
|
137
|
+
from hikyuu.cpp.core38 import LOG
|
|
138
|
+
from hikyuu.cpp.core38 import LOG_LEVEL
|
|
139
|
+
from hikyuu.cpp.core38 import LONGCROSS
|
|
140
|
+
from hikyuu.cpp.core38 import LoanRecord
|
|
141
|
+
from hikyuu.cpp.core38 import MA
|
|
142
|
+
from hikyuu.cpp.core38 import MACD
|
|
143
|
+
from hikyuu.cpp.core38 import MAX
|
|
144
|
+
from hikyuu.cpp.core38 import MDD
|
|
145
|
+
from hikyuu.cpp.core38 import MF_EqualWeight
|
|
146
|
+
from hikyuu.cpp.core38 import MF_ICIRWeight
|
|
147
|
+
from hikyuu.cpp.core38 import MF_ICWeight
|
|
148
|
+
from hikyuu.cpp.core38 import MF_Weight
|
|
149
|
+
from hikyuu.cpp.core38 import MIN
|
|
150
|
+
from hikyuu.cpp.core38 import MINUTE
|
|
151
|
+
from hikyuu.cpp.core38 import MM_FixedCapital
|
|
152
|
+
from hikyuu.cpp.core38 import MM_FixedCapitalFunds
|
|
153
|
+
from hikyuu.cpp.core38 import MM_FixedCount
|
|
154
|
+
from hikyuu.cpp.core38 import MM_FixedCountTps
|
|
155
|
+
from hikyuu.cpp.core38 import MM_FixedPercent
|
|
156
|
+
from hikyuu.cpp.core38 import MM_FixedRisk
|
|
157
|
+
from hikyuu.cpp.core38 import MM_FixedUnits
|
|
158
|
+
from hikyuu.cpp.core38 import MM_Nothing
|
|
159
|
+
from hikyuu.cpp.core38 import MM_WilliamsFixedRisk
|
|
160
|
+
from hikyuu.cpp.core38 import MOD
|
|
161
|
+
from hikyuu.cpp.core38 import MONTH
|
|
162
|
+
from hikyuu.cpp.core38 import MRR
|
|
163
|
+
from hikyuu.cpp.core38 import MarketInfo
|
|
164
|
+
from hikyuu.cpp.core38 import Microseconds
|
|
165
|
+
from hikyuu.cpp.core38 import Milliseconds
|
|
166
|
+
from hikyuu.cpp.core38 import Minutes
|
|
167
|
+
from hikyuu.cpp.core38 import MoneyManagerBase
|
|
168
|
+
from hikyuu.cpp.core38 import MultiFactorBase
|
|
169
|
+
from hikyuu.cpp.core38 import NDAY
|
|
170
|
+
from hikyuu.cpp.core38 import NOT
|
|
171
|
+
from hikyuu.cpp.core38 import OrderBrokerBase
|
|
172
|
+
from hikyuu.cpp.core38 import PF_Simple
|
|
173
|
+
from hikyuu.cpp.core38 import PF_WithoutAF
|
|
174
|
+
from hikyuu.cpp.core38 import PG_FixedHoldDays
|
|
175
|
+
from hikyuu.cpp.core38 import PG_FixedPercent
|
|
176
|
+
from hikyuu.cpp.core38 import PG_NoGoal
|
|
177
|
+
from hikyuu.cpp.core38 import POS
|
|
178
|
+
from hikyuu.cpp.core38 import POW
|
|
179
|
+
from hikyuu.cpp.core38 import PRICELIST
|
|
180
|
+
from hikyuu.cpp.core38 import PRICELIST as VALUE
|
|
181
|
+
from hikyuu.cpp.core38 import Parameter
|
|
182
|
+
from hikyuu.cpp.core38 import Performance
|
|
183
|
+
from hikyuu.cpp.core38 import Portfolio
|
|
184
|
+
from hikyuu.cpp.core38 import PositionRecord
|
|
185
|
+
from hikyuu.cpp.core38 import PositionRecordList
|
|
186
|
+
from hikyuu.cpp.core38 import ProfitGoalBase
|
|
187
|
+
from hikyuu.cpp.core38 import Query
|
|
188
|
+
from hikyuu.cpp.core38 import RECOVER_BACKWARD
|
|
189
|
+
from hikyuu.cpp.core38 import RECOVER_EQUAL_BACKWARD
|
|
190
|
+
from hikyuu.cpp.core38 import RECOVER_EQUAL_FORWARD
|
|
191
|
+
from hikyuu.cpp.core38 import RECOVER_FORWARD
|
|
192
|
+
from hikyuu.cpp.core38 import REF
|
|
193
|
+
from hikyuu.cpp.core38 import REPLACE
|
|
194
|
+
from hikyuu.cpp.core38 import RESULT
|
|
195
|
+
from hikyuu.cpp.core38 import REVERSE
|
|
196
|
+
from hikyuu.cpp.core38 import ROC
|
|
197
|
+
from hikyuu.cpp.core38 import ROCP
|
|
198
|
+
from hikyuu.cpp.core38 import ROCR
|
|
199
|
+
from hikyuu.cpp.core38 import ROCR100
|
|
200
|
+
from hikyuu.cpp.core38 import ROUND
|
|
201
|
+
from hikyuu.cpp.core38 import ROUNDDOWN
|
|
202
|
+
from hikyuu.cpp.core38 import ROUNDUP
|
|
203
|
+
from hikyuu.cpp.core38 import RSI
|
|
204
|
+
from hikyuu.cpp.core38 import SAFTYLOSS
|
|
205
|
+
from hikyuu.cpp.core38 import SE_Fixed
|
|
206
|
+
from hikyuu.cpp.core38 import SE_MaxFundsOptimal
|
|
207
|
+
from hikyuu.cpp.core38 import SE_MultiFactor
|
|
208
|
+
from hikyuu.cpp.core38 import SE_PerformanceOptimal
|
|
209
|
+
from hikyuu.cpp.core38 import SE_Signal
|
|
210
|
+
from hikyuu.cpp.core38 import SGN
|
|
211
|
+
from hikyuu.cpp.core38 import SG_Add
|
|
212
|
+
from hikyuu.cpp.core38 import SG_AllwaysBuy
|
|
213
|
+
from hikyuu.cpp.core38 import SG_And
|
|
214
|
+
from hikyuu.cpp.core38 import SG_Band
|
|
215
|
+
from hikyuu.cpp.core38 import SG_Bool
|
|
216
|
+
from hikyuu.cpp.core38 import SG_Buy
|
|
217
|
+
from hikyuu.cpp.core38 import SG_Cross
|
|
218
|
+
from hikyuu.cpp.core38 import SG_CrossGold
|
|
219
|
+
from hikyuu.cpp.core38 import SG_Cycle
|
|
220
|
+
from hikyuu.cpp.core38 import SG_Div
|
|
221
|
+
from hikyuu.cpp.core38 import SG_Flex
|
|
222
|
+
from hikyuu.cpp.core38 import SG_Mul
|
|
223
|
+
from hikyuu.cpp.core38 import SG_OneSide
|
|
224
|
+
from hikyuu.cpp.core38 import SG_Or
|
|
225
|
+
from hikyuu.cpp.core38 import SG_Sell
|
|
226
|
+
from hikyuu.cpp.core38 import SG_Single
|
|
227
|
+
from hikyuu.cpp.core38 import SG_Single2
|
|
228
|
+
from hikyuu.cpp.core38 import SG_Sub
|
|
229
|
+
from hikyuu.cpp.core38 import SIN
|
|
230
|
+
from hikyuu.cpp.core38 import SLICE
|
|
231
|
+
from hikyuu.cpp.core38 import SLOPE
|
|
232
|
+
from hikyuu.cpp.core38 import SMA
|
|
233
|
+
from hikyuu.cpp.core38 import SPEARMAN
|
|
234
|
+
from hikyuu.cpp.core38 import SP_FixedPercent
|
|
235
|
+
from hikyuu.cpp.core38 import SP_FixedValue
|
|
236
|
+
from hikyuu.cpp.core38 import SQRT
|
|
237
|
+
from hikyuu.cpp.core38 import STDEV
|
|
238
|
+
from hikyuu.cpp.core38 import STDEV as STD
|
|
239
|
+
from hikyuu.cpp.core38 import STDP
|
|
240
|
+
from hikyuu.cpp.core38 import ST_FixedPercent
|
|
241
|
+
from hikyuu.cpp.core38 import ST_Indicator
|
|
242
|
+
from hikyuu.cpp.core38 import ST_Saftyloss
|
|
243
|
+
from hikyuu.cpp.core38 import SUM
|
|
244
|
+
from hikyuu.cpp.core38 import SUMBARS
|
|
245
|
+
from hikyuu.cpp.core38 import SYS_Simple
|
|
246
|
+
from hikyuu.cpp.core38 import SYS_WalkForward
|
|
247
|
+
from hikyuu.cpp.core38 import ScoreRecord
|
|
248
|
+
from hikyuu.cpp.core38 import ScoreRecordList
|
|
249
|
+
from hikyuu.cpp.core38 import Seconds
|
|
250
|
+
from hikyuu.cpp.core38 import SelectorBase
|
|
251
|
+
from hikyuu.cpp.core38 import SignalBase
|
|
252
|
+
from hikyuu.cpp.core38 import SlippageBase
|
|
253
|
+
from hikyuu.cpp.core38 import SpotRecord
|
|
254
|
+
from hikyuu.cpp.core38 import Stock
|
|
255
|
+
from hikyuu.cpp.core38 import StockManager
|
|
256
|
+
from hikyuu.cpp.core38 import StockTypeInfo
|
|
257
|
+
from hikyuu.cpp.core38 import StockWeight
|
|
258
|
+
from hikyuu.cpp.core38 import StockWeightList
|
|
259
|
+
from hikyuu.cpp.core38 import StoplossBase
|
|
260
|
+
from hikyuu.cpp.core38 import Strategy
|
|
261
|
+
from hikyuu.cpp.core38 import StrategyContext
|
|
262
|
+
from hikyuu.cpp.core38 import System
|
|
263
|
+
from hikyuu.cpp.core38 import SystemPart
|
|
264
|
+
from hikyuu.cpp.core38 import SystemWeight
|
|
265
|
+
from hikyuu.cpp.core38 import SystemWeightList
|
|
266
|
+
from hikyuu.cpp.core38 import TAN
|
|
267
|
+
from hikyuu.cpp.core38 import TA_ACCBANDS
|
|
268
|
+
from hikyuu.cpp.core38 import TA_ACOS
|
|
269
|
+
from hikyuu.cpp.core38 import TA_AD
|
|
270
|
+
from hikyuu.cpp.core38 import TA_ADD
|
|
271
|
+
from hikyuu.cpp.core38 import TA_ADOSC
|
|
272
|
+
from hikyuu.cpp.core38 import TA_ADX
|
|
273
|
+
from hikyuu.cpp.core38 import TA_ADXR
|
|
274
|
+
from hikyuu.cpp.core38 import TA_APO
|
|
275
|
+
from hikyuu.cpp.core38 import TA_AROON
|
|
276
|
+
from hikyuu.cpp.core38 import TA_AROONOSC
|
|
277
|
+
from hikyuu.cpp.core38 import TA_ASIN
|
|
278
|
+
from hikyuu.cpp.core38 import TA_ATAN
|
|
279
|
+
from hikyuu.cpp.core38 import TA_ATR
|
|
280
|
+
from hikyuu.cpp.core38 import TA_AVGDEV
|
|
281
|
+
from hikyuu.cpp.core38 import TA_AVGPRICE
|
|
282
|
+
from hikyuu.cpp.core38 import TA_BBANDS
|
|
283
|
+
from hikyuu.cpp.core38 import TA_BETA
|
|
284
|
+
from hikyuu.cpp.core38 import TA_BOP
|
|
285
|
+
from hikyuu.cpp.core38 import TA_CCI
|
|
286
|
+
from hikyuu.cpp.core38 import TA_CDL2CROWS
|
|
287
|
+
from hikyuu.cpp.core38 import TA_CDL3BLACKCROWS
|
|
288
|
+
from hikyuu.cpp.core38 import TA_CDL3INSIDE
|
|
289
|
+
from hikyuu.cpp.core38 import TA_CDL3LINESTRIKE
|
|
290
|
+
from hikyuu.cpp.core38 import TA_CDL3OUTSIDE
|
|
291
|
+
from hikyuu.cpp.core38 import TA_CDL3STARSINSOUTH
|
|
292
|
+
from hikyuu.cpp.core38 import TA_CDL3WHITESOLDIERS
|
|
293
|
+
from hikyuu.cpp.core38 import TA_CDLABANDONEDBABY
|
|
294
|
+
from hikyuu.cpp.core38 import TA_CDLADVANCEBLOCK
|
|
295
|
+
from hikyuu.cpp.core38 import TA_CDLBELTHOLD
|
|
296
|
+
from hikyuu.cpp.core38 import TA_CDLBREAKAWAY
|
|
297
|
+
from hikyuu.cpp.core38 import TA_CDLCLOSINGMARUBOZU
|
|
298
|
+
from hikyuu.cpp.core38 import TA_CDLCONCEALBABYSWALL
|
|
299
|
+
from hikyuu.cpp.core38 import TA_CDLCOUNTERATTACK
|
|
300
|
+
from hikyuu.cpp.core38 import TA_CDLDARKCLOUDCOVER
|
|
301
|
+
from hikyuu.cpp.core38 import TA_CDLDOJI
|
|
302
|
+
from hikyuu.cpp.core38 import TA_CDLDOJISTAR
|
|
303
|
+
from hikyuu.cpp.core38 import TA_CDLDRAGONFLYDOJI
|
|
304
|
+
from hikyuu.cpp.core38 import TA_CDLENGULFING
|
|
305
|
+
from hikyuu.cpp.core38 import TA_CDLEVENINGDOJISTAR
|
|
306
|
+
from hikyuu.cpp.core38 import TA_CDLEVENINGSTAR
|
|
307
|
+
from hikyuu.cpp.core38 import TA_CDLGAPSIDESIDEWHITE
|
|
308
|
+
from hikyuu.cpp.core38 import TA_CDLGRAVESTONEDOJI
|
|
309
|
+
from hikyuu.cpp.core38 import TA_CDLHAMMER
|
|
310
|
+
from hikyuu.cpp.core38 import TA_CDLHANGINGMAN
|
|
311
|
+
from hikyuu.cpp.core38 import TA_CDLHARAMI
|
|
312
|
+
from hikyuu.cpp.core38 import TA_CDLHARAMICROSS
|
|
313
|
+
from hikyuu.cpp.core38 import TA_CDLHIGHWAVE
|
|
314
|
+
from hikyuu.cpp.core38 import TA_CDLHIKKAKE
|
|
315
|
+
from hikyuu.cpp.core38 import TA_CDLHIKKAKEMOD
|
|
316
|
+
from hikyuu.cpp.core38 import TA_CDLHOMINGPIGEON
|
|
317
|
+
from hikyuu.cpp.core38 import TA_CDLIDENTICAL3CROWS
|
|
318
|
+
from hikyuu.cpp.core38 import TA_CDLINNECK
|
|
319
|
+
from hikyuu.cpp.core38 import TA_CDLINVERTEDHAMMER
|
|
320
|
+
from hikyuu.cpp.core38 import TA_CDLKICKING
|
|
321
|
+
from hikyuu.cpp.core38 import TA_CDLKICKINGBYLENGTH
|
|
322
|
+
from hikyuu.cpp.core38 import TA_CDLLADDERBOTTOM
|
|
323
|
+
from hikyuu.cpp.core38 import TA_CDLLONGLEGGEDDOJI
|
|
324
|
+
from hikyuu.cpp.core38 import TA_CDLLONGLINE
|
|
325
|
+
from hikyuu.cpp.core38 import TA_CDLMARUBOZU
|
|
326
|
+
from hikyuu.cpp.core38 import TA_CDLMATCHINGLOW
|
|
327
|
+
from hikyuu.cpp.core38 import TA_CDLMATHOLD
|
|
328
|
+
from hikyuu.cpp.core38 import TA_CDLMORNINGDOJISTAR
|
|
329
|
+
from hikyuu.cpp.core38 import TA_CDLMORNINGSTAR
|
|
330
|
+
from hikyuu.cpp.core38 import TA_CDLONNECK
|
|
331
|
+
from hikyuu.cpp.core38 import TA_CDLPIERCING
|
|
332
|
+
from hikyuu.cpp.core38 import TA_CDLRICKSHAWMAN
|
|
333
|
+
from hikyuu.cpp.core38 import TA_CDLRISEFALL3METHODS
|
|
334
|
+
from hikyuu.cpp.core38 import TA_CDLSEPARATINGLINES
|
|
335
|
+
from hikyuu.cpp.core38 import TA_CDLSHOOTINGSTAR
|
|
336
|
+
from hikyuu.cpp.core38 import TA_CDLSHORTLINE
|
|
337
|
+
from hikyuu.cpp.core38 import TA_CDLSPINNINGTOP
|
|
338
|
+
from hikyuu.cpp.core38 import TA_CDLSTALLEDPATTERN
|
|
339
|
+
from hikyuu.cpp.core38 import TA_CDLSTICKSANDWICH
|
|
340
|
+
from hikyuu.cpp.core38 import TA_CDLTAKURI
|
|
341
|
+
from hikyuu.cpp.core38 import TA_CDLTASUKIGAP
|
|
342
|
+
from hikyuu.cpp.core38 import TA_CDLTHRUSTING
|
|
343
|
+
from hikyuu.cpp.core38 import TA_CDLTRISTAR
|
|
344
|
+
from hikyuu.cpp.core38 import TA_CDLUNIQUE3RIVER
|
|
345
|
+
from hikyuu.cpp.core38 import TA_CDLUPSIDEGAP2CROWS
|
|
346
|
+
from hikyuu.cpp.core38 import TA_CDLXSIDEGAP3METHODS
|
|
347
|
+
from hikyuu.cpp.core38 import TA_CEIL
|
|
348
|
+
from hikyuu.cpp.core38 import TA_CMO
|
|
349
|
+
from hikyuu.cpp.core38 import TA_CORREL
|
|
350
|
+
from hikyuu.cpp.core38 import TA_COS
|
|
351
|
+
from hikyuu.cpp.core38 import TA_COSH
|
|
352
|
+
from hikyuu.cpp.core38 import TA_DEMA
|
|
353
|
+
from hikyuu.cpp.core38 import TA_DIV
|
|
354
|
+
from hikyuu.cpp.core38 import TA_DX
|
|
355
|
+
from hikyuu.cpp.core38 import TA_EMA
|
|
356
|
+
from hikyuu.cpp.core38 import TA_EXP
|
|
357
|
+
from hikyuu.cpp.core38 import TA_FLOOR
|
|
358
|
+
from hikyuu.cpp.core38 import TA_HT_DCPERIOD
|
|
359
|
+
from hikyuu.cpp.core38 import TA_HT_DCPHASE
|
|
360
|
+
from hikyuu.cpp.core38 import TA_HT_PHASOR
|
|
361
|
+
from hikyuu.cpp.core38 import TA_HT_SINE
|
|
362
|
+
from hikyuu.cpp.core38 import TA_HT_TRENDLINE
|
|
363
|
+
from hikyuu.cpp.core38 import TA_HT_TRENDMODE
|
|
364
|
+
from hikyuu.cpp.core38 import TA_IMI
|
|
365
|
+
from hikyuu.cpp.core38 import TA_KAMA
|
|
366
|
+
from hikyuu.cpp.core38 import TA_LINEARREG
|
|
367
|
+
from hikyuu.cpp.core38 import TA_LINEARREG_ANGLE
|
|
368
|
+
from hikyuu.cpp.core38 import TA_LINEARREG_INTERCEPT
|
|
369
|
+
from hikyuu.cpp.core38 import TA_LINEARREG_SLOPE
|
|
370
|
+
from hikyuu.cpp.core38 import TA_LN
|
|
371
|
+
from hikyuu.cpp.core38 import TA_LOG10
|
|
372
|
+
from hikyuu.cpp.core38 import TA_MA
|
|
373
|
+
from hikyuu.cpp.core38 import TA_MACD
|
|
374
|
+
from hikyuu.cpp.core38 import TA_MACDEXT
|
|
375
|
+
from hikyuu.cpp.core38 import TA_MACDFIX
|
|
376
|
+
from hikyuu.cpp.core38 import TA_MAMA
|
|
377
|
+
from hikyuu.cpp.core38 import TA_MAVP
|
|
378
|
+
from hikyuu.cpp.core38 import TA_MAX
|
|
379
|
+
from hikyuu.cpp.core38 import TA_MAXINDEX
|
|
380
|
+
from hikyuu.cpp.core38 import TA_MEDPRICE
|
|
381
|
+
from hikyuu.cpp.core38 import TA_MFI
|
|
382
|
+
from hikyuu.cpp.core38 import TA_MIDPOINT
|
|
383
|
+
from hikyuu.cpp.core38 import TA_MIDPRICE
|
|
384
|
+
from hikyuu.cpp.core38 import TA_MIN
|
|
385
|
+
from hikyuu.cpp.core38 import TA_MININDEX
|
|
386
|
+
from hikyuu.cpp.core38 import TA_MINMAX
|
|
387
|
+
from hikyuu.cpp.core38 import TA_MINMAXINDEX
|
|
388
|
+
from hikyuu.cpp.core38 import TA_MINUS_DI
|
|
389
|
+
from hikyuu.cpp.core38 import TA_MINUS_DM
|
|
390
|
+
from hikyuu.cpp.core38 import TA_MOM
|
|
391
|
+
from hikyuu.cpp.core38 import TA_MULT
|
|
392
|
+
from hikyuu.cpp.core38 import TA_NATR
|
|
393
|
+
from hikyuu.cpp.core38 import TA_OBV
|
|
394
|
+
from hikyuu.cpp.core38 import TA_PLUS_DI
|
|
395
|
+
from hikyuu.cpp.core38 import TA_PLUS_DM
|
|
396
|
+
from hikyuu.cpp.core38 import TA_PPO
|
|
397
|
+
from hikyuu.cpp.core38 import TA_ROC
|
|
398
|
+
from hikyuu.cpp.core38 import TA_ROCP
|
|
399
|
+
from hikyuu.cpp.core38 import TA_ROCR
|
|
400
|
+
from hikyuu.cpp.core38 import TA_ROCR100
|
|
401
|
+
from hikyuu.cpp.core38 import TA_RSI
|
|
402
|
+
from hikyuu.cpp.core38 import TA_SAR
|
|
403
|
+
from hikyuu.cpp.core38 import TA_SAREXT
|
|
404
|
+
from hikyuu.cpp.core38 import TA_SIN
|
|
405
|
+
from hikyuu.cpp.core38 import TA_SINH
|
|
406
|
+
from hikyuu.cpp.core38 import TA_SMA
|
|
407
|
+
from hikyuu.cpp.core38 import TA_SQRT
|
|
408
|
+
from hikyuu.cpp.core38 import TA_STDDEV
|
|
409
|
+
from hikyuu.cpp.core38 import TA_STOCH
|
|
410
|
+
from hikyuu.cpp.core38 import TA_STOCHF
|
|
411
|
+
from hikyuu.cpp.core38 import TA_STOCHRSI
|
|
412
|
+
from hikyuu.cpp.core38 import TA_SUB
|
|
413
|
+
from hikyuu.cpp.core38 import TA_SUM
|
|
414
|
+
from hikyuu.cpp.core38 import TA_T3
|
|
415
|
+
from hikyuu.cpp.core38 import TA_TAN
|
|
416
|
+
from hikyuu.cpp.core38 import TA_TANH
|
|
417
|
+
from hikyuu.cpp.core38 import TA_TEMA
|
|
418
|
+
from hikyuu.cpp.core38 import TA_TRANGE
|
|
419
|
+
from hikyuu.cpp.core38 import TA_TRIMA
|
|
420
|
+
from hikyuu.cpp.core38 import TA_TRIX
|
|
421
|
+
from hikyuu.cpp.core38 import TA_TSF
|
|
422
|
+
from hikyuu.cpp.core38 import TA_TYPPRICE
|
|
423
|
+
from hikyuu.cpp.core38 import TA_ULTOSC
|
|
424
|
+
from hikyuu.cpp.core38 import TA_VAR
|
|
425
|
+
from hikyuu.cpp.core38 import TA_WCLPRICE
|
|
426
|
+
from hikyuu.cpp.core38 import TA_WILLR
|
|
427
|
+
from hikyuu.cpp.core38 import TA_WMA
|
|
428
|
+
from hikyuu.cpp.core38 import TC_FixedA
|
|
429
|
+
from hikyuu.cpp.core38 import TC_FixedA2015
|
|
430
|
+
from hikyuu.cpp.core38 import TC_FixedA2017
|
|
431
|
+
from hikyuu.cpp.core38 import TC_TestStub
|
|
432
|
+
from hikyuu.cpp.core38 import TC_Zero
|
|
433
|
+
from hikyuu.cpp.core38 import TIME
|
|
434
|
+
from hikyuu.cpp.core38 import TIMELINE
|
|
435
|
+
from hikyuu.cpp.core38 import TIMELINEVOL
|
|
436
|
+
from hikyuu.cpp.core38 import TR
|
|
437
|
+
from hikyuu.cpp.core38 import TURNOVER
|
|
438
|
+
from hikyuu.cpp.core38 import TimeDelta
|
|
439
|
+
from hikyuu.cpp.core38 import TimeLineList
|
|
440
|
+
from hikyuu.cpp.core38 import TimeLineRecord
|
|
441
|
+
from hikyuu.cpp.core38 import TradeCostBase
|
|
442
|
+
from hikyuu.cpp.core38 import TradeManager
|
|
443
|
+
from hikyuu.cpp.core38 import TradeRecord
|
|
444
|
+
from hikyuu.cpp.core38 import TradeRecordList
|
|
445
|
+
from hikyuu.cpp.core38 import TradeRequest
|
|
446
|
+
from hikyuu.cpp.core38 import TransList
|
|
447
|
+
from hikyuu.cpp.core38 import TransRecord
|
|
448
|
+
from hikyuu.cpp.core38 import UPNDAY
|
|
449
|
+
from hikyuu.cpp.core38 import VAR
|
|
450
|
+
from hikyuu.cpp.core38 import VARP
|
|
451
|
+
from hikyuu.cpp.core38 import VIGOR
|
|
452
|
+
from hikyuu.cpp.core38 import WEAVE
|
|
453
|
+
from hikyuu.cpp.core38 import WEEK
|
|
454
|
+
from hikyuu.cpp.core38 import WINNER
|
|
455
|
+
from hikyuu.cpp.core38 import WMA
|
|
456
|
+
from hikyuu.cpp.core38 import YEAR
|
|
457
|
+
from hikyuu.cpp.core38 import ZHBOND10
|
|
458
|
+
from hikyuu.cpp.core38 import ZONGGUBEN
|
|
459
|
+
from hikyuu.cpp.core38 import ZSCORE
|
|
460
|
+
from hikyuu.cpp.core38 import __init__ as old_Query_init
|
|
461
|
+
from hikyuu.cpp.core38 import batch_calculate_inds
|
|
462
|
+
from hikyuu.cpp.core38 import can_upgrade
|
|
463
|
+
from hikyuu.cpp.core38 import close_ostream_to_python
|
|
464
|
+
from hikyuu.cpp.core38 import close_spend_time
|
|
465
|
+
from hikyuu.cpp.core38 import combinate_ind
|
|
466
|
+
from hikyuu.cpp.core38 import combinate_index
|
|
467
|
+
from hikyuu.cpp.core38 import crtBrokerTM
|
|
468
|
+
from hikyuu.cpp.core38 import crtSEOptimal
|
|
469
|
+
from hikyuu.cpp.core38 import crtTM
|
|
470
|
+
from hikyuu.cpp.core38 import crt_pf_strategy
|
|
471
|
+
from hikyuu.cpp.core38 import crt_sys_strategy
|
|
472
|
+
from hikyuu.cpp.core38 import find_optimal_system
|
|
473
|
+
from hikyuu.cpp.core38 import find_optimal_system_multi
|
|
474
|
+
from hikyuu.cpp.core38 import get_block
|
|
475
|
+
from hikyuu.cpp.core38 import get_business_name
|
|
476
|
+
from hikyuu.cpp.core38 import get_data_from_buffer_server
|
|
477
|
+
from hikyuu.cpp.core38 import get_date_range
|
|
478
|
+
from hikyuu.cpp.core38 import get_kdata
|
|
479
|
+
from hikyuu.cpp.core38 import get_last_version
|
|
480
|
+
from hikyuu.cpp.core38 import get_log_level
|
|
481
|
+
from hikyuu.cpp.core38 import get_stock
|
|
482
|
+
from hikyuu.cpp.core38 import get_system_part_enum
|
|
483
|
+
from hikyuu.cpp.core38 import get_system_part_name
|
|
484
|
+
from hikyuu.cpp.core38 import get_version
|
|
485
|
+
from hikyuu.cpp.core38 import get_version_git
|
|
486
|
+
from hikyuu.cpp.core38 import get_version_with_build
|
|
487
|
+
from hikyuu.cpp.core38 import hikyuu_init
|
|
488
|
+
from hikyuu.cpp.core38 import inner_analysis_sys_list
|
|
489
|
+
from hikyuu.cpp.core38 import inner_combinate_ind_analysis
|
|
490
|
+
from hikyuu.cpp.core38 import inner_combinate_ind_analysis_with_block
|
|
491
|
+
from hikyuu.cpp.core38 import isinf
|
|
492
|
+
from hikyuu.cpp.core38 import isnan
|
|
493
|
+
from hikyuu.cpp.core38 import open_ostream_to_python
|
|
494
|
+
from hikyuu.cpp.core38 import open_spend_time
|
|
495
|
+
from hikyuu.cpp.core38 import roundDown
|
|
496
|
+
from hikyuu.cpp.core38 import roundEx
|
|
497
|
+
from hikyuu.cpp.core38 import roundUp
|
|
498
|
+
from hikyuu.cpp.core38 import run_in_strategy
|
|
499
|
+
from hikyuu.cpp.core38 import set_log_level
|
|
500
|
+
from hikyuu.cpp.core38 import set_python_in_interactive
|
|
501
|
+
from hikyuu.cpp.core38 import set_python_in_jupyter
|
|
502
|
+
from hikyuu.cpp.core38 import start_spot_agent
|
|
503
|
+
from hikyuu.cpp.core38 import stop_spot_agent
|
|
504
|
+
from hikyuu.cpp.core38 import toPriceList
|
|
493
505
|
from hikyuu.draw.drawplot.common import get_draw_title
|
|
494
506
|
from hikyuu import extend
|
|
495
507
|
from hikyuu.extend import DatetimeList_to_df
|
|
496
508
|
from hikyuu.extend import DatetimeList_to_np
|
|
497
509
|
from hikyuu.extend import Datetime_date
|
|
498
510
|
from hikyuu.extend import Datetime_datetime
|
|
499
|
-
from hikyuu.extend import KData_getPos
|
|
500
|
-
from hikyuu.extend import KData_getPosInStock
|
|
501
511
|
from hikyuu.extend import KData_getitem
|
|
502
512
|
from hikyuu.extend import KData_iter
|
|
503
513
|
from hikyuu.extend import KData_to_df
|
|
@@ -521,9 +531,13 @@ from hikyuu.hub import get_hub_name_list
|
|
|
521
531
|
from hikyuu.hub import get_hub_path
|
|
522
532
|
from hikyuu.hub import get_part
|
|
523
533
|
from hikyuu.hub import get_part_info
|
|
534
|
+
from hikyuu.hub import get_part_list
|
|
535
|
+
from hikyuu.hub import get_part_module
|
|
524
536
|
from hikyuu.hub import get_part_name_list
|
|
525
537
|
from hikyuu.hub import print_part_info
|
|
538
|
+
from hikyuu.hub import print_part_info as help_part
|
|
526
539
|
from hikyuu.hub import remove_hub
|
|
540
|
+
from hikyuu.hub import search_part
|
|
527
541
|
from hikyuu.hub import update_hub
|
|
528
542
|
from hikyuu.indicator import indicator
|
|
529
543
|
from hikyuu.indicator.indicator import concat_to_df
|
|
@@ -574,10 +588,10 @@ from hikyuu.util.mylog import LoggingContext
|
|
|
574
588
|
from hikyuu.util.mylog import add_class_logger_handler
|
|
575
589
|
from hikyuu.util.mylog import capture_multiprocess_all_logger
|
|
576
590
|
from hikyuu.util.mylog import class_logger
|
|
577
|
-
from hikyuu.util.mylog import hku_debug
|
|
578
591
|
from hikyuu.util.mylog import hku_debug as hku_trace
|
|
579
|
-
from hikyuu.util.mylog import
|
|
592
|
+
from hikyuu.util.mylog import hku_debug
|
|
580
593
|
from hikyuu.util.mylog import hku_debug_if as hku_trace_if
|
|
594
|
+
from hikyuu.util.mylog import hku_debug_if
|
|
581
595
|
from hikyuu.util.mylog import hku_error
|
|
582
596
|
from hikyuu.util.mylog import hku_error_if
|
|
583
597
|
from hikyuu.util.mylog import hku_fatal
|
|
@@ -612,9 +626,11 @@ import numpy as np
|
|
|
612
626
|
import os as os
|
|
613
627
|
import pandas as pd
|
|
614
628
|
import pickle as pickle
|
|
629
|
+
import seaborn as sns
|
|
615
630
|
import sys as sys
|
|
616
631
|
import traceback as traceback
|
|
617
|
-
|
|
632
|
+
import typing
|
|
633
|
+
__all__ = ['ABS', 'ACOS', 'AD', 'ADVANCE', 'AF_EqualWeight', 'AF_FixedWeight', 'AF_FixedWeightList', 'AF_MultiFactor', 'ALIGN', 'AMA', 'AMO', 'ASIN', 'ATAN', 'ATR', 'AVEDEV', 'AllocateFundsBase', 'BACKSET', 'BARSCOUNT', 'BARSLAST', 'BARSSINCE', 'BETWEEN', 'BLOCKSETNUM', 'BUSINESS', 'Block', 'BlockInfoDriver', 'BorrowRecord', 'BrokerPositionRecord', 'CAPITAL', 'CEILING', 'CLOSE', 'CN_Bool', 'CN_OPLine', 'CONST', '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', 'DIRECT', 'DISCARD', 'DMA', 'DOWNNDAY', 'DRAWBAND', 'DRAWBMP', 'DRAWICON', 'DRAWIMG', 'DRAWLINE', 'DRAWNULL', 'DRAWNUMBER', 'DRAWNUMBER_FIX', 'DRAWRECTREL', 'DRAWSL', 'DRAWTEXT', 'DRAWTEXT_FIX', 'DROPNA', 'DataDriverFactory', 'Datetime', 'DatetimeList', 'DatetimeList_to_df', 'DatetimeList_to_np', 'Datetime_date', 'Datetime_datetime', 'Days', 'EMA', 'ERROR', 'EVERY', 'EV_Bool', 'EV_TwoLine', 'EXIST', 'EXP', 'EasyTraderOrderBroker', 'EnvironmentBase', 'FATAL', 'FILTER', 'FINANCE', 'FLOOR', 'FixedLocator', 'FontManager', 'FuncFormatter', 'FundsRecord', 'HHV', 'HHVBARS', 'HIGH', 'HKUCheckError', 'HKUException', 'HOUR', 'HSL', 'Hours', 'IC', 'ICIR', 'ICON_PATH', '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', 'KDATA_PART', 'KDJ', 'KData', 'KDataDriver', 'KData_getitem', 'KData_iter', 'KData_to_df', 'KData_to_np', 'KRecord', 'KRecordList', 'LAST', 'LASTVALUE', 'LIUTONGPAN', 'LLV', 'LLVBARS', 'LN', 'LOG', 'LOG_LEVEL', 'LONGCROSS', 'LOW', 'Line2D', 'LoanRecord', 'LoggingContext', 'MA', 'MACD', 'MAX', 'MAXYEAR', 'MDD', 'MF_EqualWeight', 'MF_ICIRWeight', 'MF_ICWeight', 'MF_Weight', 'MIN', 'MINUTE', 'MINYEAR', 'MM_FixedCapital', 'MM_FixedCapitalFunds', 'MM_FixedCount', 'MM_FixedCountTps', 'MM_FixedPercent', 'MM_FixedRisk', 'MM_FixedUnits', 'MM_Nothing', 'MM_WilliamsFixedRisk', 'MOD', 'MONTH', 'MRR', 'MailOrderBroker', 'MarketInfo', 'Microseconds', 'Milliseconds', 'Minutes', 'MoneyManagerBase', 'MultiFactorBase', 'NDAY', 'NOT', 'OFF', 'OPEN', 'OrderBrokerBase', 'OrderBrokerWrap', 'PF_Simple', 'PF_WithoutAF', 'PG_FixedHoldDays', 'PG_FixedPercent', 'PG_NoGoal', 'PLOYLINE', 'POS', 'POW', 'PRICELIST', 'Parameter', 'Parameter_items', 'Parameter_iter', 'Parameter_keys', 'Parameter_to_dict', 'Performance', 'Performance_to_df', 'Portfolio', 'PositionList_to_df', 'PositionList_to_np', 'PositionRecord', 'PositionRecordList', 'ProfitGoalBase', 'Query', 'RECOVER_BACKWARD', 'RECOVER_EQUAL_BACKWARD', 'RECOVER_EQUAL_FORWARD', 'RECOVER_FORWARD', 'REF', 'REPLACE', 'RESULT', 'REVERSE', 'RGB', 'ROC', 'ROCP', 'ROCR', 'ROCR100', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'RSI', 'Rectangle', 'SAFTYLOSS', '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', 'SHOWICONS', 'SIN', 'SLICE', 'SLOPE', 'SMA', 'SPEARMAN', 'SP_FixedPercent', 'SP_FixedValue', 'SQRT', 'STD', 'STDEV', 'STDP', 'STICKLINE', 'ST_FixedPercent', 'ST_Indicator', 'ST_Saftyloss', 'SUM', 'SUMBARS', 'SYS_Simple', 'SYS_WalkForward', 'ScoreRecord', 'ScoreRecordList', 'Seconds', 'SelectorBase', 'SignalBase', 'SlippageBase', 'SpotRecord', 'Stock', 'StockFuncFormatter', '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', 'TICKLEFT', 'TICKRIGHT', 'TIME', 'TIMELINE', 'TIMELINEVOL', 'TR', 'TRACE', 'TURNOVER', 'TestOrderBroker', 'TimeDelta', 'TimeDelta_timedelta', 'TimeLineList', 'TimeLineRecord', 'TimeLine_to_df', 'TimeLine_to_np', 'TradeCostBase', 'TradeList_to_df', 'TradeList_to_np', 'TradeManager', 'TradeRecord', 'TradeRecordList', 'TradeRequest', 'TransList', 'TransList_to_df', 'TransList_to_np', 'TransRecord', 'UPNDAY', 'VALUE', 'VAR', 'VARP', 'VIGOR', 'VOL', 'WARN', 'WEAVE', 'WEEK', 'WINNER', 'WMA', 'YEAR', 'ZHBOND10', 'ZONGGUBEN', 'ZSCORE', 'add_class_logger_handler', 'add_local_hub', 'add_remote_hub', 'adjust_axes_show', 'analysis', 'analysis_sys_list', 'analysis_sys_list_multi', 'ax_draw_macd', 'ax_draw_macd2', 'ax_set_locator_formatter', 'axes', 'batch_calculate_inds', 'broker', 'broker_easytrader', 'broker_mail', 'build_hub', 'can_upgrade', 'capture_multiprocess_all_logger', 'class_logger', 'close_ostream_to_python', 'close_spend_time', 'cnplot', 'combinate_ind', 'combinate_ind_analysis', 'combinate_ind_analysis_multi', 'combinate_index', 'concat_to_df', 'constant', 'core', 'cpp', 'create_figure', 'create_four_axes_figure', 'create_one_axes_figure', 'create_three_axes_figure', 'create_two_axes_figure', 'crtAF', 'crtBrokerTM', 'crtCN', 'crtEV', 'crtMF', 'crtMM', 'crtOB', 'crtPG', 'crtSE', 'crtSEOptimal', 'crtSG', 'crtSP', 'crtST', 'crtTM', 'crt_pf_strategy', 'crt_sys_strategy', 'date', 'datetime', 'datetime_CAPI', 'df_to_ind', 'draw', 'evplot', 'extend', 'figure', 'find_optimal_system', 'find_optimal_system_multi', 'fm_logger', 'gca', 'gcf', 'getDayLocatorAndFormatter', 'getMinLocatorAndFormatter', 'get_block', 'get_business_name', 'get_current_hub', 'get_data_from_buffer_server', 'get_date_range', 'get_draw_title', 'get_hub_name_list', 'get_hub_path', 'get_kdata', 'get_last_version', 'get_log_level', 'get_part', 'get_part_info', 'get_part_list', 'get_part_module', 'get_part_name_list', 'get_stock', 'get_system_part_enum', 'get_system_part_name', 'get_version', 'get_version_git', 'get_version_with_build', 'help_part', 'hikyuu_init', 'hku_catch', 'hku_check', 'hku_check_ignore', 'hku_check_throw', 'hku_debug', 'hku_debug_if', 'hku_error', 'hku_error_if', 'hku_fatal', 'hku_fatal_if', 'hku_info', 'hku_info_if', 'hku_logger', 'hku_to_async', 'hku_trace', 'hku_trace_if', 'hku_warn', 'hku_warn_if', 'hub', 'ibar', 'iheatmap', 'imread', 'in_interactive_session', 'in_ipython_frontend', 'indicator', 'indicator_getitem', 'indicator_iter', 'indicator_to_df', 'inner_analysis_sys_list', 'inner_combinate_ind_analysis', 'inner_combinate_ind_analysis_with_block', 'iplot', 'isinf', 'isnan', 'kplot', 'list_getitem', 'logging', 'math', 'matplotlib', 'mkplot', 'new_Query_init', 'np', 'old_Query_init', 'open_ostream_to_python', 'open_spend_time', 'os', 'part_clone', 'part_init', 'part_iter', 'pd', 'pickle', 'print_part_info', 'pyind', 'rcParams', 'remove_hub', 'roundDown', 'roundEx', 'roundUp', 'run_in_strategy', 'search_part', 'set_log_level', 'set_mpl_params', 'set_my_logger_file', 'set_python_in_interactive', 'set_python_in_jupyter', 'sgplot', 'sns', 'spend_time', 'start_spot_agent', 'stop_spot_agent', 'sys', 'sys_heatmap', 'sys_performance', 'sysplot', 'talib_wrap', 'time', 'timedelta', 'timeout', 'timezone', 'tm_heatmap', 'toPriceList', 'traceback', 'trade', 'trade_manage', 'trade_sys', 'tzinfo', 'update_hub', 'util', 'with_trace', 'ylabel']
|
|
618
634
|
class StockFuncFormatter:
|
|
619
635
|
"""
|
|
620
636
|
用于坐标轴显示日期
|
|
@@ -626,7 +642,7 @@ class StockFuncFormatter:
|
|
|
626
642
|
...
|
|
627
643
|
def __init__(self, ix2date):
|
|
628
644
|
...
|
|
629
|
-
def DRAWBAND(val1: hikyuu.cpp.
|
|
645
|
+
def DRAWBAND(val1: hikyuu.cpp.core38.Indicator, color1 = 'm', val2: hikyuu.cpp.core38.Indicator = None, color2 = 'b', kdata = None, alpha = 0.2, new = False, axes = None, linestyle = '-'):
|
|
630
646
|
"""
|
|
631
647
|
画出带状线
|
|
632
648
|
|
|
@@ -646,7 +662,7 @@ def DRAWBAND(val1: hikyuu.cpp.core312.Indicator, color1 = 'm', val2: hikyuu.cpp.
|
|
|
646
662
|
linestyle (str, optional): 包络线类型. Defaults to '-'.
|
|
647
663
|
|
|
648
664
|
"""
|
|
649
|
-
def DRAWICON(cond: hikyuu.cpp.
|
|
665
|
+
def DRAWICON(cond: hikyuu.cpp.core38.Indicator, price: hikyuu.cpp.core38.Indicator, type: int, kdata: hikyuu.cpp.core38.KData = None, new = False, axes = None, *args, **kwargs):
|
|
650
666
|
"""
|
|
651
667
|
绘制内置 icon
|
|
652
668
|
|
|
@@ -664,7 +680,7 @@ def DRAWICON(cond: hikyuu.cpp.core312.Indicator, price: hikyuu.cpp.core312.Indic
|
|
|
664
680
|
axes (_type_, optional): 在指定坐标轴中绘制. Defaults to None.
|
|
665
681
|
|
|
666
682
|
"""
|
|
667
|
-
def DRAWIMG(cond: hikyuu.cpp.
|
|
683
|
+
def DRAWIMG(cond: hikyuu.cpp.core38.Indicator, price: hikyuu.cpp.core38.Indicator, img: str, kdata: hikyuu.cpp.core38.KData = None, new = False, axes = None, *args, **kwargs):
|
|
668
684
|
"""
|
|
669
685
|
画图片
|
|
670
686
|
|
|
@@ -680,7 +696,7 @@ def DRAWIMG(cond: hikyuu.cpp.core312.Indicator, price: hikyuu.cpp.core312.Indica
|
|
|
680
696
|
axes (_type_, optional): 在指定坐标轴中绘制. Defaults to None.
|
|
681
697
|
|
|
682
698
|
"""
|
|
683
|
-
def DRAWLINE(cond1: hikyuu.cpp.
|
|
699
|
+
def DRAWLINE(cond1: hikyuu.cpp.core38.Indicator, price1: hikyuu.cpp.core38.Indicator, cond2: hikyuu.cpp.core38.Indicator, price2: hikyuu.cpp.core38.Indicator, expand: int = 0, kdata: hikyuu.cpp.core38.KData = None, color: str = 'm', new = False, axes = None, *args, **kwargs):
|
|
684
700
|
"""
|
|
685
701
|
在图形上绘制直线段。
|
|
686
702
|
|
|
@@ -700,7 +716,7 @@ def DRAWLINE(cond1: hikyuu.cpp.core312.Indicator, price1: hikyuu.cpp.core312.Ind
|
|
|
700
716
|
axes (_type_, optional): 指定的坐标轴. Defaults to None.
|
|
701
717
|
|
|
702
718
|
"""
|
|
703
|
-
def DRAWNUMBER(cond: hikyuu.cpp.
|
|
719
|
+
def DRAWNUMBER(cond: hikyuu.cpp.core38.Indicator, price: hikyuu.cpp.core38.Indicator, number: hikyuu.cpp.core38.Indicator, kdata: hikyuu.cpp.core38.KData = None, color: str = 'm', new = False, axes = None, *args, **kwargs):
|
|
704
720
|
"""
|
|
705
721
|
画出数字.
|
|
706
722
|
|
|
@@ -717,7 +733,7 @@ def DRAWNUMBER(cond: hikyuu.cpp.core312.Indicator, price: hikyuu.cpp.core312.Ind
|
|
|
717
733
|
axes (_type_, optional): 指定的坐标轴. Defaults to None.
|
|
718
734
|
|
|
719
735
|
"""
|
|
720
|
-
def DRAWNUMBER_FIX(cond: hikyuu.cpp.
|
|
736
|
+
def DRAWNUMBER_FIX(cond: hikyuu.cpp.core38.Indicator, x: float, y: float, type: int, number: float, kdata: hikyuu.cpp.core38.KData = None, color: str = 'm', new = False, axes = None, *args, **kwargs):
|
|
721
737
|
"""
|
|
722
738
|
固定位置显示数字.
|
|
723
739
|
|
|
@@ -761,7 +777,7 @@ def DRAWRECTREL(left: int, top: int, right: int, bottom: int, color = 'm', frame
|
|
|
761
777
|
axes (_type_, optional): 指定的坐标轴. Defaults to None.
|
|
762
778
|
|
|
763
779
|
"""
|
|
764
|
-
def DRAWSL(cond: hikyuu.cpp.
|
|
780
|
+
def DRAWSL(cond: hikyuu.cpp.core38.Indicator, price: hikyuu.cpp.core38.Indicator, slope: typing.Union[hikyuu.cpp.core38.Indicator, float, int], length: typing.Union[hikyuu.cpp.core38.Indicator, float, int], direct: int, kdata: hikyuu.cpp.core38.KData = None, color: str = 'm', new = False, axes = None, *args, **kwargs):
|
|
765
781
|
"""
|
|
766
782
|
绘制斜线.
|
|
767
783
|
|
|
@@ -786,7 +802,7 @@ def DRAWSL(cond: hikyuu.cpp.core312.Indicator, price: hikyuu.cpp.core312.Indicat
|
|
|
786
802
|
axes (_type_, optional): 指定的坐标轴. Defaults to None.
|
|
787
803
|
|
|
788
804
|
"""
|
|
789
|
-
def DRAWTEXT(cond: hikyuu.cpp.
|
|
805
|
+
def DRAWTEXT(cond: hikyuu.cpp.core38.Indicator, price: hikyuu.cpp.core38.Indicator, text: str, kdata: hikyuu.cpp.core38.KData = None, color: str = 'm', new = False, axes = None, *args, **kwargs):
|
|
790
806
|
"""
|
|
791
807
|
在图形上显示文字。
|
|
792
808
|
|
|
@@ -803,7 +819,7 @@ def DRAWTEXT(cond: hikyuu.cpp.core312.Indicator, price: hikyuu.cpp.core312.Indic
|
|
|
803
819
|
axes (_type_, optional): 指定的坐标轴. Defaults to None.
|
|
804
820
|
|
|
805
821
|
"""
|
|
806
|
-
def DRAWTEXT_FIX(cond: hikyuu.cpp.
|
|
822
|
+
def DRAWTEXT_FIX(cond: hikyuu.cpp.core38.Indicator, x: float, y: float, type: int, text: str, kdata: hikyuu.cpp.core38.KData = None, color: str = 'm', new = False, axes = None, *args, **kwargs):
|
|
807
823
|
"""
|
|
808
824
|
固定位置显示文字
|
|
809
825
|
|
|
@@ -825,7 +841,7 @@ def DRAWTEXT_FIX(cond: hikyuu.cpp.core312.Indicator, x: float, y: float, type: i
|
|
|
825
841
|
axes (_type_, optional): 指定坐标轴. Defaults to None.
|
|
826
842
|
|
|
827
843
|
"""
|
|
828
|
-
def PLOYLINE(cond: hikyuu.cpp.
|
|
844
|
+
def PLOYLINE(cond: hikyuu.cpp.core38.Indicator, price: hikyuu.cpp.core38.Indicator, kdata: hikyuu.cpp.core38.KData = None, color: str = 'm', linewidth = 1.0, new = False, axes = None, *args, **kwargs):
|
|
829
845
|
"""
|
|
830
846
|
在图形上绘制折线段。
|
|
831
847
|
|
|
@@ -848,7 +864,7 @@ def SHOWICONS():
|
|
|
848
864
|
"""
|
|
849
865
|
显示所有内置图标
|
|
850
866
|
"""
|
|
851
|
-
def STICKLINE(cond: hikyuu.cpp.
|
|
867
|
+
def STICKLINE(cond: hikyuu.cpp.core38.Indicator, price1: hikyuu.cpp.core38.Indicator, price2: hikyuu.cpp.core38.Indicator, width: float = 2.0, empty: bool = False, color = 'm', alpha = 1.0, kdata = None, new = False, axes = None):
|
|
852
868
|
"""
|
|
853
869
|
在满足cond的条件下,在 price1 和 price2 之间绘制一个宽度为 width 的柱状图。
|
|
854
870
|
|
|
@@ -910,7 +926,7 @@ def ax_set_locator_formatter(axes, dates, typ):
|
|
|
910
926
|
:param Query.KType typ: K线类型
|
|
911
927
|
|
|
912
928
|
"""
|
|
913
|
-
def cnplot(cn, new = True, axes = None, kdata = None):
|
|
929
|
+
def cnplot(cn, new = True, axes = None, kdata = None, upcolor = 'red', downcolor = 'blue', alpha = 0.2):
|
|
914
930
|
"""
|
|
915
931
|
绘制系统有效条件
|
|
916
932
|
|
|
@@ -919,6 +935,9 @@ def cnplot(cn, new = True, axes = None, kdata = None):
|
|
|
919
935
|
:param axes: 指定在那个轴对象中进行绘制
|
|
920
936
|
:param KData kdata: 指定的KData,如该值为None,则认为该系统有效条件已经
|
|
921
937
|
指定了交易对象,否则,使用该参数作为交易对象
|
|
938
|
+
:param upcolor: 有效数时的颜色
|
|
939
|
+
:param downcolor: 无效时的颜色
|
|
940
|
+
:param alpha: 透明度
|
|
922
941
|
|
|
923
942
|
"""
|
|
924
943
|
def create_figure(n = 1, figsize = (10, 8)):
|
|
@@ -962,7 +981,7 @@ def create_two_axes_figure(figsize = (10, 8)):
|
|
|
962
981
|
:return: (ax1, ax2)
|
|
963
982
|
|
|
964
983
|
"""
|
|
965
|
-
def evplot(ev, ref_kdata, new = True, axes = None):
|
|
984
|
+
def evplot(ev, ref_kdata, new = True, axes = None, upcolor = 'red', downcolor = 'blue', alpha = 0.2):
|
|
966
985
|
"""
|
|
967
986
|
绘制市场有效判断
|
|
968
987
|
|
|
@@ -970,6 +989,9 @@ def evplot(ev, ref_kdata, new = True, axes = None):
|
|
|
970
989
|
:param KData ref_kdata: 用于日期参考
|
|
971
990
|
:param new: 仅在未指定axes的情况下生效,当为True时,创建新的窗口对象并在其中进行绘制
|
|
972
991
|
:param axes: 指定在那个轴对象中进行绘制
|
|
992
|
+
:param upcolor: 有效时的颜色
|
|
993
|
+
:param downcolor: 无效时的颜色
|
|
994
|
+
:param alpha: 透明度
|
|
973
995
|
|
|
974
996
|
"""
|
|
975
997
|
def getDayLocatorAndFormatter(dates):
|
|
@@ -999,6 +1021,20 @@ def ibar(indicator, new = True, axes = None, kref = None, legend_on = False, tex
|
|
|
999
1021
|
:param args: pylab plot参数
|
|
1000
1022
|
:param kwargs: pylab plot参数
|
|
1001
1023
|
|
|
1024
|
+
"""
|
|
1025
|
+
def iheatmap(ind, axes = None):
|
|
1026
|
+
"""
|
|
1027
|
+
|
|
1028
|
+
绘制指标收益年-月收益热力图
|
|
1029
|
+
|
|
1030
|
+
指标收益率 = (当前月末值 - 上月末值) / 上月末值 * 100
|
|
1031
|
+
|
|
1032
|
+
指标应已计算(即有值),且为时间序列
|
|
1033
|
+
|
|
1034
|
+
:param ind: 指定指标
|
|
1035
|
+
:param axes: 绘制的轴对象,默认为None,表示创建新的轴对象
|
|
1036
|
+
:return: None
|
|
1037
|
+
|
|
1002
1038
|
"""
|
|
1003
1039
|
def iplot(indicator, new = True, axes = None, kref = None, legend_on = False, text_on = False, text_color = 'k', zero_on = False, label = None, linestyle = '-', *args, **kwargs):
|
|
1004
1040
|
"""
|
|
@@ -1058,9 +1094,23 @@ def sgplot(sg, new = True, axes = None, style = 1, kdata = None):
|
|
|
1058
1094
|
如该值为None,则认为该信号发生器已经指定了交易对象,
|
|
1059
1095
|
否则,使用该参数作为交易对象
|
|
1060
1096
|
|
|
1097
|
+
"""
|
|
1098
|
+
def sys_heatmap(sys, axes = None):
|
|
1099
|
+
"""
|
|
1100
|
+
|
|
1101
|
+
绘制系统收益年-月收益热力图
|
|
1102
|
+
|
|
1061
1103
|
"""
|
|
1062
1104
|
def sys_performance(sys, ref_stk = None):
|
|
1063
|
-
|
|
1105
|
+
"""
|
|
1106
|
+
|
|
1107
|
+
绘制系统绩效,即账户累积收益率曲线
|
|
1108
|
+
|
|
1109
|
+
:param SystemBase | PortfolioBase sys: SYS或PF实例
|
|
1110
|
+
:param Stock ref_stk: 参考股票, 默认为沪深300: sh000300, 绘制参考标的的收益曲线
|
|
1111
|
+
:return: None
|
|
1112
|
+
|
|
1113
|
+
"""
|
|
1064
1114
|
def sysplot(sys, new = True, axes = None, style = 1, only_draw_close = False):
|
|
1065
1115
|
"""
|
|
1066
1116
|
绘制系统实际买入/卖出信号
|
|
@@ -1073,28 +1123,40 @@ def sysplot(sys, new = True, axes = None, style = 1, only_draw_close = False):
|
|
|
1073
1123
|
:param bool only_draw_close: 不绘制K线,仅绘制 close
|
|
1074
1124
|
|
|
1075
1125
|
"""
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1126
|
+
def tm_heatmap(tm, start_date, end_date = None, axes = None):
|
|
1127
|
+
"""
|
|
1128
|
+
|
|
1129
|
+
绘制账户收益年-月收益热力图
|
|
1130
|
+
|
|
1131
|
+
:param tm: 交易账户
|
|
1132
|
+
:param start_date: 开始日期
|
|
1133
|
+
:param end_date: 结束日期,默认为今天
|
|
1134
|
+
:param axes: 绘制的轴对象,默认为None,表示创建新的轴对象
|
|
1135
|
+
:return: None
|
|
1136
|
+
|
|
1137
|
+
"""
|
|
1138
|
+
AMO: hikyuu.cpp.core38.Indicator # value = Indicator{...
|
|
1139
|
+
CLOSE: hikyuu.cpp.core38.Indicator # value = Indicator{...
|
|
1140
|
+
DEBUG: hikyuu.cpp.core38.LOG_LEVEL # value = <LOG_LEVEL.DEBUG: 1>
|
|
1079
1141
|
DRAWNULL: float # value = nan
|
|
1080
|
-
ERROR: hikyuu.cpp.
|
|
1081
|
-
FATAL: hikyuu.cpp.
|
|
1082
|
-
HIGH: hikyuu.cpp.
|
|
1142
|
+
ERROR: hikyuu.cpp.core38.LOG_LEVEL # value = <LOG_LEVEL.ERROR: 4>
|
|
1143
|
+
FATAL: hikyuu.cpp.core38.LOG_LEVEL # value = <LOG_LEVEL.FATAL: 5>
|
|
1144
|
+
HIGH: hikyuu.cpp.core38.Indicator # value = Indicator{...
|
|
1083
1145
|
ICON_PATH: str = 'D:\\workspace\\hikyuu\\hikyuu\\draw\\drawplot'
|
|
1084
|
-
INFO: hikyuu.cpp.
|
|
1085
|
-
KDATA: hikyuu.cpp.
|
|
1086
|
-
LOW: hikyuu.cpp.
|
|
1146
|
+
INFO: hikyuu.cpp.core38.LOG_LEVEL # value = <LOG_LEVEL.INFO: 2>
|
|
1147
|
+
KDATA: hikyuu.cpp.core38.Indicator # value = Indicator{...
|
|
1148
|
+
LOW: hikyuu.cpp.core38.Indicator # value = Indicator{...
|
|
1087
1149
|
MAXYEAR: int = 9999
|
|
1088
1150
|
MINYEAR: int = 1
|
|
1089
|
-
OFF: hikyuu.cpp.
|
|
1090
|
-
OPEN: hikyuu.cpp.
|
|
1151
|
+
OFF: hikyuu.cpp.core38.LOG_LEVEL # value = <LOG_LEVEL.OFF: 6>
|
|
1152
|
+
OPEN: hikyuu.cpp.core38.Indicator # value = Indicator{...
|
|
1091
1153
|
TICKLEFT: int = 0
|
|
1092
1154
|
TICKRIGHT: int = 1
|
|
1093
|
-
TRACE: hikyuu.cpp.
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1155
|
+
TRACE: hikyuu.cpp.core38.LOG_LEVEL # value = <LOG_LEVEL.TRACE: 0>
|
|
1156
|
+
VOL: hikyuu.cpp.core38.Indicator # value = Indicator{...
|
|
1157
|
+
WARN: hikyuu.cpp.core38.LOG_LEVEL # value = <LOG_LEVEL.WARN: 3>
|
|
1158
|
+
constant: hikyuu.cpp.core38.Constant # value = <hikyuu.cpp.core38.Constant object>
|
|
1159
|
+
datetime_CAPI: typing.Any # value = <capsule object "datetime.datetime_CAPI" at 0x0000026FEA2DA6F0>
|
|
1098
1160
|
fm_logger: logging.Logger # value = <Logger matplotlib.font_manager (INFO)>
|
|
1099
1161
|
hku_logger: logging.Logger # value = <Logger hikyuu (INFO)>
|
|
1100
1162
|
rcParams: matplotlib.RcParams # value = RcParams({'_internal.classic_mode': False,...
|