iprak / yahoofinance

Home Assistant component which allows you to get stock updates from Yahoo finance.
MIT License
81 stars 11 forks source link

Support for cryptocurrencies #72

Closed leogaggl closed 2 years ago

leogaggl commented 2 years ago

It would be extremely useful to also get cryptocurrencies to report via Yahoo Finance

https://finance.yahoo.com/quote/BTC-EUR

Have tried several symbols, but not working.

iprak commented 2 years ago

BTC-EUR should work. I saw your comment in the other thread, is that the same issue?

iprak commented 2 years ago

Here is a sample declaration for BTC symbol which seems to work.

yahoofinance:
    symbols:
        - BTC-USD
        - BTC-EUR 
leogaggl commented 2 years ago

None of the cryptocurrency pairs returns any data.

I can definitely not get any of these work.

iprak commented 2 years ago

I have just have this (in configuration.yaml) and get data back. Can you enable debug logging as shown before, it might show what is happening.

yahoofinance:
    symbols:
        - BTC-USD
        - BTC-EUR            

logger:
  default: info
  logs:
    custom_components.yahoofinance: debug