From 2bd8671c291ba15acdc2a6ec0e6f86e5b5ec54f5 Mon Sep 17 00:00:00 2001 From: Dirk van der Plas Date: Sat, 16 May 2020 19:00:20 +0200 Subject: [PATCH] changed_exclude_items in identify_candlestick.py --- candle_stick_recognition/identify_candlestick.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/candle_stick_recognition/identify_candlestick.py b/candle_stick_recognition/identify_candlestick.py index 266cf72..c42a7e3 100644 --- a/candle_stick_recognition/identify_candlestick.py +++ b/candle_stick_recognition/identify_candlestick.py @@ -18,11 +18,7 @@ def recognize_candlestick(df): candle_names = talib.get_function_groups()['Pattern Recognition'] # patterns not found in the patternsite.com - exclude_items = ('CDLCOUNTERATTACK', - 'CDLLONGLINE', - 'CDLSHORTLINE', - 'CDLSTALLEDPATTERN', - 'CDLKICKINGBYLENGTH') + exclude_items = ('CDLSHORTLINE_Bear', 'CDLLONGLINE_Bull') candle_names = [candle for candle in candle_names if candle not in exclude_items]