minor docs

This commit is contained in:
shamoon 2024-07-01 17:06:40 -07:00
parent e557db9347
commit 3b04ebd91d
2 changed files with 8 additions and 4 deletions

View File

@ -3,6 +3,8 @@ title: Stocks
description: Stocks Information Widget Configuration description: Stocks Information Widget Configuration
--- ---
_(Find the Stocks service widget [here](../services/stocks.md))_
The Stocks Information Widget allows you to include basic stock market data in The Stocks Information Widget allows you to include basic stock market data in
your Homepage header. The widget includes the current price of a stock, and the your Homepage header. The widget includes the current price of a stock, and the
change in price for the day. change in price for the day.
@ -28,8 +30,8 @@ The information widget allows for up to 8 items in the watchlist.
```yaml ```yaml
- stocks: - stocks:
provider: finnhub provider: finnhub
color: true # Optional | default = true color: true # optional, defaults to true
cache: 1 # Optional | Stocks widget default is to cache results for 1 minute cache: 1 # optional, default caches results for 1 minute
watchlist: watchlist:
- GME - GME
- AMC - AMC

View File

@ -3,6 +3,8 @@ title: Stocks
description: Stocks Service Widget Configuration description: Stocks Service Widget Configuration
--- ---
_(Find the Stocks information widget [here](../info/stocks.md))_
The widget includes: The widget includes:
- US stock market status - US stock market status
@ -17,7 +19,7 @@ signing up.
Allowed fields: no configurable fields for this widget. Allowed fields: no configurable fields for this widget.
You must set `finnhub` as a provider in your `settings.yaml` like below: You must set `finnhub` as a provider in your `settings.yaml`:
```yaml ```yaml
providers: providers:
@ -33,7 +35,7 @@ limited if using the information and service widgets together.
widget: widget:
type: stocks type: stocks
provider: finnhub provider: finnhub
showUSMarketStatus: true # Optional | default = true showUSMarketStatus: true # optional, defaults to true
watchlist: watchlist:
- GME - GME
- AMC - AMC