company
Company News. Get news for one or more companies.
Examples
from openbb import obb
obb.news.company(provider='benzinga')
obb.news.company(limit=100, provider='benzinga')
# Get news on the specified dates.
obb.news.company(symbol='AAPL', start_date='2024-02-01', end_date='2024-02-07', provider='intrinio')
# Display the headlines of the news.
obb.news.company(symbol='AAPL', display=headline, provider='benzinga')
# Get news for multiple symbols.
obb.news.company(symbol='aapl,tsla', provider='fmp')
# Get news company's ISIN.
obb.news.company(symbol='NVDA', isin=US0378331005, provider='benzinga')
Parameters
- standard
- benzinga
- fmp
- intrinio
- polygon
- tiingo
- tmx
- yfinance
symbol
: Union[str, list[str]]
Symbol to get data for. Multiple items allowed for provider(s): benzinga, fmp, intrinio, polygon, tiingo, tmx, yfinance.
• Optional: True
start_date
: Union[date, str]
Start date of the data, in YYYY-MM-DD format.
• Optional: True
end_date
: Union[date, str]
End date of the data, in YYYY-MM-DD format.
• Optional: True
limit
: Annotated[int, Ge(ge=0)]
The number of data entries to return.
• Default: 2500
• Optional: True
symbol
: Union[str, list[str]]
Symbol to get data for. Multiple items allowed for provider(s): benzinga, fmp, intrinio, polygon, tiingo, tmx, yfinance.
• Optional: True
start_date
: Union[date, str]
Start date of the data, in YYYY-MM-DD format.
• Optional: True
end_date
: Union[date, str]
End date of the data, in YYYY-MM-DD format.
• Optional: True
limit
: Annotated[int, Ge(ge=0)]
The number of data entries to return.
• Default: 2500
• Optional: True
date
: Union[date, str]
A specific date to get data for.
• Optional: True
display
: Literal['headline', 'abstract', 'full']
Specify headline only (headline), headline + teaser (abstract), or headline + full body (full).
• Default: full
• Optional: True
updated_since
: int
Number of seconds since the news was updated.