Skip to main content

company

Company News. Get news for one or more companies.

Examples

from openbb import obb
obb.news.company()
obb.news.company(limit=100)
# Get news on the specified dates.
obb.news.company(symbol='AAPL', start_date='2024-02-01', end_date='2024-02-07')
# Display the headlines of the news.
obb.news.company(symbol='AAPL', display='headline')
# Get news for multiple symbols.
obb.news.company(symbol='aapl,tsla')
# Get news company's ISIN.
obb.news.company(symbol='NVDA', isin='US0378331005')

Parameters

symbol: str | None | list[str | None]
Symbol to get data for. Multiple items allowed for provider(s): benzinga, fmp, intrinio, tiingo, tmx, yfinance.

start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.

end_date: date | None | str
End date of the data, in YYYY-MM-DD format.

limit: int | None
The number of data entries to return.


Returns

results: CompanyNews

Serializable results.

provider: Optional[Literal['benzinga', 'fmp', 'intrinio', 'tiingo', 'tmx', 'yfinance']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

date: datetime | str
The date of the data. The date of publication.

title: str
Title of the article.

author: str | None
Author of the article.

excerpt: str | None
Excerpt of the article text.

body: str | None
Body of the article text.

images: Any | None
Images associated with the article.

url: str
URL to the article.

symbols: str | None
Symbols associated with the article.