Closed paulmcq closed 6 months ago
Should be in a for k in keys:
. Do you mind submitting a fix?
I would not mind submitting a fix, but I am not now set up to do development on yfinance. I know it is basically a git clone, then edit the file, push, and test. However, my code files and virtual environments are such a mess that it will take a while before that can be sanitary. I just noticed this whilst browsing the code. I do not even have a test case. I will eventually get straightened out, but thought it best to expose the issue sooner.
I have not seen a bug in execution, but reading this code in ranaroussi/yfinance/feature/prune-info/yfinance/scrapers/quote.py, it appears wrong to me.
I do not understand where this
k
gets a value in_scrape_complementary()
line 293:if k not in key_stats:
ranaroussi/yfinance/feature/prune-info/yfinance/scrapers/quote.py: 290 .. 299