home-assistant.io/source/_components/sensor.yahoo_finance.markdown
Alok Saboo 1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00

1.4 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, featured, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class featured ha_release
page Yahoo Finance Instructions on how to setup Yahoo Finance within Home Assistant. 2016-09-18 21:00 true false true true yahoo_finance.png Finance Cloud Polling false 0.29

This sensor doesn't work anymore as [Yahoo!](https://yahoo.uservoice.com/forums/382977-finance/suggestions/32103877-yahoo-stock-quote-api-please-bring-back) decommissioned the service in early November 2017. A repleacement is the [`alpha_vantage` sensor](/components/sensor.alpha_vantage/).

The yahoo_finance platform uses Yahoo Finance to monitor the stock market.

To enable the yahoo_finance platform, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: yahoo_finance

{% configuration %} name: description: The name of the sensor. required: false type: string default: Yahoo Stock symbols: description: List of stock market symbols for given companies. required: false type: string, list default: YHOO {% endconfiguration %}

{% linkable_title Examples %}

In this section you find some real life examples of how to use this sensor.

{% linkable_title Red Hat and Google %}

sensor:
  - platform: yahoo_finance
    symbols:
      - RHT
      - GOOGL