tickerbot_subscribe_ticker
Create custom alerts for a stock ticker based on your SQL condition. Receive notifications via Discord, webhook, mobile push, or in-app.
Instructions
Register a webhook that fires when one ticker matches a condition. condition is a SQL WHERE-clause fragment scoped to that ticker (e.g. "rsi_14 > 70 AND relative_volume > 2"). Pass target_url for an https POST, or channel:"discord" + discord_url to post to Discord; omit for in-app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable label. | |
| ticker | Yes | Symbol. | |
| cadence | No | Evaluation cadence. Default realtime; hourly/nyse_open throttle. (`1m` accepted as a deprecated alias of realtime.) | |
| channel | No | Delivery channel: `webhook` (POST to target_url), `discord` (embed to discord_url), `mobile_push` (to a registered device), or `in_app` (dashboard only). Inferred from the URL you pass if omitted. | |
| condition | Yes | SQL WHERE fragment evaluated for this ticker. | |
| device_id | No | Registered device id from the mobile app. Required when channel is "mobile_push". | |
| target_url | No | Optional https URL for the `webhook` channel; omit for in-app. | |
| discord_url | No | Discord incoming-webhook URL (https://discord.com/api/webhooks/…). Required when channel is "discord". |