ranaroussi / yfinance

Download market data from Yahoo! Finance's API
https://aroussi.com/post/python-yahoo-finance
Apache License 2.0
14.89k stars 2.44k forks source link

fixed a bug throwing an error when trying to get a ticker from certain isin #2099

Closed DamienDuv closed 1 week ago

DamienDuv commented 3 weeks ago

When making a request to "{_BASEURL}/v1/finance/search?q={isin}", the response doesn't always has a 'longname' field and this throws an error. Example with this isin : IE00BDBRDM35

ValueRaider commented 2 weeks ago

Rebase to dev will tidy your commit history #1084