Closed aoberai closed 1 year ago
Could you provide an example of your code? Is there any specific condition that triggers this issue?
This is caused by pandas attempting to fetch a list of institutional holders when yahoo doesnt show any.
import yfinance
result = yfinance.Ticker('AACQU')
result.info # the line that actually expresses the error
Good: https://finance.yahoo.com/quote/AAPL/holders Bad: https://finance.yahoo.com/quote/AACQU/holders
I have bypassed the error this way: https://github.com/castis/yfinance/commit/0a1eb6f4886e2cde6ed24cbebbd6b0d167561bc5
Every so often, I am getting the following error:
I have already installed Html5lib...
Has anyone else had this issue and has anyone found a solution?