Closed mking007 closed 4 months ago
Currency data for financial statements
For some stocks, like BP.L, the share price data is GBp whereas the financial statements are in USD.
The currency of GBp is available in fast_info but the currency (USD) for the financial statements does not appear to be available.
Am I missing something?
import yfinance as yf ticker = yf.Ticker("BP.L") ticker.info['currency']
not a bug
ticker.info['currency'] 'GBp'
yfinance
0.2.40
No response
I had a quick look:
info['financialCurrency']
No idea how reliable that is.
It's reliable.
This works. Closed issue. Thanks :)
Describe bug
Currency data for financial statements
For some stocks, like BP.L, the share price data is GBp whereas the financial statements are in USD.
The currency of GBp is available in fast_info but the currency (USD) for the financial statements does not appear to be available.
Am I missing something?
Simple code that reproduces your problem
import yfinance as yf ticker = yf.Ticker("BP.L") ticker.info['currency']
Debug log
not a bug
Bad data proof
ticker.info['currency'] 'GBp'
yfinance
version0.2.40
Python version
No response
Operating system
No response