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 ef2fbac commit fcc7aafCopy full SHA for fcc7aaf
yfinance/scrapers/quote.py
@@ -257,10 +257,8 @@ def _fetch(self, proxy):
257
query1_info[k] = v["fmt"] if k in {"regularMarketTime", "postMarketTime"} else v["raw"]
258
elif isinstance(v, str):
259
query1_info[k] = v.replace("\xa0", " ")
260
- if "firstTradeDateMilliseconds" in query1_info:
261
- query1_info["firstTradeDateMilliseconds"] = pd.Timestamp(
262
- query1_info["firstTradeDateMilliseconds"], unit="ms", tz="UTC"
263
- ).tz_convert(query1_info.get("exchangeTimezoneName", "UTC"))
+ elif isinstance(v, (int, bool)):
+ query1_info[k] = v
264
self._info = query1_info
265
266
def _fetch_complementary(self, proxy):
0 commit comments