Skip to main content

Company News


Implementation details

Class names

Model nameParameters classData class
CompanyNewsCompanyNewsQueryParamsCompanyNewsData

Import Statement

from openbb_core.provider.standard_models.company_news import (
CompanyNewsData,
CompanyNewsQueryParams,
)

Parameters

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

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

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

limit: Annotated[int, Ge(ge=0)]
The number of data entries to return.

Data

date: Union[datetime, str]
The date of the data. The date of publication.

title: str
Title of the article.

author: str
Author of the article.

excerpt: str
Excerpt of the article text.

body: str
Body of the article text.

images: Any
Images associated with the article.

url: str
URL to the article.

symbols: str
Symbols associated with the article.