mirror of
https://github.com/farcasclaudiu/TradingAgents.git
synced 2026-06-28 21:01:16 +03:00
fix: improve data vendor implementations and tool signatures
- Add get_global_news for Alpha Vantage - Fix get_insider_transactions signature (remove unused curr_date param) - Remove unnecessary default params from API calls (sort, limit, tab)
This commit is contained in:
@@ -64,7 +64,7 @@ def get_news_yfinance(
|
||||
"""
|
||||
try:
|
||||
stock = yf.Ticker(ticker)
|
||||
news = stock.get_news(count=20, tab="news")
|
||||
news = stock.get_news(count=20)
|
||||
|
||||
if not news:
|
||||
return f"No news found for {ticker}"
|
||||
|
||||
Reference in New Issue
Block a user