From 78fb66aed1a5664d163489e756f52750ecfc0ac2 Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Sat, 4 Apr 2026 07:23:31 +0000 Subject: [PATCH] fix: normalize indicator names to lowercase (#490) --- tradingagents/agents/utils/technical_indicators_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tradingagents/agents/utils/technical_indicators_tools.py b/tradingagents/agents/utils/technical_indicators_tools.py index dc982580..a3dda5a5 100644 --- a/tradingagents/agents/utils/technical_indicators_tools.py +++ b/tradingagents/agents/utils/technical_indicators_tools.py @@ -22,7 +22,7 @@ def get_indicators( """ # LLMs sometimes pass multiple indicators as a comma-separated string; # split and process each individually. - indicators = [i.strip() for i in indicator.split(",") if i.strip()] + indicators = [i.strip().lower() for i in indicator.split(",") if i.strip()] results = [] for ind in indicators: try: