diff --git a/src/screener/t_atr_ema_v2.py b/src/screener/t_atr_ema_v2.py index 1c36f8a..f333773 100644 --- a/src/screener/t_atr_ema_v2.py +++ b/src/screener/t_atr_ema_v2.py @@ -98,7 +98,7 @@ def run_atr_ema_scanner_v2(min_price: float, max_price: float, min_volume: int, entry_signals = [] - for ticker, current_price, current_volume, last_update in qualified_stocks: + for ticker, current_price, current_volume, last_update, stock_type in qualified_stocks: try: df = get_stock_data(ticker, start_date, end_date, interval) @@ -113,6 +113,7 @@ def run_atr_ema_scanner_v2(min_price: float, max_price: float, min_volume: int, 'target_price': signal_data['ema'], 'volume': current_volume, 'signal_date': signal_date, + 'stock_type': stock_type, 'last_update': datetime.fromtimestamp(last_update/1000000000) }