Company News
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
CompanyNews | CompanyNewsQueryParams | CompanyNewsData |
Import Statement
from openbb_core.provider.standard_models.company_news import (
CompanyNewsData,
CompanyNewsQueryParams,
)
Parameters
- standard
- nasdaq
- tmx
symbol: str | None | list[str | None]
Symbol to get data for. Multiple items allowed for provider(s): nasdaq, tmx.
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.
symbol: str | None | list[str | None]
Symbol to get data for. Multiple items allowed for provider(s): nasdaq, tmx.
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.
symbol: str | None | list[str | None]
Symbol to get data for. Multiple items allowed for provider(s): nasdaq, tmx.
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.
page: int | None
Default: 1
The page number to start from. Use with limit.
Data
- standard
- nasdaq
- tmx
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.
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.
publisher: str | None
The publisher of the article.
topic: str | None
The Nasdaq topic tag.
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.
source: str | None
Source of the news.