diff --git a/openbb_platform/core/openbb_core/provider/standard_models/company_news.py b/openbb_platform/core/openbb_core/provider/standard_models/company_news.py index 90047c81127..da59fe31790 100644 --- a/openbb_platform/core/openbb_core/provider/standard_models/company_news.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/company_news.py @@ -25,6 +25,15 @@ class CompanyNewsQueryParams(QueryParams): limit: Optional[NonNegativeInt] = Field( default=20, description=QUERY_DESCRIPTIONS.get("limit", "") ) + date: Optional[str] = Field( + default=None, description="Date of the news to retrieve." + ) + start_date: Optional[str] = Field( + default=None, description="Start date of the news to retrieve." + ) + end_date: Optional[str] = Field( + default=None, description="End date of the news to retrieve." + ) @field_validator("symbols", mode="before") @classmethod diff --git a/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py b/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py index 964e077af08..1d23430162f 100644 --- a/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py +++ b/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py @@ -34,15 +34,6 @@ class BenzingaCompanyNewsQueryParams(CompanyNewsQueryParams): default="full", description="Specify headline only (headline), headline + teaser (abstract), or headline + full body (full).", ) - date: Optional[str] = Field( - default=None, description="Date of the news to retrieve." - ) - start_date: Optional[str] = Field( - default=None, description="Start date of the news to retrieve." - ) - end_date: Optional[str] = Field( - default=None, description="End date of the news to retrieve." - ) updated_since: Optional[int] = Field( default=None, description="Number of seconds since the news was updated.",