Yahoo Finance


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 variables:

  • name (Optional): The name of the sensor. If not specified, it defaults to Yahoo Stock.
  • symbol (Optional): The stock market symbol for a given company. If not specified, it defaults to Yahoo (YHOO).

Examples

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

Red Hat

sensor:
  - platform: yahoo_finance
    name: Red Hat Inc.
    symbol: RHT

Google

sensor:
  - platform: yahoo_finance
    name: Google
    symbol: GOOGL