diff options
Diffstat (limited to 'openbb_sdk/providers/cboe/openbb_cboe/models/european_index_historical.py')
-rw-r--r-- | openbb_sdk/providers/cboe/openbb_cboe/models/european_index_historical.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/openbb_sdk/providers/cboe/openbb_cboe/models/european_index_historical.py b/openbb_sdk/providers/cboe/openbb_cboe/models/european_index_historical.py index ecbf15385d1..e437c2f9151 100644 --- a/openbb_sdk/providers/cboe/openbb_cboe/models/european_index_historical.py +++ b/openbb_sdk/providers/cboe/openbb_cboe/models/european_index_historical.py @@ -66,17 +66,9 @@ class CboeEuropeanIndexHistoricalFetcher( transformed_params = params if params.get("start_date") is None: transformed_params["start_date"] = now - relativedelta(years=1) - else: - transformed_params["start_date"] = datetime.strptime( - params["start_date"], "%Y-%m-%d" - ).date() if params.get("end_date") is None: transformed_params["end_date"] = now - else: - transformed_params["end_date"] = datetime.strptime( - params["end_date"], "%Y-%m-%d" - ).date() return CboeEuropeanIndexHistoricalQueryParams(**transformed_params) |