From 2cf4f7957090eba4d7a84db794eb4795734a2c4e Mon Sep 17 00:00:00 2001 From: Danglewood <85772166+deeleeramone@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:41:31 -0700 Subject: [PATCH] fix start/end dates not getting filtered from yFinance provider. (#6721) Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com> --- .../yfinance/openbb_yfinance/models/futures_historical.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py index 8773197d73cd..22466b341a9f 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py @@ -128,8 +128,8 @@ def extract_data( data = yf_download( query.symbol, - start=query.start_date, - end=query.end_date, + start_date=query.start_date, + end_date=query.end_date, interval=INTERVALS_DICT[query.interval], # type: ignore prepost=True, auto_adjust=False,