yfinance-cache
yfinance-cache copied to clipboard
`^STOXX50E` fails due to missing mapping for `ZRH` exchange
Hi, I'm on the latest version, and the previous fix on #96 has worked, but for this ticker (arguably, not a ticker per sevbut an index) I get this:
Exception: Need to add mapping of exchange ZRH to xcal (ticker=^STOXX50E)
Is there anything that we can do to fix this one too?
Thanks!
If you really want to fix yourself:
- find exchange here https://help.yahoo.com/kb/SLN2310.html
- find equivalent here (xcal) https://github.com/gerrymanoim/exchange_calendars
- add mapping to yfc_dat.py
Thank you!
Can you submit fix in a pull request? Otherwise leave open until fixed here.