yfinance.Ticker.get_news#
- Ticker.get_news(count=10, tab='news') list#
Get the latest news for the ticker, newest first.
News follows
yf.config.locale. Yahoo only has news for some locales; for others an empty list is returned.- Parameters:
count (int) – Maximum number of articles to return
tab (str) – “news”, “all” or “press releases”
- Returns:
list of articles, each
{"id": ..., "content": {...}}