Closed vutsalsinghal closed 1 year ago
Hi, Thanks for submitting this issue. I will try to find an other way to get the current price and I will open a PR associated to this .
@vutsalsinghal PR is merged and I created a 3.3.0
release with the fixes
Describe the bug Hi There
I'm getting python KeyError: 'currentPrice' in the logs. I'm using the latest arm64 image (this). I see this error only for crypto currencies (tried a few like BTC-USD, BTC-EUR, ETH-USD). Upon further digging, looks like the issue is in the yfinance library.
There is no key called "currentPrice" for cryptos. Will have to handle that
Installation mode: (choose one)
Additional comments I had worked on something similar (python finance/portfolio dashboard) and I cant recall but there were several inconsistency issues with the data ingestion from yfinance but things might've changed for better since I last used. I had decided to use yahoo_fin instead. Worked fine for cypto/non-crypto.
I'm in no way/shape/form have any association with yahoo_fin. Cheers! 😄