We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fdf532 commit 122269cCopy full SHA for 122269c
yfinance/scrapers/quote.py
@@ -701,7 +701,7 @@ def _fetch_complementary(self, proxy):
701
json_str = self._data.cache_get(url=url, proxy=proxy).text
702
json_data = json.loads(json_str)
703
if json_data["timeseries"]["error"] is not None:
704
- raise YFinanceException(f"Failed to parse json response from Yahoo Finance: " + json_data["error"])
+ raise YFinanceException("Failed to parse json response from Yahoo Finance: " + json_data["error"])
705
for k in keys:
706
keydict = json_data["timeseries"]["result"][0]
707
if k in keydict:
0 commit comments