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

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): benzinga, fmp, intrinio, polygon, tiingo, tmx, yfinance.NoneTrue
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue
limitAnnotated[int, Ge(ge=0)]The number of data entries to return.2500True

Data

NameTypeDescription
dateUnion[datetime, str]The date of the data. Here it is the published date of the article.
titlestrTitle of the article.
textstrText/body of the article.
imagesList[Dict[str, str]]Images associated with the article.
urlstrURL to the article.
symbolsstrSymbols associated with the article.