Stock Price Watch
Daily price check on a single stock ticker. Notifies the owner when the price crosses a buy or sell threshold.
What it does
Every day (default 09:00 server time — edit the schedule when you install), the
monitor calls the stock-price tool with the configured ticker. Two arms then
evaluate:
- Buy alert — price ≤
$150(default). Sends a notification with the current price, daily change, and a one-line summary. - Sell alert — price ≥
$250(default). Same shape.
If neither threshold is hit, the else: arm matches and nothing fires (no
notification noise on normal days).
Edit before installing
In monitor.yaml:
check.args.symbols— changeAAPLto your ticker (any Yahoo Finance symbol).when[0].conditionandwhen[1].condition— set your buy and sell prices.- Subject/body strings are templated with the captured bindings; edit to taste.
Reference the same ticker symbol in check.prices.<TICKER>.price inside the
condition — the stock-price tool keys its prices map by symbol.
Bindings used
{{check.prices.<TICKER>.price}}— current trade price (number).{{check.prices.<TICKER>.changePercent}}— today's change as a percentage (number).{{check.summary}}— human-readable one-line summary of all queried symbols.{{monitor.name}}/{{monitor.firedAt}}— monitor identity + fire timestamp.
Tool used
stock-price — hub-installed YAML tool that queries
Yahoo Finance with no API key. Comma-separated symbols lets you watch many
tickers in one call; expand the condition to {{check.prices.MSFT.price}} <= 300 || {{check.prices.NVDA.price}} >= 1000
or use the stocks-portfolio-watch monitor for the per-ticker for_each
pattern.