diff options
Diffstat (limited to 'openbb_sdk/providers/fmp/openbb_fmp/models/crypto_historical.py')
-rw-r--r-- | openbb_sdk/providers/fmp/openbb_fmp/models/crypto_historical.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/openbb_sdk/providers/fmp/openbb_fmp/models/crypto_historical.py b/openbb_sdk/providers/fmp/openbb_fmp/models/crypto_historical.py index dd679c65bcb..5e3766b7dc7 100644 --- a/openbb_sdk/providers/fmp/openbb_fmp/models/crypto_historical.py +++ b/openbb_sdk/providers/fmp/openbb_fmp/models/crypto_historical.py @@ -72,17 +72,9 @@ class FMPCryptoHistoricalFetcher( now = datetime.now().date() 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 FMPCryptoHistoricalQueryParams(**transformed_params) |