Dylan Ullrich 231e2408c3
Feature: stock market service and info widget (#3617)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-07-01 17:16:10 -07:00

1.1 KiB

title, description
title description
Stocks Stocks Service Widget Configuration

(Find the Stocks information widget here)

The widget includes:

  • US stock market status
  • Current price of provided stock symbol
  • Change in price of stock symbol for the day.

Finnhub.io is currently the only supported provider for the stocks widget. You can sign up for a free api key at finnhub.io. You are encouraged to read finnhub.io's terms of service/privacy policy before signing up.

Allowed fields: no configurable fields for this widget.

You must set finnhub as a provider in your settings.yaml:

providers:
  finnhub: yourfinnhubapikeyhere

Next, configure the stocks widget in your services.yaml:

The service widget allows for up to 28 items in the watchlist. You may get rate limited if using the information and service widgets together.

widget:
  type: stocks
  provider: finnhub
  showUSMarketStatus: true # optional, defaults to true
  watchlist:
    - GME
    - AMC
    - NVDA
    - TSM
    - BRK.A
    - TSLA
    - AAPL
    - MSFT
    - AMZN
    - BRK.B