hikyuu 2.2.4__py3-none-win_amd64.whl → 2.3.0__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/cpp/core310.pyd +0 -0
- hikyuu/cpp/core311.pyd +0 -0
- hikyuu/cpp/core312.pyd +0 -0
- hikyuu/cpp/core313.pyd +0 -0
- hikyuu/cpp/core38.pyd +0 -0
- hikyuu/cpp/core39.pyd +0 -0
- hikyuu/cpp/hikyuu.dll +0 -0
- hikyuu/cpp/hikyuu.lib +0 -0
- hikyuu/draw/__init__.py +12 -6
- hikyuu/draw/drawplot/__init__.py +7 -1
- hikyuu/draw/drawplot/icon/1.png +0 -0
- hikyuu/draw/drawplot/icon/10.png +0 -0
- hikyuu/draw/drawplot/icon/11.png +0 -0
- hikyuu/draw/drawplot/icon/12.png +0 -0
- hikyuu/draw/drawplot/icon/13.png +0 -0
- hikyuu/draw/drawplot/icon/14.png +0 -0
- hikyuu/draw/drawplot/icon/15.png +0 -0
- hikyuu/draw/drawplot/icon/16.png +0 -0
- hikyuu/draw/drawplot/icon/17.png +0 -0
- hikyuu/draw/drawplot/icon/18.png +0 -0
- hikyuu/draw/drawplot/icon/19.png +0 -0
- hikyuu/draw/drawplot/icon/2.png +0 -0
- hikyuu/draw/drawplot/icon/20.png +0 -0
- hikyuu/draw/drawplot/icon/21.png +0 -0
- hikyuu/draw/drawplot/icon/22.png +0 -0
- hikyuu/draw/drawplot/icon/23.png +0 -0
- hikyuu/draw/drawplot/icon/24.png +0 -0
- hikyuu/draw/drawplot/icon/25.png +0 -0
- hikyuu/draw/drawplot/icon/26.png +0 -0
- hikyuu/draw/drawplot/icon/27.png +0 -0
- hikyuu/draw/drawplot/icon/28.png +0 -0
- hikyuu/draw/drawplot/icon/29.png +0 -0
- hikyuu/draw/drawplot/icon/3.png +0 -0
- hikyuu/draw/drawplot/icon/30.png +0 -0
- hikyuu/draw/drawplot/icon/31.png +0 -0
- hikyuu/draw/drawplot/icon/32.png +0 -0
- hikyuu/draw/drawplot/icon/33.png +0 -0
- hikyuu/draw/drawplot/icon/34.png +0 -0
- hikyuu/draw/drawplot/icon/35.png +0 -0
- hikyuu/draw/drawplot/icon/36.png +0 -0
- hikyuu/draw/drawplot/icon/37.png +0 -0
- hikyuu/draw/drawplot/icon/38.png +0 -0
- hikyuu/draw/drawplot/icon/39.png +0 -0
- hikyuu/draw/drawplot/icon/4.png +0 -0
- hikyuu/draw/drawplot/icon/40.png +0 -0
- hikyuu/draw/drawplot/icon/41.png +0 -0
- hikyuu/draw/drawplot/icon/42.png +0 -0
- hikyuu/draw/drawplot/icon/43.png +0 -0
- hikyuu/draw/drawplot/icon/44.png +0 -0
- hikyuu/draw/drawplot/icon/45.png +0 -0
- hikyuu/draw/drawplot/icon/46.png +0 -0
- hikyuu/draw/drawplot/icon/47.png +0 -0
- hikyuu/draw/drawplot/icon/48.png +0 -0
- hikyuu/draw/drawplot/icon/49.png +0 -0
- hikyuu/draw/drawplot/icon/5.png +0 -0
- hikyuu/draw/drawplot/icon/6.png +0 -0
- hikyuu/draw/drawplot/icon/7.png +0 -0
- hikyuu/draw/drawplot/icon/8.png +0 -0
- hikyuu/draw/drawplot/icon/9.png +0 -0
- hikyuu/draw/drawplot/icon/__init__.py +0 -0
- hikyuu/draw/drawplot/matplotlib_draw.py +547 -3
- hikyuu/gui/HikyuuTDX.py +3 -1
- hikyuu/gui/data/MainWindow.py +3 -3
- hikyuu/gui/hikyuu_small.png +0 -0
- hikyuu/hub.py +1 -1
- hikyuu/include/hikyuu/config.h +3 -0
- hikyuu/include/hikyuu/indicator/Indicator.h +4 -4
- hikyuu/include/hikyuu/indicator/IndicatorImp.h +11 -8
- hikyuu/include/hikyuu/indicator/build_in.h +3 -0
- hikyuu/include/hikyuu/indicator/crt/CONTEXT.h +30 -0
- hikyuu/include/hikyuu/indicator/crt/CORR.h +1 -1
- hikyuu/include/hikyuu/indicator/crt/ISLASTBAR.h +30 -0
- hikyuu/include/hikyuu/indicator/crt/SPEARMAN.h +2 -2
- hikyuu/include/hikyuu/indicator/crt/WMA.h +46 -0
- hikyuu/include/hikyuu/indicator/imp/IContext.h +44 -0
- hikyuu/include/hikyuu/indicator/imp/ICorr.h +0 -1
- hikyuu/include/hikyuu/indicator/imp/IIsLastBar.h +27 -0
- hikyuu/include/hikyuu/indicator/imp/ISpearman.h +0 -1
- hikyuu/include/hikyuu/indicator/imp/IWma.h +30 -0
- hikyuu/include/hikyuu/indicator_talib/__init__.py +1 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaAdosc.h +26 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaApo.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaBbands.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaMa.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaMacd.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaMacdext.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaMama.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaMavp.h +41 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaPpo.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaSar.h +26 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaSarext.h +31 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaStddev.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaStoch.h +27 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaStochf.h +26 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaStochrsi.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaT3.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaUltosc.h +26 -0
- hikyuu/include/hikyuu/indicator_talib/imp/TaVar.h +24 -0
- hikyuu/include/hikyuu/indicator_talib/imp/__init__.py +1 -0
- hikyuu/include/hikyuu/indicator_talib/imp/ta_defines.h +288 -0
- hikyuu/include/hikyuu/indicator_talib/imp/ta_imp.h +1364 -0
- hikyuu/include/hikyuu/indicator_talib/ta_crt.h +320 -0
- hikyuu/include/hikyuu/utilities/Null.h +33 -0
- hikyuu/include/hikyuu/utilities/Parameter.h +7 -7
- hikyuu/include/hikyuu/version.h +5 -5
- hikyuu/indicator/talib_wrap.py +424 -415
- {hikyuu-2.2.4.dist-info → hikyuu-2.3.0.dist-info}/METADATA +3 -3
- {hikyuu-2.2.4.dist-info → hikyuu-2.3.0.dist-info}/RECORD +112 -32
- {hikyuu-2.2.4.dist-info → hikyuu-2.3.0.dist-info}/top_level.txt +3 -0
- {hikyuu-2.2.4.dist-info → hikyuu-2.3.0.dist-info}/LICENSE +0 -0
- {hikyuu-2.2.4.dist-info → hikyuu-2.3.0.dist-info}/WHEEL +0 -0
- {hikyuu-2.2.4.dist-info → hikyuu-2.3.0.dist-info}/entry_points.txt +0 -0
hikyuu/indicator/talib_wrap.py
CHANGED
|
@@ -53,12 +53,12 @@ try:
|
|
|
53
53
|
return
|
|
54
54
|
|
|
55
55
|
if not self._prices:
|
|
56
|
-
if self.name == "
|
|
56
|
+
if self.name == "PYTA_OBV":
|
|
57
57
|
if ind.get_result_num() < 2:
|
|
58
58
|
print("error: result_num must be >= 2!")
|
|
59
59
|
return
|
|
60
60
|
inputs = {'close': ind.get_result(0).to_np(), 'volume': ind.get_result(1).to_np()}
|
|
61
|
-
elif self.name in ("
|
|
61
|
+
elif self.name in ("PYTA_BETA", "PYTA_CORREL"):
|
|
62
62
|
if ind.get_result_num() < 2:
|
|
63
63
|
print("error: result_num must be >= 2!")
|
|
64
64
|
return
|
|
@@ -124,16 +124,16 @@ try:
|
|
|
124
124
|
)
|
|
125
125
|
return meta_x(tafunc, name, params, result_num, prices)
|
|
126
126
|
|
|
127
|
-
def
|
|
128
|
-
imp = crtTaIndicatorImp(ta.AD, '
|
|
127
|
+
def PYTA_AD(ind=None):
|
|
128
|
+
imp = crtTaIndicatorImp(ta.AD, 'PYTA_AD', prices=['high', 'low', 'close', 'volume'])
|
|
129
129
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
PYTA_AD.__doc__ = talib.AD.__doc__
|
|
132
132
|
|
|
133
|
-
def
|
|
133
|
+
def PYTA_ADOSC(ind=None, fastperiod=3, slowperiod=10):
|
|
134
134
|
imp = crtTaIndicatorImp(
|
|
135
135
|
ta.ADOSC,
|
|
136
|
-
'
|
|
136
|
+
'PYTA_ADOSC',
|
|
137
137
|
params={
|
|
138
138
|
'fastperiod': fastperiod,
|
|
139
139
|
'slowperiod': slowperiod
|
|
@@ -142,23 +142,24 @@ try:
|
|
|
142
142
|
)
|
|
143
143
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
PYTA_ADOSC.__doc__ = talib.ADOSC.__doc__
|
|
146
146
|
|
|
147
|
-
def
|
|
148
|
-
imp = crtTaIndicatorImp(ta.ADX, '
|
|
147
|
+
def PYTA_ADX(ind=None, timeperiod=14):
|
|
148
|
+
imp = crtTaIndicatorImp(ta.ADX, 'PYTA_ADX', params={'timeperiod': timeperiod}, prices=['high', 'low', 'close'])
|
|
149
149
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
PYTA_ADX.__doc__ = talib.ADX.__doc__
|
|
152
152
|
|
|
153
|
-
def
|
|
154
|
-
imp = crtTaIndicatorImp(ta.ADXR, '
|
|
153
|
+
def PYTA_ADXR(ind=None, timeperiod=14):
|
|
154
|
+
imp = crtTaIndicatorImp(ta.ADXR, 'PYTA_ADXR', params={
|
|
155
|
+
'timeperiod': timeperiod}, prices=['high', 'low', 'close'])
|
|
155
156
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
156
157
|
|
|
157
|
-
|
|
158
|
+
PYTA_ADXR.__doc__ = talib.ADXR.__doc__
|
|
158
159
|
|
|
159
|
-
def
|
|
160
|
+
def PYTA_APO(ind=None, fastperiod=12, slowperiod=26, matype=talib.MA_Type.SMA):
|
|
160
161
|
imp = crtTaIndicatorImp(
|
|
161
|
-
ta.APO, '
|
|
162
|
+
ta.APO, 'PYTA_APO', params={
|
|
162
163
|
'fastperiod': fastperiod,
|
|
163
164
|
'slowperiod': slowperiod,
|
|
164
165
|
'matype': matype
|
|
@@ -166,48 +167,48 @@ try:
|
|
|
166
167
|
)
|
|
167
168
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
168
169
|
|
|
169
|
-
|
|
170
|
+
PYTA_APO.__doc__ = talib.APO.__doc__
|
|
170
171
|
|
|
171
|
-
def
|
|
172
|
+
def PYTA_AROON(ind=None, timeperiod=14):
|
|
172
173
|
imp = crtTaIndicatorImp(
|
|
173
|
-
ta.AROON, '
|
|
174
|
+
ta.AROON, 'PYTA_AROON', result_num=2, params={'timeperiod': timeperiod}, prices=['high', 'low']
|
|
174
175
|
)
|
|
175
176
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
176
177
|
|
|
177
|
-
|
|
178
|
+
PYTA_AROON.__doc__ = talib.AROON.__doc__
|
|
178
179
|
|
|
179
|
-
def
|
|
180
|
+
def PYTA_AROONOSC(ind=None, timeperiod=14):
|
|
180
181
|
imp = crtTaIndicatorImp(
|
|
181
|
-
ta.AROONOSC, '
|
|
182
|
+
ta.AROONOSC, 'PYTA_AROONOSC', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low']
|
|
182
183
|
)
|
|
183
184
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
184
185
|
|
|
185
|
-
|
|
186
|
+
PYTA_AROONOSC.__doc__ = talib.AROONOSC.__doc__
|
|
186
187
|
|
|
187
|
-
def
|
|
188
|
+
def PYTA_ATR(ind=None, timeperiod=14):
|
|
188
189
|
imp = crtTaIndicatorImp(
|
|
189
|
-
ta.ATR, '
|
|
190
|
+
ta.ATR, 'PYTA_ATR', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low', 'close']
|
|
190
191
|
)
|
|
191
192
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
192
193
|
|
|
193
|
-
|
|
194
|
+
PYTA_ATR.__doc__ = talib.ATR.__doc__
|
|
194
195
|
|
|
195
|
-
def
|
|
196
|
+
def PYTA_AVGPRICE(ind=None, timeperiod=14):
|
|
196
197
|
imp = crtTaIndicatorImp(
|
|
197
198
|
ta.AVGPRICE,
|
|
198
|
-
'
|
|
199
|
+
'PYTA_AVGPRICE',
|
|
199
200
|
result_num=1,
|
|
200
201
|
# params={'timeperiod': timeperiod},
|
|
201
202
|
prices=['open', 'high', 'low', 'close']
|
|
202
203
|
)
|
|
203
204
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
204
205
|
|
|
205
|
-
|
|
206
|
+
PYTA_AVGPRICE.__doc__ = talib.AVGPRICE.__doc__
|
|
206
207
|
|
|
207
|
-
def
|
|
208
|
+
def PYTA_BBANDS(ind=None, timeperiod=14, nbdevup=2, nbdevdn=2, matype=talib.MA_Type.SMA):
|
|
208
209
|
imp = crtTaIndicatorImp(
|
|
209
210
|
ta.BBANDS,
|
|
210
|
-
'
|
|
211
|
+
'PYTA_BBANDS',
|
|
211
212
|
result_num=3,
|
|
212
213
|
params={
|
|
213
214
|
'timeperiod': timeperiod,
|
|
@@ -218,130 +219,130 @@ try:
|
|
|
218
219
|
)
|
|
219
220
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
220
221
|
|
|
221
|
-
|
|
222
|
+
PYTA_BBANDS.__doc__ = talib.BBANDS.__doc__
|
|
222
223
|
|
|
223
|
-
def
|
|
224
|
-
imp = crtTaIndicatorImp(ta.BOP, '
|
|
224
|
+
def PYTA_BOP(ind=None):
|
|
225
|
+
imp = crtTaIndicatorImp(ta.BOP, 'PYTA_BOP', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
225
226
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
226
227
|
|
|
227
|
-
|
|
228
|
+
PYTA_BOP.__doc__ = talib.BOP.__doc__
|
|
228
229
|
|
|
229
|
-
def
|
|
230
|
+
def PYTA_CCI(ind=None, timeperiod=14):
|
|
230
231
|
imp = crtTaIndicatorImp(
|
|
231
|
-
ta.CCI, '
|
|
232
|
+
ta.CCI, 'PYTA_CCI', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low', 'close']
|
|
232
233
|
)
|
|
233
234
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
234
235
|
|
|
235
|
-
|
|
236
|
+
PYTA_CCI.__doc__ = talib.CCI.__doc__
|
|
236
237
|
|
|
237
|
-
def
|
|
238
|
-
imp = crtTaIndicatorImp(ta.CMO, '
|
|
238
|
+
def PYTA_CMO(ind=None, timeperiod=14):
|
|
239
|
+
imp = crtTaIndicatorImp(ta.CMO, 'PYTA_CMO', result_num=1, params={'timeperiod': timeperiod})
|
|
239
240
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
240
241
|
|
|
241
|
-
|
|
242
|
+
PYTA_CMO.__doc__ = talib.CMO.__doc__
|
|
242
243
|
|
|
243
|
-
def
|
|
244
|
-
imp = crtTaIndicatorImp(ta.DEMA, '
|
|
244
|
+
def PYTA_DEMA(ind=None, timeperiod=30):
|
|
245
|
+
imp = crtTaIndicatorImp(ta.DEMA, 'PYTA_DEMA', result_num=1, params={'timeperiod': timeperiod})
|
|
245
246
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
246
247
|
|
|
247
|
-
|
|
248
|
+
PYTA_DEMA.__doc__ = talib.DEMA.__doc__
|
|
248
249
|
|
|
249
|
-
def
|
|
250
|
+
def PYTA_DX(ind=None, timeperiod=14):
|
|
250
251
|
imp = crtTaIndicatorImp(
|
|
251
|
-
ta.DX, '
|
|
252
|
+
ta.DX, 'PYTA_DX', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low', 'close']
|
|
252
253
|
)
|
|
253
254
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
254
255
|
|
|
255
|
-
|
|
256
|
+
PYTA_DX.__doc__ = talib.DX.__doc__
|
|
256
257
|
|
|
257
|
-
def
|
|
258
|
-
imp = crtTaIndicatorImp(ta.EMA, '
|
|
258
|
+
def PYTA_EMA(ind=None, timeperiod=30):
|
|
259
|
+
imp = crtTaIndicatorImp(ta.EMA, 'PYTA_EMA', result_num=1, params={'timeperiod': timeperiod})
|
|
259
260
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
260
261
|
|
|
261
|
-
|
|
262
|
+
PYTA_EMA.__doc__ = talib.EMA.__doc__
|
|
262
263
|
|
|
263
|
-
def
|
|
264
|
-
imp = crtTaIndicatorImp(ta.HT_DCPERIOD, '
|
|
264
|
+
def PYTA_HT_DCPERIOD(ind=None):
|
|
265
|
+
imp = crtTaIndicatorImp(ta.HT_DCPERIOD, 'PYTA_HT_DCPERIOD', result_num=1)
|
|
265
266
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
266
267
|
|
|
267
|
-
|
|
268
|
+
PYTA_HT_DCPERIOD.__doc__ = talib.HT_DCPERIOD.__doc__
|
|
268
269
|
|
|
269
|
-
def
|
|
270
|
-
imp = crtTaIndicatorImp(ta.HT_DCPHASE, '
|
|
270
|
+
def PYTA_HT_DCPHASE(ind=None):
|
|
271
|
+
imp = crtTaIndicatorImp(ta.HT_DCPHASE, 'PYTA_HT_DCPHASE', result_num=1)
|
|
271
272
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
272
273
|
|
|
273
|
-
|
|
274
|
+
PYTA_HT_DCPHASE.__doc__ = talib.HT_DCPHASE.__doc__
|
|
274
275
|
|
|
275
|
-
def
|
|
276
|
-
imp = crtTaIndicatorImp(ta.HT_PHASOR, '
|
|
276
|
+
def PYTA_HT_PHASOR(ind=None):
|
|
277
|
+
imp = crtTaIndicatorImp(ta.HT_PHASOR, 'PYTA_HT_PHASOR', result_num=2)
|
|
277
278
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
278
279
|
|
|
279
|
-
|
|
280
|
+
PYTA_HT_PHASOR.__doc__ = talib.HT_PHASOR.__doc__
|
|
280
281
|
|
|
281
|
-
def
|
|
282
|
-
imp = crtTaIndicatorImp(ta.HT_SINE, '
|
|
282
|
+
def PYTA_HT_SINE(ind=None):
|
|
283
|
+
imp = crtTaIndicatorImp(ta.HT_SINE, 'PYTA_HT_SINE', result_num=2)
|
|
283
284
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
284
285
|
|
|
285
|
-
|
|
286
|
+
PYTA_HT_SINE.__doc__ = talib.HT_SINE.__doc__
|
|
286
287
|
|
|
287
|
-
def
|
|
288
|
-
imp = crtTaIndicatorImp(ta.HT_TRENDLINE, '
|
|
288
|
+
def PYTA_HT_TRENDLINE(ind=None):
|
|
289
|
+
imp = crtTaIndicatorImp(ta.HT_TRENDLINE, 'PYTA_HT_TRENDLINE', result_num=1)
|
|
289
290
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
290
291
|
|
|
291
|
-
|
|
292
|
+
PYTA_HT_TRENDLINE.__doc__ = talib.HT_TRENDLINE.__doc__
|
|
292
293
|
|
|
293
|
-
def
|
|
294
|
-
imp = crtTaIndicatorImp(ta.HT_TRENDMODE, '
|
|
294
|
+
def PYTA_HT_TRENDMODE(ind=None):
|
|
295
|
+
imp = crtTaIndicatorImp(ta.HT_TRENDMODE, 'PYTA_HT_TRENDMODE', result_num=1)
|
|
295
296
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
296
297
|
|
|
297
|
-
|
|
298
|
+
PYTA_HT_TRENDMODE.__doc__ = talib.HT_TRENDMODE.__doc__
|
|
298
299
|
|
|
299
|
-
def
|
|
300
|
-
imp = crtTaIndicatorImp(ta.KAMA, '
|
|
300
|
+
def PYTA_KAMA(ind=None, timeperiod=30):
|
|
301
|
+
imp = crtTaIndicatorImp(ta.KAMA, 'PYTA_KAMA', result_num=1, params={'timeperiod': timeperiod})
|
|
301
302
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
302
303
|
|
|
303
|
-
|
|
304
|
+
PYTA_KAMA.__doc__ = talib.KAMA.__doc__
|
|
304
305
|
|
|
305
|
-
def
|
|
306
|
-
imp = crtTaIndicatorImp(ta.LINEARREG, '
|
|
306
|
+
def PYTA_LINEARREG(ind=None, timeperiod=14):
|
|
307
|
+
imp = crtTaIndicatorImp(ta.LINEARREG, 'PYTA_LINEARREG', result_num=1, params={'timeperiod': timeperiod})
|
|
307
308
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
308
309
|
|
|
309
|
-
|
|
310
|
+
PYTA_LINEARREG.__doc__ = talib.LINEARREG.__doc__
|
|
310
311
|
|
|
311
|
-
def
|
|
312
|
+
def PYTA_LINEARREG_ANGLE(ind=None, timeperiod=14):
|
|
312
313
|
imp = crtTaIndicatorImp(
|
|
313
|
-
ta.LINEARREG_ANGLE, '
|
|
314
|
+
ta.LINEARREG_ANGLE, 'PYTA_LINEARREG_ANGLE', result_num=1, params={'timeperiod': timeperiod}
|
|
314
315
|
)
|
|
315
316
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
316
317
|
|
|
317
|
-
|
|
318
|
+
PYTA_LINEARREG_ANGLE.__doc__ = talib.LINEARREG_ANGLE.__doc__
|
|
318
319
|
|
|
319
|
-
def
|
|
320
|
+
def PYTA_LINEARREG_INTERCEPT(ind=None, timeperiod=14):
|
|
320
321
|
imp = crtTaIndicatorImp(
|
|
321
|
-
ta.LINEARREG_INTERCEPT, '
|
|
322
|
+
ta.LINEARREG_INTERCEPT, 'PYTA_LINEARREG_INTERCEPT', result_num=1, params={'timeperiod': timeperiod}
|
|
322
323
|
)
|
|
323
324
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
324
325
|
|
|
325
|
-
|
|
326
|
+
PYTA_LINEARREG_INTERCEPT.__doc__ = talib.LINEARREG_INTERCEPT.__doc__
|
|
326
327
|
|
|
327
|
-
def
|
|
328
|
+
def PYTA_LINEARREG_SLOPE(ind=None, timeperiod=14):
|
|
328
329
|
imp = crtTaIndicatorImp(
|
|
329
|
-
ta.LINEARREG_SLOPE, '
|
|
330
|
+
ta.LINEARREG_SLOPE, 'PYTA_LINEARREG_SLOPE', result_num=1, params={'timeperiod': timeperiod}
|
|
330
331
|
)
|
|
331
332
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
332
333
|
|
|
333
|
-
|
|
334
|
+
PYTA_LINEARREG_SLOPE.__doc__ = talib.LINEARREG_SLOPE.__doc__
|
|
334
335
|
|
|
335
|
-
def
|
|
336
|
-
imp = crtTaIndicatorImp(ta.MA, '
|
|
336
|
+
def PYTA_MA(ind=None, timeperiod=30, matype=talib.MA_Type.SMA):
|
|
337
|
+
imp = crtTaIndicatorImp(ta.MA, 'PYTA_MA', result_num=1, params={'timeperiod': timeperiod, 'matype': matype})
|
|
337
338
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
338
339
|
|
|
339
|
-
|
|
340
|
+
PYTA_MA.__doc__ = talib.MA.__doc__
|
|
340
341
|
|
|
341
|
-
def
|
|
342
|
+
def PYTA_MACD(ind=None, fastperiod=12, slowperiod=26, signalperiod=9):
|
|
342
343
|
imp = crtTaIndicatorImp(
|
|
343
344
|
ta.MACD,
|
|
344
|
-
'
|
|
345
|
+
'PYTA_MACD',
|
|
345
346
|
result_num=3,
|
|
346
347
|
params={
|
|
347
348
|
'fastperiod': fastperiod,
|
|
@@ -351,9 +352,9 @@ try:
|
|
|
351
352
|
)
|
|
352
353
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
353
354
|
|
|
354
|
-
|
|
355
|
+
PYTA_MACD.__doc__ = talib.MACD.__doc__
|
|
355
356
|
|
|
356
|
-
def
|
|
357
|
+
def PYTA_MACDEXT(
|
|
357
358
|
ind=None,
|
|
358
359
|
fastperiod=12,
|
|
359
360
|
fastmatype=talib.MA_Type.SMA,
|
|
@@ -364,7 +365,7 @@ try:
|
|
|
364
365
|
):
|
|
365
366
|
imp = crtTaIndicatorImp(
|
|
366
367
|
ta.MACDEXT,
|
|
367
|
-
'
|
|
368
|
+
'PYTA_MACDEXT',
|
|
368
369
|
result_num=3,
|
|
369
370
|
params={
|
|
370
371
|
'fastperiod': fastperiod,
|
|
@@ -377,135 +378,135 @@ try:
|
|
|
377
378
|
)
|
|
378
379
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
379
380
|
|
|
380
|
-
|
|
381
|
+
PYTA_MACDEXT.__doc__ = talib.MACDEXT.__doc__
|
|
381
382
|
|
|
382
|
-
def
|
|
383
|
-
imp = crtTaIndicatorImp(ta.MACDFIX, '
|
|
383
|
+
def PYTA_MACDFIX(ind=None, signalperiod=9):
|
|
384
|
+
imp = crtTaIndicatorImp(ta.MACDFIX, 'PYTA_MACDFIX', result_num=3, params={'signalperiod': signalperiod})
|
|
384
385
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
385
386
|
|
|
386
|
-
|
|
387
|
+
PYTA_MACDFIX.__doc__ = talib.MACDFIX.__doc__
|
|
387
388
|
|
|
388
|
-
def
|
|
389
|
+
def PYTA_MAMA(ind=None, fastlimit=0.5, slowlimit=0.05):
|
|
389
390
|
imp = crtTaIndicatorImp(
|
|
390
|
-
ta.MAMA, '
|
|
391
|
+
ta.MAMA, 'PYTA_MAMA', result_num=2, params={
|
|
391
392
|
'fastlimit': fastlimit,
|
|
392
393
|
'slowlimit': slowlimit
|
|
393
394
|
}
|
|
394
395
|
)
|
|
395
396
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
396
397
|
|
|
397
|
-
|
|
398
|
+
PYTA_MAMA.__doc__ = talib.MAMA.__doc__
|
|
398
399
|
|
|
399
|
-
def
|
|
400
|
-
imp = crtTaIndicatorImp(ta.MAX, '
|
|
400
|
+
def PYTA_MAX(ind=None, timeperiod=30):
|
|
401
|
+
imp = crtTaIndicatorImp(ta.MAX, 'PYTA_MAX', result_num=1, params={'timeperiod': timeperiod})
|
|
401
402
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
402
403
|
|
|
403
|
-
|
|
404
|
+
PYTA_MAX.__doc__ = talib.MAX.__doc__
|
|
404
405
|
|
|
405
|
-
def
|
|
406
|
-
imp = crtTaIndicatorImp(ta.MAXINDEX, '
|
|
406
|
+
def PYTA_MAXINDEX(ind=None, timeperiod=30):
|
|
407
|
+
imp = crtTaIndicatorImp(ta.MAXINDEX, 'PYTA_MAXINDEX', result_num=1, params={'timeperiod': timeperiod})
|
|
407
408
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
408
409
|
|
|
409
|
-
|
|
410
|
+
PYTA_MAXINDEX.__doc__ = talib.MAXINDEX.__doc__
|
|
410
411
|
|
|
411
|
-
def
|
|
412
|
-
imp = crtTaIndicatorImp(ta.MEDPRICE, '
|
|
412
|
+
def PYTA_MEDPRICE(ind=None):
|
|
413
|
+
imp = crtTaIndicatorImp(ta.MEDPRICE, 'PYTA_MEDPRICE', result_num=1, prices=['high', 'low'])
|
|
413
414
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
414
415
|
|
|
415
|
-
|
|
416
|
+
PYTA_MEDPRICE.__doc__ = talib.MEDPRICE.__doc__
|
|
416
417
|
|
|
417
|
-
def
|
|
418
|
-
imp = crtTaIndicatorImp(ta.MIDPOINT, '
|
|
418
|
+
def PYTA_MIDPOINT(ind=None, timeperiod=14):
|
|
419
|
+
imp = crtTaIndicatorImp(ta.MIDPOINT, 'PYTA_MIDPOINT', result_num=1, params={'timeperiod': timeperiod})
|
|
419
420
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
420
421
|
|
|
421
|
-
|
|
422
|
+
PYTA_MIDPOINT.__doc__ = talib.MIDPRICE.__doc__
|
|
422
423
|
|
|
423
|
-
def
|
|
424
|
+
def PYTA_MIDPRICE(ind=None, timeperiod=14):
|
|
424
425
|
imp = crtTaIndicatorImp(
|
|
425
|
-
ta.MIDPRICE, '
|
|
426
|
+
ta.MIDPRICE, 'PYTA_MIDPRICE', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low']
|
|
426
427
|
)
|
|
427
428
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
428
429
|
|
|
429
|
-
|
|
430
|
+
PYTA_MIDPRICE.__doc__ = talib.MIDPRICE.__doc__
|
|
430
431
|
|
|
431
|
-
def
|
|
432
|
-
imp = crtTaIndicatorImp(ta.MIN, '
|
|
432
|
+
def PYTA_MIN(ind=None, timeperiod=30):
|
|
433
|
+
imp = crtTaIndicatorImp(ta.MIN, 'PYTA_MIN', result_num=1, params={'timeperiod': timeperiod})
|
|
433
434
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
434
435
|
|
|
435
|
-
|
|
436
|
+
PYTA_MIN.__doc__ = talib.MIN.__doc__
|
|
436
437
|
|
|
437
|
-
def
|
|
438
|
-
imp = crtTaIndicatorImp(ta.MININDEX, '
|
|
438
|
+
def PYTA_MININDEX(ind=None, timeperiod=30):
|
|
439
|
+
imp = crtTaIndicatorImp(ta.MININDEX, 'PYTA_MININDEX', result_num=1, params={'timeperiod': timeperiod})
|
|
439
440
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
440
441
|
|
|
441
|
-
|
|
442
|
+
PYTA_MININDEX.__doc__ = talib.MININDEX.__doc__
|
|
442
443
|
|
|
443
|
-
def
|
|
444
|
-
imp = crtTaIndicatorImp(ta.MINMAX, '
|
|
444
|
+
def PYTA_MINMAX(ind=None, timeperiod=30):
|
|
445
|
+
imp = crtTaIndicatorImp(ta.MINMAX, 'PYTA_MINMAX', result_num=2, params={'timeperiod': timeperiod})
|
|
445
446
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
446
447
|
|
|
447
|
-
|
|
448
|
+
PYTA_MINMAX.__doc__ = talib.MINMAX.__doc__
|
|
448
449
|
|
|
449
|
-
def
|
|
450
|
-
imp = crtTaIndicatorImp(ta.MINMAXINDEX, '
|
|
450
|
+
def PYTA_MINMAXINDEX(ind=None, timeperiod=30):
|
|
451
|
+
imp = crtTaIndicatorImp(ta.MINMAXINDEX, 'PYTA_MINMAXINDEX', result_num=2, params={'timeperiod': timeperiod})
|
|
451
452
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
452
453
|
|
|
453
|
-
|
|
454
|
+
PYTA_MINMAXINDEX.__doc__ = talib.MINMAXINDEX.__doc__
|
|
454
455
|
|
|
455
|
-
def
|
|
456
|
+
def PYTA_MINUS_DI(ind=None, timeperiod=14):
|
|
456
457
|
imp = crtTaIndicatorImp(
|
|
457
458
|
ta.MINUS_DI,
|
|
458
|
-
'
|
|
459
|
+
'PYTA_MINUS_DI',
|
|
459
460
|
result_num=1,
|
|
460
461
|
params={'timeperiod': timeperiod},
|
|
461
462
|
prices=['high', 'low', 'close']
|
|
462
463
|
)
|
|
463
464
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
464
465
|
|
|
465
|
-
|
|
466
|
+
PYTA_MINUS_DI.__doc__ = talib.MINUS_DI.__doc__
|
|
466
467
|
|
|
467
|
-
def
|
|
468
|
+
def PYTA_MINUS_DM(ind=None, timeperiod=14):
|
|
468
469
|
imp = crtTaIndicatorImp(
|
|
469
|
-
ta.MINUS_DM, '
|
|
470
|
+
ta.MINUS_DM, 'PYTA_MINUS_DM', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low']
|
|
470
471
|
)
|
|
471
472
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
472
473
|
|
|
473
|
-
|
|
474
|
+
PYTA_MINUS_DM.__doc__ = talib.MINUS_DM.__doc__
|
|
474
475
|
|
|
475
|
-
def
|
|
476
|
-
imp = crtTaIndicatorImp(ta.MOM, '
|
|
476
|
+
def PYTA_MOM(ind=None, timeperiod=10):
|
|
477
|
+
imp = crtTaIndicatorImp(ta.MOM, 'PYTA_MOM', result_num=1, params={'timeperiod': timeperiod})
|
|
477
478
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
478
479
|
|
|
479
|
-
|
|
480
|
+
PYTA_MOM.__doc__ = talib.MOM.__doc__
|
|
480
481
|
|
|
481
|
-
def
|
|
482
|
+
def PYTA_NATR(ind=None, timeperiod=14):
|
|
482
483
|
imp = crtTaIndicatorImp(
|
|
483
|
-
ta.NATR, '
|
|
484
|
+
ta.NATR, 'PYTA_NATR', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low', 'close']
|
|
484
485
|
)
|
|
485
486
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
486
487
|
|
|
487
|
-
|
|
488
|
+
PYTA_NATR.__doc__ = talib.NATR.__doc__
|
|
488
489
|
|
|
489
|
-
def
|
|
490
|
+
def PYTA_PLUS_DI(ind=None, timeperiod=14):
|
|
490
491
|
imp = crtTaIndicatorImp(
|
|
491
|
-
ta.PLUS_DI, '
|
|
492
|
+
ta.PLUS_DI, 'PYTA_PLUS_DI', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low', 'close']
|
|
492
493
|
)
|
|
493
494
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
494
495
|
|
|
495
|
-
|
|
496
|
+
PYTA_PLUS_DI.__doc__ = talib.PLUS_DI.__doc__
|
|
496
497
|
|
|
497
|
-
def
|
|
498
|
+
def PYTA_PLUS_DM(ind=None, timeperiod=14):
|
|
498
499
|
imp = crtTaIndicatorImp(
|
|
499
|
-
ta.PLUS_DM, '
|
|
500
|
+
ta.PLUS_DM, 'PYTA_PLUS_DM', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low']
|
|
500
501
|
)
|
|
501
502
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
502
503
|
|
|
503
|
-
|
|
504
|
+
PYTA_PLUS_DM.__doc__ = talib.PLUS_DM.__doc__
|
|
504
505
|
|
|
505
|
-
def
|
|
506
|
+
def PYTA_PPO(ind=None, fastperiod=12, slowperiod=26, matype=talib.MA_Type.SMA):
|
|
506
507
|
imp = crtTaIndicatorImp(
|
|
507
508
|
ta.PPO,
|
|
508
|
-
'
|
|
509
|
+
'PYTA_PPO',
|
|
509
510
|
result_num=1,
|
|
510
511
|
params={
|
|
511
512
|
'fastperiod': fastperiod,
|
|
@@ -515,42 +516,42 @@ try:
|
|
|
515
516
|
)
|
|
516
517
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
517
518
|
|
|
518
|
-
|
|
519
|
+
PYTA_PPO.__doc__ = talib.PPO.__doc__
|
|
519
520
|
|
|
520
|
-
def
|
|
521
|
-
imp = crtTaIndicatorImp(ta.ROC, '
|
|
521
|
+
def PYTA_ROC(ind=None, timeperiod=10):
|
|
522
|
+
imp = crtTaIndicatorImp(ta.ROC, 'PYTA_ROC', result_num=1, params={'timeperiod': timeperiod})
|
|
522
523
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
523
524
|
|
|
524
|
-
|
|
525
|
+
PYTA_ROC.__doc__ = talib.ROC.__doc__
|
|
525
526
|
|
|
526
|
-
def
|
|
527
|
-
imp = crtTaIndicatorImp(ta.ROCP, '
|
|
527
|
+
def PYTA_ROCP(ind=None, timeperiod=10):
|
|
528
|
+
imp = crtTaIndicatorImp(ta.ROCP, 'PYTA_ROCP', result_num=1, params={'timeperiod': timeperiod})
|
|
528
529
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
529
530
|
|
|
530
|
-
|
|
531
|
+
PYTA_ROCP.__doc__ = talib.ROCP.__doc__
|
|
531
532
|
|
|
532
|
-
def
|
|
533
|
-
imp = crtTaIndicatorImp(ta.ROCR, '
|
|
533
|
+
def PYTA_ROCR(ind=None, timeperiod=10):
|
|
534
|
+
imp = crtTaIndicatorImp(ta.ROCR, 'PYTA_ROCR', result_num=1, params={'timeperiod': timeperiod})
|
|
534
535
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
535
536
|
|
|
536
|
-
|
|
537
|
+
PYTA_ROCR.__doc__ = talib.ROCR.__doc__
|
|
537
538
|
|
|
538
|
-
def
|
|
539
|
-
imp = crtTaIndicatorImp(ta.ROCR100, '
|
|
539
|
+
def PYTA_ROCR100(ind=None, timeperiod=10):
|
|
540
|
+
imp = crtTaIndicatorImp(ta.ROCR100, 'PYTA_ROCR100', result_num=1, params={'timeperiod': timeperiod})
|
|
540
541
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
541
542
|
|
|
542
|
-
|
|
543
|
+
PYTA_ROCR100.__doc__ = talib.ROCR100.__doc__
|
|
543
544
|
|
|
544
|
-
def
|
|
545
|
-
imp = crtTaIndicatorImp(ta.RSI, '
|
|
545
|
+
def PYTA_RSI(ind=None, timeperiod=14):
|
|
546
|
+
imp = crtTaIndicatorImp(ta.RSI, 'PYTA_RSI', result_num=1, params={'timeperiod': timeperiod})
|
|
546
547
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
547
548
|
|
|
548
|
-
|
|
549
|
+
PYTA_RSI.__doc__ = talib.RSI.__doc__
|
|
549
550
|
|
|
550
|
-
def
|
|
551
|
+
def PYTA_SAR(ind=None, acceleration=0.02, maximum=0.2):
|
|
551
552
|
imp = crtTaIndicatorImp(
|
|
552
553
|
ta.SAR,
|
|
553
|
-
'
|
|
554
|
+
'PYTA_SAR',
|
|
554
555
|
result_num=1,
|
|
555
556
|
params={
|
|
556
557
|
'acceleration': acceleration,
|
|
@@ -560,12 +561,12 @@ try:
|
|
|
560
561
|
)
|
|
561
562
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
562
563
|
|
|
563
|
-
|
|
564
|
+
PYTA_SAR.__doc__ = talib.SAR.__doc__
|
|
564
565
|
|
|
565
|
-
def
|
|
566
|
+
def PYTA_SAREXT(
|
|
566
567
|
ind=None,
|
|
567
|
-
startvalue=0
|
|
568
|
-
offsetonreverse=0
|
|
568
|
+
startvalue=0.,
|
|
569
|
+
offsetonreverse=0.,
|
|
569
570
|
accelerationinitlong=0.02,
|
|
570
571
|
accelerationlong=0.02,
|
|
571
572
|
accelerationmaxlong=0.02,
|
|
@@ -575,7 +576,7 @@ try:
|
|
|
575
576
|
):
|
|
576
577
|
imp = crtTaIndicatorImp(
|
|
577
578
|
ta.SAREXT,
|
|
578
|
-
'
|
|
579
|
+
'PYTA_SAREXT',
|
|
579
580
|
result_num=1,
|
|
580
581
|
params={
|
|
581
582
|
'startvalue': startvalue,
|
|
@@ -591,21 +592,22 @@ try:
|
|
|
591
592
|
)
|
|
592
593
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
593
594
|
|
|
594
|
-
|
|
595
|
+
PYTA_SAREXT.__doc__ = talib.SAREXT.__doc__
|
|
595
596
|
|
|
596
|
-
def
|
|
597
|
-
imp = crtTaIndicatorImp(ta.SMA, '
|
|
597
|
+
def PYTA_SMA(ind=None, timeperiod=30):
|
|
598
|
+
imp = crtTaIndicatorImp(ta.SMA, 'PYTA_SMA', result_num=1, params={'timeperiod': timeperiod})
|
|
598
599
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
599
600
|
|
|
600
|
-
|
|
601
|
+
PYTA_SMA.__doc__ = talib.SMA.__doc__
|
|
601
602
|
|
|
602
|
-
def
|
|
603
|
-
imp = crtTaIndicatorImp(ta.STDDEV, '
|
|
603
|
+
def PYTA_STDDEV(ind=None, timeperiod=5, nbdev=1.0):
|
|
604
|
+
imp = crtTaIndicatorImp(ta.STDDEV, 'PYTA_STDDEV', result_num=1, params={
|
|
605
|
+
'timeperiod': timeperiod, 'nbdev': nbdev})
|
|
604
606
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
605
607
|
|
|
606
|
-
|
|
608
|
+
PYTA_STDDEV.__doc__ = talib.STDDEV.__doc__
|
|
607
609
|
|
|
608
|
-
def
|
|
610
|
+
def PYTA_STOCH(
|
|
609
611
|
ind=None,
|
|
610
612
|
fastk_period=5,
|
|
611
613
|
slowk_period=3,
|
|
@@ -615,7 +617,7 @@ try:
|
|
|
615
617
|
):
|
|
616
618
|
imp = crtTaIndicatorImp(
|
|
617
619
|
ta.STOCH,
|
|
618
|
-
'
|
|
620
|
+
'PYTA_STOCH',
|
|
619
621
|
result_num=2,
|
|
620
622
|
params={
|
|
621
623
|
'fastk_period': fastk_period,
|
|
@@ -628,12 +630,12 @@ try:
|
|
|
628
630
|
)
|
|
629
631
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
630
632
|
|
|
631
|
-
|
|
633
|
+
PYTA_STOCH.__doc__ = talib.STOCH.__doc__
|
|
632
634
|
|
|
633
|
-
def
|
|
635
|
+
def PYTA_STOCHF(ind=None, fastk_period=5, fastd_period=3, fastd_matype=talib.MA_Type.SMA):
|
|
634
636
|
imp = crtTaIndicatorImp(
|
|
635
637
|
ta.STOCHF,
|
|
636
|
-
'
|
|
638
|
+
'PYTA_STOCHF',
|
|
637
639
|
result_num=2,
|
|
638
640
|
params={
|
|
639
641
|
'fastk_period': fastk_period,
|
|
@@ -644,12 +646,12 @@ try:
|
|
|
644
646
|
)
|
|
645
647
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
646
648
|
|
|
647
|
-
|
|
649
|
+
PYTA_STOCHF.__doc__ = talib.STOCHF.__doc__
|
|
648
650
|
|
|
649
|
-
def
|
|
651
|
+
def PYTA_STOCHRSI(ind=None, timeperiod=14, fastk_period=5, fastd_period=3, fastd_matype=talib.MA_Type.SMA):
|
|
650
652
|
imp = crtTaIndicatorImp(
|
|
651
653
|
ta.STOCHRSI,
|
|
652
|
-
'
|
|
654
|
+
'PYTA_STOCHRSI',
|
|
653
655
|
result_num=2,
|
|
654
656
|
params={
|
|
655
657
|
'timeperiod': timeperiod,
|
|
@@ -660,60 +662,60 @@ try:
|
|
|
660
662
|
)
|
|
661
663
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
662
664
|
|
|
663
|
-
|
|
665
|
+
PYTA_STOCHRSI.__doc__ = talib.STOCHRSI.__doc__
|
|
664
666
|
|
|
665
|
-
def
|
|
666
|
-
imp = crtTaIndicatorImp(ta.SUM, '
|
|
667
|
+
def PYTA_SUM(ind=None, timeperiod=30):
|
|
668
|
+
imp = crtTaIndicatorImp(ta.SUM, 'PYTA_SUM', result_num=1, params={'timeperiod': timeperiod})
|
|
667
669
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
668
670
|
|
|
669
|
-
|
|
671
|
+
PYTA_SUM.__doc__ = talib.SUM.__doc__
|
|
670
672
|
|
|
671
|
-
def
|
|
672
|
-
imp = crtTaIndicatorImp(ta.T3, '
|
|
673
|
+
def PYTA_T3(ind=None, timeperiod=5, vfactor=0.7):
|
|
674
|
+
imp = crtTaIndicatorImp(ta.T3, 'PYTA_T3', result_num=1, params={'timeperiod': timeperiod, 'vfactor': vfactor})
|
|
673
675
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
674
676
|
|
|
675
|
-
|
|
677
|
+
PYTA_T3.__doc__ = talib.T3.__doc__
|
|
676
678
|
|
|
677
|
-
def
|
|
678
|
-
imp = crtTaIndicatorImp(ta.TEMA, '
|
|
679
|
+
def PYTA_TEMA(ind=None, timeperiod=30):
|
|
680
|
+
imp = crtTaIndicatorImp(ta.TEMA, 'PYTA_TEMA', result_num=1, params={'timeperiod': timeperiod})
|
|
679
681
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
680
682
|
|
|
681
|
-
|
|
683
|
+
PYTA_TEMA.__doc__ = talib.TEMA.__doc__
|
|
682
684
|
|
|
683
|
-
def
|
|
684
|
-
imp = crtTaIndicatorImp(ta.TRANGE, '
|
|
685
|
+
def PYTA_TRANGE(ind=None):
|
|
686
|
+
imp = crtTaIndicatorImp(ta.TRANGE, 'PYTA_TRANGE', result_num=1, prices=['high', 'low', 'close'])
|
|
685
687
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
686
688
|
|
|
687
|
-
|
|
689
|
+
PYTA_TRANGE.__doc__ = talib.TRANGE.__doc__
|
|
688
690
|
|
|
689
|
-
def
|
|
690
|
-
imp = crtTaIndicatorImp(ta.TRIMA, '
|
|
691
|
+
def PYTA_TRIMA(ind=None, timeperiod=30):
|
|
692
|
+
imp = crtTaIndicatorImp(ta.TRIMA, 'PYTA_TRIMA', result_num=1, params={'timeperiod': timeperiod})
|
|
691
693
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
692
694
|
|
|
693
|
-
|
|
695
|
+
PYTA_TRIMA.__doc__ = talib.TRIMA.__doc__
|
|
694
696
|
|
|
695
|
-
def
|
|
696
|
-
imp = crtTaIndicatorImp(ta.TRIX, '
|
|
697
|
+
def PYTA_TRIX(ind=None, timeperiod=30):
|
|
698
|
+
imp = crtTaIndicatorImp(ta.TRIX, 'PYTA_TRIX', result_num=1, params={'timeperiod': timeperiod})
|
|
697
699
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
698
700
|
|
|
699
|
-
|
|
701
|
+
PYTA_TRIX.__doc__ = talib.TRIX.__doc__
|
|
700
702
|
|
|
701
|
-
def
|
|
702
|
-
imp = crtTaIndicatorImp(ta.TSF, '
|
|
703
|
+
def PYTA_TSF(ind=None, timeperiod=14):
|
|
704
|
+
imp = crtTaIndicatorImp(ta.TSF, 'PYTA_TSF', result_num=1, params={'timeperiod': timeperiod})
|
|
703
705
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
704
706
|
|
|
705
|
-
|
|
707
|
+
PYTA_TSF.__doc__ = talib.TSF.__doc__
|
|
706
708
|
|
|
707
|
-
def
|
|
708
|
-
imp = crtTaIndicatorImp(ta.TYPPRICE, '
|
|
709
|
+
def PYTA_TYPPRICE(ind=None, timeperiod=14):
|
|
710
|
+
imp = crtTaIndicatorImp(ta.TYPPRICE, 'PYTA_TYPPRICE', result_num=1, prices=['high', 'low', 'close'])
|
|
709
711
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
710
712
|
|
|
711
|
-
|
|
713
|
+
PYTA_TYPPRICE.__doc__ = talib.TYPPRICE.__doc__
|
|
712
714
|
|
|
713
|
-
def
|
|
715
|
+
def PYTA_ULTOSC(ind=None, timeperiod1=7, timeperiod2=14, timeperiod3=28):
|
|
714
716
|
imp = crtTaIndicatorImp(
|
|
715
717
|
ta.ULTOSC,
|
|
716
|
-
'
|
|
718
|
+
'PYTA_ULTOSC',
|
|
717
719
|
result_num=1,
|
|
718
720
|
params={
|
|
719
721
|
'timeperiod1': timeperiod1,
|
|
@@ -724,537 +726,544 @@ try:
|
|
|
724
726
|
)
|
|
725
727
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
726
728
|
|
|
727
|
-
|
|
729
|
+
PYTA_ULTOSC.__doc__ = talib.ULTOSC.__doc__
|
|
728
730
|
|
|
729
|
-
def
|
|
730
|
-
imp = crtTaIndicatorImp(ta.VAR, '
|
|
731
|
+
def PYTA_VAR(ind=None, timeperiod=5, nbdev=1.):
|
|
732
|
+
imp = crtTaIndicatorImp(ta.VAR, 'PYTA_VAR', result_num=1, params={'timeperiod': timeperiod, 'nbdev': nbdev})
|
|
731
733
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
732
734
|
|
|
733
|
-
|
|
735
|
+
PYTA_VAR.__doc__ = talib.VAR.__doc__
|
|
734
736
|
|
|
735
|
-
def
|
|
736
|
-
imp = crtTaIndicatorImp(ta.WCLPRICE, '
|
|
737
|
+
def PYTA_WCLPRICE(ind=None):
|
|
738
|
+
imp = crtTaIndicatorImp(ta.WCLPRICE, 'PYTA_WCLPRICE', result_num=1, prices=['high', 'low', 'close'])
|
|
737
739
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
738
740
|
|
|
739
|
-
|
|
741
|
+
PYTA_WCLPRICE.__doc__ = talib.WCLPRICE.__doc__
|
|
740
742
|
|
|
741
|
-
def
|
|
743
|
+
def PYTA_WILLR(ind=None, timeperiod=14):
|
|
742
744
|
imp = crtTaIndicatorImp(
|
|
743
|
-
ta.WILLR, '
|
|
745
|
+
ta.WILLR, 'PYTA_WILLR', result_num=1, params={'timeperiod': timeperiod}, prices=['high', 'low', 'close']
|
|
744
746
|
)
|
|
745
747
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
746
748
|
|
|
747
|
-
|
|
749
|
+
PYTA_WILLR.__doc__ = talib.WILLR.__doc__
|
|
748
750
|
|
|
749
|
-
def
|
|
750
|
-
imp = crtTaIndicatorImp(ta.WMA, '
|
|
751
|
+
def PYTA_WMA(ind=None, timeperiod=30):
|
|
752
|
+
imp = crtTaIndicatorImp(ta.WMA, 'PYTA_WMA', result_num=1, params={'timeperiod': timeperiod})
|
|
751
753
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
752
754
|
|
|
753
|
-
|
|
755
|
+
PYTA_WMA.__doc__ = talib.WMA.__doc__
|
|
754
756
|
|
|
755
|
-
def
|
|
756
|
-
imp = crtTaIndicatorImp(ta.CDL2CROWS, '
|
|
757
|
+
def PYTA_CDL2CROWS(ind=None):
|
|
758
|
+
imp = crtTaIndicatorImp(ta.CDL2CROWS, 'PYTA_CDL2CROWS', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
757
759
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
758
760
|
|
|
759
|
-
|
|
761
|
+
PYTA_CDL2CROWS.__doc__ = talib.CDL2CROWS.__doc__
|
|
760
762
|
|
|
761
|
-
def
|
|
763
|
+
def PYTA_CDL3BLACKCROWS(ind=None):
|
|
762
764
|
imp = crtTaIndicatorImp(
|
|
763
|
-
ta.CDL3BLACKCROWS, '
|
|
765
|
+
ta.CDL3BLACKCROWS, 'PYTA_CDL3BLACKCROWS', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
764
766
|
)
|
|
765
767
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
766
768
|
|
|
767
|
-
|
|
769
|
+
PYTA_CDL3BLACKCROWS.__doc__ = talib.CDL3BLACKCROWS.__doc__
|
|
768
770
|
|
|
769
|
-
def
|
|
770
|
-
imp = crtTaIndicatorImp(ta.CDL3INSIDE, '
|
|
771
|
+
def PYTA_CDL3INSIDE(ind=None):
|
|
772
|
+
imp = crtTaIndicatorImp(ta.CDL3INSIDE, 'PYTA_CDL3INSIDE', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
771
773
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
772
774
|
|
|
773
|
-
|
|
775
|
+
PYTA_CDL3INSIDE.__doc__ = talib.CDL3INSIDE.__doc__
|
|
774
776
|
|
|
775
|
-
def
|
|
777
|
+
def PYTA_CDL3LINESTRIKE(ind=None):
|
|
776
778
|
imp = crtTaIndicatorImp(
|
|
777
|
-
ta.CDL3LINESTRIKE, '
|
|
779
|
+
ta.CDL3LINESTRIKE, 'PYTA_CDL3LINESTRIKE', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
778
780
|
)
|
|
779
781
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
780
782
|
|
|
781
|
-
|
|
783
|
+
PYTA_CDL3LINESTRIKE.__doc__ = talib.CDL3LINESTRIKE.__doc__
|
|
782
784
|
|
|
783
|
-
def
|
|
784
|
-
imp = crtTaIndicatorImp(ta.CDL3OUTSIDE, '
|
|
785
|
+
def PYTA_CDL3OUTSIDE(ind=None):
|
|
786
|
+
imp = crtTaIndicatorImp(ta.CDL3OUTSIDE, 'PYTA_CDL3OUTSIDE', result_num=1,
|
|
787
|
+
prices=['open', 'high', 'low', 'close'])
|
|
785
788
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
786
789
|
|
|
787
|
-
|
|
790
|
+
PYTA_CDL3OUTSIDE.__doc__ = talib.CDL3OUTSIDE.__doc__
|
|
788
791
|
|
|
789
|
-
def
|
|
792
|
+
def PYTA_CDL3STARSINSOUTH(ind=None):
|
|
790
793
|
imp = crtTaIndicatorImp(
|
|
791
|
-
ta.CDL3STARSINSOUTH, '
|
|
794
|
+
ta.CDL3STARSINSOUTH, 'PYTA_CDL3STARSINSOUTH', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
792
795
|
)
|
|
793
796
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
794
797
|
|
|
795
|
-
|
|
798
|
+
PYTA_CDL3STARSINSOUTH.__doc__ = talib.CDL3STARSINSOUTH.__doc__
|
|
796
799
|
|
|
797
|
-
def
|
|
800
|
+
def PYTA_CDL3WHITESOLDIERS(ind=None):
|
|
798
801
|
imp = crtTaIndicatorImp(
|
|
799
|
-
ta.CDL3WHITESOLDIERS, '
|
|
802
|
+
ta.CDL3WHITESOLDIERS, 'PYTA_CDL3WHITESOLDIERS', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
800
803
|
)
|
|
801
804
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
802
805
|
|
|
803
|
-
|
|
806
|
+
PYTA_CDL3WHITESOLDIERS.__doc__ = talib.CDL3WHITESOLDIERS.__doc__
|
|
804
807
|
|
|
805
|
-
def
|
|
808
|
+
def PYTA_CDLABANDONEDBABY(ind=None, penetration=0.3):
|
|
806
809
|
imp = crtTaIndicatorImp(
|
|
807
810
|
ta.CDLABANDONEDBABY,
|
|
808
|
-
'
|
|
811
|
+
'PYTA_CDLABANDONEDBABY',
|
|
809
812
|
result_num=1,
|
|
810
813
|
params={'penetration': penetration},
|
|
811
814
|
prices=['open', 'high', 'low', 'close']
|
|
812
815
|
)
|
|
813
816
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
814
817
|
|
|
815
|
-
|
|
818
|
+
PYTA_CDLABANDONEDBABY.__doc__ = talib.CDLABANDONEDBABY.__doc__
|
|
816
819
|
|
|
817
|
-
def
|
|
820
|
+
def PYTA_CDLADVANCEBLOCK(ind=None):
|
|
818
821
|
imp = crtTaIndicatorImp(
|
|
819
|
-
ta.CDLADVANCEBLOCK, '
|
|
822
|
+
ta.CDLADVANCEBLOCK, 'PYTA_CDLADVANCEBLOCK', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
820
823
|
)
|
|
821
824
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
822
825
|
|
|
823
|
-
|
|
826
|
+
PYTA_CDLADVANCEBLOCK = talib.CDLADVANCEBLOCK.__doc__
|
|
824
827
|
|
|
825
|
-
def
|
|
826
|
-
imp = crtTaIndicatorImp(ta.CDLBELTHOLD, '
|
|
828
|
+
def PYTA_CDLBELTHOLD(ind=None):
|
|
829
|
+
imp = crtTaIndicatorImp(ta.CDLBELTHOLD, 'PYTA_CDLBELTHOLD', result_num=1,
|
|
830
|
+
prices=['open', 'high', 'low', 'close'])
|
|
827
831
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
828
832
|
|
|
829
|
-
|
|
833
|
+
PYTA_CDLBELTHOLD.__doc__ = talib.CDLBELTHOLD.__doc__
|
|
830
834
|
|
|
831
|
-
def
|
|
835
|
+
def PYTA_CDLBREAKAWAY(ind=None):
|
|
832
836
|
imp = crtTaIndicatorImp(
|
|
833
|
-
ta.CDLBREAKAWAY, '
|
|
837
|
+
ta.CDLBREAKAWAY, 'PYTA_CDLBREAKAWAY', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
834
838
|
)
|
|
835
839
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
836
840
|
|
|
837
|
-
|
|
841
|
+
PYTA_CDLBREAKAWAY.__doc__ = talib.CDLBREAKAWAY.__doc__
|
|
838
842
|
|
|
839
|
-
def
|
|
843
|
+
def PYTA_CDLCLOSINGMARUBOZU(ind=None):
|
|
840
844
|
imp = crtTaIndicatorImp(
|
|
841
|
-
ta.CDLCLOSINGMARUBOZU, '
|
|
845
|
+
ta.CDLCLOSINGMARUBOZU, 'PYTA_CDLCLOSINGMARUBOZU', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
842
846
|
)
|
|
843
847
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
844
848
|
|
|
845
|
-
|
|
849
|
+
PYTA_CDLCLOSINGMARUBOZU.__doc__ = talib.CDLCLOSINGMARUBOZU.__doc__
|
|
846
850
|
|
|
847
|
-
def
|
|
851
|
+
def PYTA_CDLCONCEALBABYSWALL(ind=None):
|
|
848
852
|
imp = crtTaIndicatorImp(
|
|
849
|
-
ta.CDLCONCEALBABYSWALL, '
|
|
853
|
+
ta.CDLCONCEALBABYSWALL, 'PYTA_CDLCONCEALBABYSWALL', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
850
854
|
)
|
|
851
855
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
852
856
|
|
|
853
|
-
|
|
857
|
+
PYTA_CDLCONCEALBABYSWALL.__doc__ = talib.CDLCONCEALBABYSWALL.__doc__
|
|
854
858
|
|
|
855
|
-
def
|
|
859
|
+
def PYTA_CDLCOUNTERATTACK(ind=None):
|
|
856
860
|
imp = crtTaIndicatorImp(
|
|
857
|
-
ta.CDLCOUNTERATTACK, '
|
|
861
|
+
ta.CDLCOUNTERATTACK, 'PYTA_CDLCOUNTERATTACK', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
858
862
|
)
|
|
859
863
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
860
864
|
|
|
861
|
-
|
|
865
|
+
PYTA_CDLCOUNTERATTACK.__doc__ = talib.CDLCOUNTERATTACK.__doc__
|
|
862
866
|
|
|
863
|
-
def
|
|
867
|
+
def PYTA_CDLDARKCLOUDCOVER(ind=None, penetration=0.5):
|
|
864
868
|
imp = crtTaIndicatorImp(
|
|
865
869
|
ta.CDLDARKCLOUDCOVER,
|
|
866
|
-
'
|
|
870
|
+
'PYTA_CDLDARKCLOUDCOVER',
|
|
867
871
|
result_num=1,
|
|
868
872
|
params={'penetration': penetration},
|
|
869
873
|
prices=['open', 'high', 'low', 'close']
|
|
870
874
|
)
|
|
871
875
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
872
876
|
|
|
873
|
-
|
|
877
|
+
PYTA_CDLDARKCLOUDCOVER.__doc__ = talib.CDLDARKCLOUDCOVER.__doc__
|
|
874
878
|
|
|
875
|
-
def
|
|
876
|
-
imp = crtTaIndicatorImp(ta.CDLDOJI, '
|
|
879
|
+
def PYTA_CDLDOJI(ind=None):
|
|
880
|
+
imp = crtTaIndicatorImp(ta.CDLDOJI, 'PYTA_CDLDOJI', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
877
881
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
878
882
|
|
|
879
|
-
|
|
883
|
+
PYTA_CDLDOJI.__doc__ = talib.CDLDOJI.__doc__
|
|
880
884
|
|
|
881
|
-
def
|
|
882
|
-
imp = crtTaIndicatorImp(ta.CDLDOJISTAR, '
|
|
885
|
+
def PYTA_CDLDOJISTAR(ind=None):
|
|
886
|
+
imp = crtTaIndicatorImp(ta.CDLDOJISTAR, 'PYTA_CDLDOJISTAR', result_num=1,
|
|
887
|
+
prices=['open', 'high', 'low', 'close'])
|
|
883
888
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
884
889
|
|
|
885
|
-
|
|
890
|
+
PYTA_CDLDOJISTAR.__doc__ = talib.CDLDOJISTAR.__doc__
|
|
886
891
|
|
|
887
|
-
def
|
|
892
|
+
def PYTA_CDLDRAGONFLYDOJI(ind=None):
|
|
888
893
|
imp = crtTaIndicatorImp(
|
|
889
|
-
ta.CDLDRAGONFLYDOJI, '
|
|
894
|
+
ta.CDLDRAGONFLYDOJI, 'PYTA_CDLDRAGONFLYDOJI', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
890
895
|
)
|
|
891
896
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
892
897
|
|
|
893
|
-
|
|
898
|
+
PYTA_CDLDRAGONFLYDOJI.__doc__ = talib.CDLDRAGONFLYDOJI.__doc__
|
|
894
899
|
|
|
895
|
-
def
|
|
900
|
+
def PYTA_CDLENGULFING(ind=None):
|
|
896
901
|
imp = crtTaIndicatorImp(
|
|
897
|
-
ta.CDLENGULFING, '
|
|
902
|
+
ta.CDLENGULFING, 'PYTA_CDLENGULFING', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
898
903
|
)
|
|
899
904
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
900
905
|
|
|
901
|
-
|
|
906
|
+
PYTA_CDLENGULFING.__doc__ = talib.CDLENGULFING.__doc__
|
|
902
907
|
|
|
903
|
-
def
|
|
908
|
+
def PYTA_CDLEVENINGDOJISTAR(ind=None, penetration=0.3):
|
|
904
909
|
imp = crtTaIndicatorImp(
|
|
905
910
|
ta.CDLEVENINGDOJISTAR,
|
|
906
|
-
'
|
|
911
|
+
'PYTA_CDLEVENINGDOJISTAR',
|
|
907
912
|
result_num=1,
|
|
908
913
|
params={'penetration': penetration},
|
|
909
914
|
prices=['open', 'high', 'low', 'close']
|
|
910
915
|
)
|
|
911
916
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
912
917
|
|
|
913
|
-
|
|
918
|
+
PYTA_CDLEVENINGDOJISTAR.__doc__ = talib.CDLEVENINGDOJISTAR.__doc__
|
|
914
919
|
|
|
915
|
-
def
|
|
920
|
+
def PYTA_CDLEVENINGSTAR(ind=None, penetration=0.3):
|
|
916
921
|
imp = crtTaIndicatorImp(
|
|
917
922
|
ta.CDLEVENINGSTAR,
|
|
918
|
-
'
|
|
923
|
+
'PYTA_CDLEVENINGSTAR',
|
|
919
924
|
result_num=1,
|
|
920
925
|
params={'penetration': penetration},
|
|
921
926
|
prices=['open', 'high', 'low', 'close']
|
|
922
927
|
)
|
|
923
928
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
924
929
|
|
|
925
|
-
|
|
930
|
+
PYTA_CDLEVENINGSTAR.__doc__ = talib.CDLEVENINGSTAR.__doc__
|
|
926
931
|
|
|
927
|
-
def
|
|
932
|
+
def PYTA_CDLGAPSIDESIDEWHITE(ind=None):
|
|
928
933
|
imp = crtTaIndicatorImp(
|
|
929
|
-
ta.CDLGAPSIDESIDEWHITE, '
|
|
934
|
+
ta.CDLGAPSIDESIDEWHITE, 'PYTA_CDLGAPSIDESIDEWHITE', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
930
935
|
)
|
|
931
936
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
932
937
|
|
|
933
|
-
|
|
938
|
+
PYTA_CDLGAPSIDESIDEWHITE.__doc__ = talib.CDLGAPSIDESIDEWHITE.__doc__
|
|
934
939
|
|
|
935
|
-
def
|
|
940
|
+
def PYTA_CDLGRAVESTONEDOJI(ind=None):
|
|
936
941
|
imp = crtTaIndicatorImp(
|
|
937
|
-
ta.CDLGRAVESTONEDOJI, '
|
|
942
|
+
ta.CDLGRAVESTONEDOJI, 'PYTA_CDLGRAVESTONEDOJI', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
938
943
|
)
|
|
939
944
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
940
945
|
|
|
941
|
-
|
|
946
|
+
PYTA_CDLGRAVESTONEDOJI.__doc__ = talib.CDLGRAVESTONEDOJI.__doc__
|
|
942
947
|
|
|
943
|
-
def
|
|
944
|
-
imp = crtTaIndicatorImp(ta.CDLHAMMER, '
|
|
948
|
+
def PYTA_CDLHAMMER(ind=None):
|
|
949
|
+
imp = crtTaIndicatorImp(ta.CDLHAMMER, 'PYTA_CDLHAMMER', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
945
950
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
946
951
|
|
|
947
|
-
|
|
952
|
+
PYTA_CDLHAMMER.__doc__ = talib.CDLHAMMER.__doc__
|
|
948
953
|
|
|
949
|
-
def
|
|
954
|
+
def PYTA_CDLHANGINGMAN(ind=None):
|
|
950
955
|
imp = crtTaIndicatorImp(
|
|
951
|
-
ta.CDLHANGINGMAN, '
|
|
956
|
+
ta.CDLHANGINGMAN, 'PYTA_CDLHANGINGMAN', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
952
957
|
)
|
|
953
958
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
954
959
|
|
|
955
|
-
|
|
960
|
+
PYTA_CDLHANGINGMAN.__doc__ = talib.CDLHANGINGMAN.__doc__
|
|
956
961
|
|
|
957
|
-
def
|
|
962
|
+
def PYTA_CDLHARAMI(ind=None):
|
|
958
963
|
imp = crtTaIndicatorImp(
|
|
959
964
|
ta.CDLHARAMI,
|
|
960
|
-
'
|
|
965
|
+
'PYTA_CDLHARAMI',
|
|
961
966
|
result_num=1,
|
|
962
967
|
# params={'penetration': penetration},
|
|
963
968
|
prices=['open', 'high', 'low', 'close']
|
|
964
969
|
)
|
|
965
970
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
966
971
|
|
|
967
|
-
|
|
972
|
+
PYTA_CDLHARAMI.__doc__ = talib.CDLHARAMI.__doc__
|
|
968
973
|
|
|
969
|
-
def
|
|
974
|
+
def PYTA_CDLHARAMICROSS(ind=None):
|
|
970
975
|
imp = crtTaIndicatorImp(
|
|
971
|
-
ta.CDLHARAMICROSS, '
|
|
976
|
+
ta.CDLHARAMICROSS, 'PYTA_CDLHARAMICROSS', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
972
977
|
)
|
|
973
978
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
974
979
|
|
|
975
|
-
|
|
980
|
+
PYTA_CDLHARAMICROSS.__doc__ = talib.CDLHARAMICROSS.__doc__
|
|
976
981
|
|
|
977
|
-
def
|
|
978
|
-
imp = crtTaIndicatorImp(ta.CDLHIGHWAVE, '
|
|
982
|
+
def PYTA_CDLHIGHWAVE(ind=None):
|
|
983
|
+
imp = crtTaIndicatorImp(ta.CDLHIGHWAVE, 'PYTA_CDLHIGHWAVE', result_num=1,
|
|
984
|
+
prices=['open', 'high', 'low', 'close'])
|
|
979
985
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
980
986
|
|
|
981
|
-
|
|
987
|
+
PYTA_CDLHIGHWAVE.__doc__ = talib.CDLHIGHWAVE.__doc__
|
|
982
988
|
|
|
983
|
-
def
|
|
984
|
-
imp = crtTaIndicatorImp(ta.CDLHIKKAKE, '
|
|
989
|
+
def PYTA_CDLHIKKAKE(ind=None):
|
|
990
|
+
imp = crtTaIndicatorImp(ta.CDLHIKKAKE, 'PYTA_CDLHIKKAKE', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
985
991
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
986
992
|
|
|
987
|
-
|
|
993
|
+
PYTA_CDLHIKKAKE.__doc__ = talib.CDLHIKKAKE.__doc__
|
|
988
994
|
|
|
989
|
-
def
|
|
995
|
+
def PYTA_CDLHIKKAKEMOD(ind=None):
|
|
990
996
|
imp = crtTaIndicatorImp(
|
|
991
|
-
ta.CDLHIKKAKEMOD, '
|
|
997
|
+
ta.CDLHIKKAKEMOD, 'PYTA_CDLHIKKAKEMOD', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
992
998
|
)
|
|
993
999
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
994
1000
|
|
|
995
|
-
|
|
1001
|
+
PYTA_CDLHIKKAKEMOD.__doc__ = talib.CDLHIKKAKEMOD.__doc__
|
|
996
1002
|
|
|
997
|
-
def
|
|
1003
|
+
def PYTA_CDLHOMINGPIGEON(ind=None):
|
|
998
1004
|
imp = crtTaIndicatorImp(
|
|
999
|
-
ta.CDLHOMINGPIGEON, '
|
|
1005
|
+
ta.CDLHOMINGPIGEON, 'PYTA_CDLHOMINGPIGEON', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1000
1006
|
)
|
|
1001
1007
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1002
1008
|
|
|
1003
|
-
|
|
1009
|
+
PYTA_CDLHOMINGPIGEON.__doc__ = talib.CDLHOMINGPIGEON.__doc__
|
|
1004
1010
|
|
|
1005
|
-
def
|
|
1011
|
+
def PYTA_CDLIDENTICAL3CROWS(ind=None):
|
|
1006
1012
|
imp = crtTaIndicatorImp(
|
|
1007
|
-
ta.CDLIDENTICAL3CROWS, '
|
|
1013
|
+
ta.CDLIDENTICAL3CROWS, 'PYTA_CDLIDENTICAL3CROWS', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1008
1014
|
)
|
|
1009
1015
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1010
1016
|
|
|
1011
|
-
|
|
1017
|
+
PYTA_CDLIDENTICAL3CROWS.__doc__ = talib.CDLIDENTICAL3CROWS.__doc__
|
|
1012
1018
|
|
|
1013
|
-
def
|
|
1014
|
-
imp = crtTaIndicatorImp(ta.CDLINNECK, '
|
|
1019
|
+
def PYTA_CDLINNECK(ind=None):
|
|
1020
|
+
imp = crtTaIndicatorImp(ta.CDLINNECK, 'PYTA_CDLINNECK', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
1015
1021
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1016
1022
|
|
|
1017
|
-
|
|
1023
|
+
PYTA_CDLINNECK.__doc__ = talib.CDLINNECK.__doc__
|
|
1018
1024
|
|
|
1019
|
-
def
|
|
1025
|
+
def PYTA_CDLINVERTEDHAMMER(ind=None):
|
|
1020
1026
|
imp = crtTaIndicatorImp(
|
|
1021
|
-
ta.CDLINVERTEDHAMMER, '
|
|
1027
|
+
ta.CDLINVERTEDHAMMER, 'PYTA_CDLINVERTEDHAMMER', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1022
1028
|
)
|
|
1023
1029
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1024
1030
|
|
|
1025
|
-
|
|
1031
|
+
PYTA_CDLINVERTEDHAMMER.__doc__ = talib.CDLINVERTEDHAMMER.__doc__
|
|
1026
1032
|
|
|
1027
|
-
def
|
|
1028
|
-
imp = crtTaIndicatorImp(ta.CDLKICKING, '
|
|
1033
|
+
def PYTA_CDLKICKING(ind=None):
|
|
1034
|
+
imp = crtTaIndicatorImp(ta.CDLKICKING, 'PYTA_CDLKICKING', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
1029
1035
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1030
1036
|
|
|
1031
|
-
|
|
1037
|
+
PYTA_CDLKICKING.__doc__ = talib.CDLKICKING.__doc__
|
|
1032
1038
|
|
|
1033
|
-
def
|
|
1039
|
+
def PYTA_CDLKICKINGBYLENGTH(ind=None):
|
|
1034
1040
|
imp = crtTaIndicatorImp(
|
|
1035
|
-
ta.CDLKICKINGBYLENGTH, '
|
|
1041
|
+
ta.CDLKICKINGBYLENGTH, 'PYTA_CDLKICKINGBYLENGTH', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1036
1042
|
)
|
|
1037
1043
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1038
1044
|
|
|
1039
|
-
|
|
1045
|
+
PYTA_CDLKICKINGBYLENGTH.__doc__ = talib.CDLKICKINGBYLENGTH.__doc__
|
|
1040
1046
|
|
|
1041
|
-
def
|
|
1047
|
+
def PYTA_CDLLADDERBOTTOM(ind=None):
|
|
1042
1048
|
imp = crtTaIndicatorImp(
|
|
1043
|
-
ta.CDLLADDERBOTTOM, '
|
|
1049
|
+
ta.CDLLADDERBOTTOM, 'PYTA_CDLLADDERBOTTOM', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1044
1050
|
)
|
|
1045
1051
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1046
1052
|
|
|
1047
|
-
|
|
1053
|
+
PYTA_CDLLADDERBOTTOM.__doc__ = talib.CDLLADDERBOTTOM.__doc__
|
|
1048
1054
|
|
|
1049
|
-
def
|
|
1055
|
+
def PYTA_CDLLONGLEGGEDDOJI(ind=None):
|
|
1050
1056
|
imp = crtTaIndicatorImp(
|
|
1051
|
-
ta.CDLLONGLEGGEDDOJI, '
|
|
1057
|
+
ta.CDLLONGLEGGEDDOJI, 'PYTA_CDLLONGLEGGEDDOJI', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1052
1058
|
)
|
|
1053
1059
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1054
1060
|
|
|
1055
|
-
|
|
1061
|
+
PYTA_CDLLONGLEGGEDDOJI.__doc__ = talib.CDLLONGLEGGEDDOJI.__doc__
|
|
1056
1062
|
|
|
1057
|
-
def
|
|
1058
|
-
imp = crtTaIndicatorImp(ta.CDLLONGLINE, '
|
|
1063
|
+
def PYTA_CDLLONGLINE(ind=None):
|
|
1064
|
+
imp = crtTaIndicatorImp(ta.CDLLONGLINE, 'PYTA_CDLLONGLINE', result_num=1,
|
|
1065
|
+
prices=['open', 'high', 'low', 'close'])
|
|
1059
1066
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1060
1067
|
|
|
1061
|
-
|
|
1068
|
+
PYTA_CDLLONGLINE.__doc__ = talib.CDLLONGLINE.__doc__
|
|
1062
1069
|
|
|
1063
|
-
def
|
|
1064
|
-
imp = crtTaIndicatorImp(ta.CDLMARUBOZU, '
|
|
1070
|
+
def PYTA_CDLMARUBOZU(ind=None):
|
|
1071
|
+
imp = crtTaIndicatorImp(ta.CDLMARUBOZU, 'PYTA_CDLMARUBOZU', result_num=1,
|
|
1072
|
+
prices=['open', 'high', 'low', 'close'])
|
|
1065
1073
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1066
1074
|
|
|
1067
|
-
|
|
1075
|
+
PYTA_CDLMARUBOZU.__doc__ = talib.CDLMARUBOZU.__doc__
|
|
1068
1076
|
|
|
1069
|
-
def
|
|
1077
|
+
def PYTA_CDLMATCHINGLOW(ind=None):
|
|
1070
1078
|
imp = crtTaIndicatorImp(
|
|
1071
|
-
ta.CDLMATCHINGLOW, '
|
|
1079
|
+
ta.CDLMATCHINGLOW, 'PYTA_CDLMATCHINGLOW', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1072
1080
|
)
|
|
1073
1081
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1074
1082
|
|
|
1075
|
-
|
|
1083
|
+
PYTA_CDLMATCHINGLOW.__doc__ = talib.CDLMATCHINGLOW.__doc__
|
|
1076
1084
|
|
|
1077
|
-
def
|
|
1085
|
+
def PYTA_CDLMATHOLD(ind=None, penetration=0.5):
|
|
1078
1086
|
imp = crtTaIndicatorImp(
|
|
1079
1087
|
ta.CDLMATHOLD,
|
|
1080
|
-
'
|
|
1088
|
+
'PYTA_CDLMATHOLD',
|
|
1081
1089
|
result_num=1,
|
|
1082
1090
|
params={'penetration': penetration},
|
|
1083
1091
|
prices=['open', 'high', 'low', 'close']
|
|
1084
1092
|
)
|
|
1085
1093
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1086
1094
|
|
|
1087
|
-
|
|
1095
|
+
PYTA_CDLMATHOLD.__doc__ = talib.CDLMATHOLD.__doc__
|
|
1088
1096
|
|
|
1089
|
-
def
|
|
1097
|
+
def PYTA_CDLMORNINGDOJISTAR(ind=None, penetration=0.3):
|
|
1090
1098
|
imp = crtTaIndicatorImp(
|
|
1091
1099
|
ta.CDLMORNINGDOJISTAR,
|
|
1092
|
-
'
|
|
1100
|
+
'PYTA_CDLMORNINGDOJISTAR',
|
|
1093
1101
|
result_num=1,
|
|
1094
1102
|
params={'penetration': penetration},
|
|
1095
1103
|
prices=['open', 'high', 'low', 'close']
|
|
1096
1104
|
)
|
|
1097
1105
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1098
1106
|
|
|
1099
|
-
|
|
1107
|
+
PYTA_CDLMORNINGDOJISTAR.__doc__ = talib.CDLMORNINGDOJISTAR.__doc__
|
|
1100
1108
|
|
|
1101
|
-
def
|
|
1109
|
+
def PYTA_CDLMORNINGSTAR(ind=None, penetration=0.3):
|
|
1102
1110
|
imp = crtTaIndicatorImp(
|
|
1103
1111
|
ta.CDLMORNINGSTAR,
|
|
1104
|
-
'
|
|
1112
|
+
'PYTA_CDLMORNINGSTAR',
|
|
1105
1113
|
result_num=1,
|
|
1106
1114
|
params={'penetration': penetration},
|
|
1107
1115
|
prices=['open', 'high', 'low', 'close']
|
|
1108
1116
|
)
|
|
1109
1117
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1110
1118
|
|
|
1111
|
-
|
|
1119
|
+
PYTA_CDLMORNINGSTAR.__doc__ = talib.CDLMORNINGSTAR.__doc__
|
|
1112
1120
|
|
|
1113
|
-
def
|
|
1114
|
-
imp = crtTaIndicatorImp(ta.CDLONNECK, '
|
|
1121
|
+
def PYTA_CDLONNECK(ind=None):
|
|
1122
|
+
imp = crtTaIndicatorImp(ta.CDLONNECK, 'PYTA_CDLONNECK', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
1115
1123
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1116
1124
|
|
|
1117
|
-
|
|
1125
|
+
PYTA_CDLONNECK.__doc__ = talib.CDLONNECK.__doc__
|
|
1118
1126
|
|
|
1119
|
-
def
|
|
1120
|
-
imp = crtTaIndicatorImp(ta.CDLPIERCING, '
|
|
1127
|
+
def PYTA_CDLPIERCING(ind=None):
|
|
1128
|
+
imp = crtTaIndicatorImp(ta.CDLPIERCING, 'PYTA_CDLPIERCING', result_num=1,
|
|
1129
|
+
prices=['open', 'high', 'low', 'close'])
|
|
1121
1130
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1122
1131
|
|
|
1123
|
-
|
|
1132
|
+
PYTA_CDLPIERCING.__doc__ = talib.CDLPIERCING.__doc__
|
|
1124
1133
|
|
|
1125
|
-
def
|
|
1134
|
+
def PYTA_CDLRICKSHAWMAN(ind=None):
|
|
1126
1135
|
imp = crtTaIndicatorImp(
|
|
1127
|
-
ta.CDLRICKSHAWMAN, '
|
|
1136
|
+
ta.CDLRICKSHAWMAN, 'PYTA_CDLRICKSHAWMAN', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1128
1137
|
)
|
|
1129
1138
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1130
1139
|
|
|
1131
|
-
|
|
1140
|
+
PYTA_CDLRICKSHAWMAN.__doc__ = talib.CDLRICKSHAWMAN.__doc__
|
|
1132
1141
|
|
|
1133
|
-
def
|
|
1142
|
+
def PYTA_CDLRISEFALL3METHODS(ind=None):
|
|
1134
1143
|
imp = crtTaIndicatorImp(
|
|
1135
|
-
ta.CDLRISEFALL3METHODS, '
|
|
1144
|
+
ta.CDLRISEFALL3METHODS, 'PYTA_CDLRISEFALL3METHODS', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1136
1145
|
)
|
|
1137
1146
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1138
1147
|
|
|
1139
|
-
|
|
1148
|
+
PYTA_CDLRISEFALL3METHODS.__doc__ = talib.CDLRISEFALL3METHODS.__doc__
|
|
1140
1149
|
|
|
1141
|
-
def
|
|
1150
|
+
def PYTA_CDLSEPARATINGLINES(ind=None):
|
|
1142
1151
|
imp = crtTaIndicatorImp(
|
|
1143
|
-
ta.CDLSEPARATINGLINES, '
|
|
1152
|
+
ta.CDLSEPARATINGLINES, 'PYTA_CDLSEPARATINGLINES', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1144
1153
|
)
|
|
1145
1154
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1146
1155
|
|
|
1147
|
-
|
|
1156
|
+
PYTA_CDLSEPARATINGLINES.__doc__ = talib.CDLSEPARATINGLINES.__doc__
|
|
1148
1157
|
|
|
1149
|
-
def
|
|
1158
|
+
def PYTA_CDLSHOOTINGSTAR(ind=None):
|
|
1150
1159
|
imp = crtTaIndicatorImp(
|
|
1151
|
-
ta.CDLSHOOTINGSTAR, '
|
|
1160
|
+
ta.CDLSHOOTINGSTAR, 'PYTA_CDLSHOOTINGSTAR', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1152
1161
|
)
|
|
1153
1162
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1154
1163
|
|
|
1155
|
-
|
|
1164
|
+
PYTA_CDLSHOOTINGSTAR.__doc__ = talib.CDLSHOOTINGSTAR.__doc__
|
|
1156
1165
|
|
|
1157
|
-
def
|
|
1166
|
+
def PYTA_CDLSHORTLINE(ind=None):
|
|
1158
1167
|
imp = crtTaIndicatorImp(
|
|
1159
|
-
ta.CDLSHORTLINE, '
|
|
1168
|
+
ta.CDLSHORTLINE, 'PYTA_CDLSHORTLINE', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1160
1169
|
)
|
|
1161
1170
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1162
1171
|
|
|
1163
|
-
|
|
1172
|
+
PYTA_CDLSHORTLINE.__doc__ = talib.CDLSHORTLINE.__doc__
|
|
1164
1173
|
|
|
1165
|
-
def
|
|
1174
|
+
def PYTA_CDLSPINNINGTOP(ind=None):
|
|
1166
1175
|
imp = crtTaIndicatorImp(
|
|
1167
|
-
ta.CDLSPINNINGTOP, '
|
|
1176
|
+
ta.CDLSPINNINGTOP, 'PYTA_CDLSPINNINGTOP', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1168
1177
|
)
|
|
1169
1178
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1170
1179
|
|
|
1171
|
-
|
|
1180
|
+
PYTA_CDLSPINNINGTOP.__doc__ = talib.CDLSPINNINGTOP.__doc__
|
|
1172
1181
|
|
|
1173
|
-
def
|
|
1182
|
+
def PYTA_CDLSTALLEDPATTERN(ind=None):
|
|
1174
1183
|
imp = crtTaIndicatorImp(
|
|
1175
|
-
ta.CDLSTALLEDPATTERN, '
|
|
1184
|
+
ta.CDLSTALLEDPATTERN, 'PYTA_CDLSTALLEDPATTERN', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1176
1185
|
)
|
|
1177
1186
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1178
1187
|
|
|
1179
|
-
|
|
1188
|
+
PYTA_CDLSTALLEDPATTERN.__doc__ = talib.CDLSTALLEDPATTERN.__doc__
|
|
1180
1189
|
|
|
1181
|
-
def
|
|
1190
|
+
def PYTA_CDLSTICKSANDWICH(ind=None):
|
|
1182
1191
|
imp = crtTaIndicatorImp(
|
|
1183
|
-
ta.CDLSTICKSANDWICH, '
|
|
1192
|
+
ta.CDLSTICKSANDWICH, 'PYTA_CDLSTICKSANDWICH', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1184
1193
|
)
|
|
1185
1194
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1186
1195
|
|
|
1187
|
-
|
|
1196
|
+
PYTA_CDLSTICKSANDWICH.__doc__ = talib.CDLSTICKSANDWICH.__doc__
|
|
1188
1197
|
|
|
1189
|
-
def
|
|
1190
|
-
imp = crtTaIndicatorImp(ta.CDLTAKURI, '
|
|
1198
|
+
def PYTA_CDLTAKURI(ind=None):
|
|
1199
|
+
imp = crtTaIndicatorImp(ta.CDLTAKURI, 'PYTA_CDLTAKURI', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
1191
1200
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1192
1201
|
|
|
1193
|
-
|
|
1202
|
+
PYTA_CDLTAKURI.__doc__ = talib.CDLTAKURI.__doc__
|
|
1194
1203
|
|
|
1195
|
-
def
|
|
1204
|
+
def PYTA_CDLTASUKIGAP(ind=None):
|
|
1196
1205
|
imp = crtTaIndicatorImp(
|
|
1197
|
-
ta.CDLTASUKIGAP, '
|
|
1206
|
+
ta.CDLTASUKIGAP, 'PYTA_CDLTASUKIGAP', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1198
1207
|
)
|
|
1199
1208
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1200
1209
|
|
|
1201
|
-
|
|
1210
|
+
PYTA_CDLTASUKIGAP.__doc__ = talib.CDLTASUKIGAP.__doc__
|
|
1202
1211
|
|
|
1203
|
-
def
|
|
1212
|
+
def PYTA_CDLTHRUSTING(ind=None):
|
|
1204
1213
|
imp = crtTaIndicatorImp(
|
|
1205
|
-
ta.CDLTHRUSTING, '
|
|
1214
|
+
ta.CDLTHRUSTING, 'PYTA_CDLTHRUSTING', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1206
1215
|
)
|
|
1207
1216
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1208
1217
|
|
|
1209
|
-
|
|
1218
|
+
PYTA_CDLTHRUSTING.__doc__ = talib.CDLTHRUSTING.__doc__
|
|
1210
1219
|
|
|
1211
|
-
def
|
|
1212
|
-
imp = crtTaIndicatorImp(ta.CDLTRISTAR, '
|
|
1220
|
+
def PYTA_CDLTRISTAR(ind=None):
|
|
1221
|
+
imp = crtTaIndicatorImp(ta.CDLTRISTAR, 'PYTA_CDLTRISTAR', result_num=1, prices=['open', 'high', 'low', 'close'])
|
|
1213
1222
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1214
1223
|
|
|
1215
|
-
|
|
1224
|
+
PYTA_CDLTRISTAR.__doc__ = talib.CDLTRISTAR.__doc__
|
|
1216
1225
|
|
|
1217
|
-
def
|
|
1226
|
+
def PYTA_CDLUNIQUE3RIVER(ind=None):
|
|
1218
1227
|
imp = crtTaIndicatorImp(
|
|
1219
|
-
ta.CDLUNIQUE3RIVER, '
|
|
1228
|
+
ta.CDLUNIQUE3RIVER, 'PYTA_CDLUNIQUE3RIVER', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1220
1229
|
)
|
|
1221
1230
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1222
1231
|
|
|
1223
|
-
|
|
1232
|
+
PYTA_CDLUNIQUE3RIVER.__doc__ = talib.CDLUNIQUE3RIVER.__doc__
|
|
1224
1233
|
|
|
1225
|
-
def
|
|
1234
|
+
def PYTA_CDLUPSIDEGAP2CROWS(ind=None):
|
|
1226
1235
|
imp = crtTaIndicatorImp(
|
|
1227
|
-
ta.CDLUPSIDEGAP2CROWS, '
|
|
1236
|
+
ta.CDLUPSIDEGAP2CROWS, 'PYTA_CDLUPSIDEGAP2CROWS', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1228
1237
|
)
|
|
1229
1238
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1230
1239
|
|
|
1231
|
-
|
|
1240
|
+
PYTA_CDLUPSIDEGAP2CROWS.__doc__ = talib.CDLUPSIDEGAP2CROWS.__doc__
|
|
1232
1241
|
|
|
1233
|
-
def
|
|
1242
|
+
def PYTA_CDLXSIDEGAP3METHODS(ind=None):
|
|
1234
1243
|
imp = crtTaIndicatorImp(
|
|
1235
|
-
ta.CDLXSIDEGAP3METHODS, '
|
|
1244
|
+
ta.CDLXSIDEGAP3METHODS, 'PYTA_CDLXSIDEGAP3METHODS', result_num=1, prices=['open', 'high', 'low', 'close']
|
|
1236
1245
|
)
|
|
1237
1246
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1238
1247
|
|
|
1239
|
-
|
|
1248
|
+
PYTA_CDLXSIDEGAP3METHODS.__doc__ = talib.CDLXSIDEGAP3METHODS.__doc__
|
|
1240
1249
|
|
|
1241
|
-
def
|
|
1242
|
-
imp = crtTaIndicatorImp(ta.BETA, '
|
|
1250
|
+
def PYTA_BETA(ind=None, timeperiod=5):
|
|
1251
|
+
imp = crtTaIndicatorImp(ta.BETA, 'PYTA_BETA', result_num=1, params={'timeperiod': timeperiod})
|
|
1243
1252
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1244
1253
|
|
|
1245
|
-
|
|
1254
|
+
PYTA_BETA.__doc__ = talib.BETA.__doc__
|
|
1246
1255
|
|
|
1247
|
-
def
|
|
1248
|
-
imp = crtTaIndicatorImp(ta.CORREL, '
|
|
1256
|
+
def PYTA_CORREL(ind=None, timeperiod=30):
|
|
1257
|
+
imp = crtTaIndicatorImp(ta.CORREL, 'PYTA_CORREL', result_num=1, params={'timeperiod': timeperiod})
|
|
1249
1258
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1250
1259
|
|
|
1251
|
-
|
|
1260
|
+
PYTA_CORREL.__doc__ = talib.CORREL.__doc__
|
|
1252
1261
|
|
|
1253
|
-
def
|
|
1254
|
-
imp = crtTaIndicatorImp(ta.OBV, '
|
|
1262
|
+
def PYTA_OBV(ind=None):
|
|
1263
|
+
imp = crtTaIndicatorImp(ta.OBV, 'PYTA_OBV', result_num=1)
|
|
1255
1264
|
return Indicator(imp)(ind) if ind else Indicator(imp)
|
|
1256
1265
|
|
|
1257
|
-
|
|
1266
|
+
PYTA_OBV.__doc__ = talib.OBV.__doc__
|
|
1258
1267
|
|
|
1259
1268
|
except:
|
|
1260
1269
|
pass # 非必须的,talib,不再打印告警,以免误解提问
|