Change in Crypto Tickers? #2006
Unanswered
Brando-Commando
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
Recently jumping back into yFinance for a discord bot, ive found that when using the following:
current_data = ticker.info['currentPrice']
that it does not work for any crypto currencies, although other commands will typically work for the same ticker. Stocks work perfectly fine with this command except for crypto. I tried substituting with the following:
current_data = ticker.history('1d')
but the listed "close" listed data is inaccurate. I think it may stop updating at market close (edit: it does appear to change, albeit slowly). In previous versions I was able to easily pull up the current price of any listed stock or cryptocurrency. Is there something I am missing from the documentation?
Ive tried looking around but have not seen any discussions regarding crypto changes to yfinance.
Beta Was this translation helpful? Give feedback.
All reactions