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
    name: Red Hat Inc.
    symbol: RHT

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).

Example configuration:

# Example configuration.yaml entry
sensor:
  - platform: yahoo_finance
    name: Red Hat Inc.
    symbol: RHT

  - platform: yahoo_finance
    name: Google
    symbol: GOOGL