summaryrefslogtreecommitdiffstats
path: root/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_terminal/cryptocurrency/cryptocurrency_helpers.py')
-rw-r--r--openbb_terminal/cryptocurrency/cryptocurrency_helpers.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py b/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py
index c9607701186..2b9922602b3 100644
--- a/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py
+++ b/openbb_terminal/cryptocurrency/cryptocurrency_helpers.py
@@ -1,4 +1,5 @@
"""Cryptocurrency helpers"""
+
# pylint: disable=C0302,too-many-return-statements
import difflib
@@ -480,9 +481,11 @@ def load_from_yahoofinance(
s_date_start = s_start_dt.strftime("%Y-%m-%d")
df = yf.download(
pair,
- start=s_date_start
- if s_start_dt > start_date
- else start_date.strftime("%Y-%m-%d"),
+ start=(
+ s_date_start
+ if s_start_dt > start_date
+ else start_date.strftime("%Y-%m-%d")
+ ),
progress=False,
interval=s_int,
)