Skip to content

TradingAgents: Multi-Agents LLM Financial Trading Framework

Fix ticker hardcoding in prompt (#28)

saksham0161570644d9396a
diff --git a/tradingagents/dataflows/interface.py b/tradingagents/dataflows/interface.py
index d31d84e2d..e0c0b700c 100644
--- a/tradingagents/dataflows/interface.py
+++ b/tradingagents/dataflows/interface.py
@@ -713,7 +713,7 @@ def get_stock_news_openai(ticker, curr_date):
"content": [
{
"type": "input_text",
- "text": f"Can you search Social Media for {ticker} on TSLA from 7 days before {curr_date} to {curr_date}? Make sure you only get the data posted during that period.",
+ "text": f"Can you search Social Media for {ticker} from 7 days before {curr_date} to {curr_date}? Make sure you only get the data posted during that period.",
}
],
}