TapeReaderJoe
TapeReaderJoe
I did some digging for my problem and added an Exception print in the try-except-clause (base.py lines 673-695), seems like the "localize" call might be the culprit. ***'datetime.timezone' object has...
> > seems like the "localize" call might be the culprit. > > > 'datetime.timezone' object has no attribute 'localize' > > Provide the traceback, so know which call you...
> I think fix is this: replace this line: > > https://github.com/ranaroussi/yfinance/blob/1edeaf07dc8ea9129e37f08dc770c1e3a16f431f/yfinance/base.py#L654 > > with this: > > ``` > dt_now = pd.Timestamp.utcnow() > ``` > > Try that and...