Add Price Alert
alert_addSet up price alerts for securities based on absolute price or percentage change, with options for one-time, daily, or every-trigger notifications.
Instructions
Add a price alert. condition: price_rise/price_fall (absolute price) or percent_rise/percent_fall (relative %). frequency: once/daily/every. Returns created alert object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response. | |
| price | Yes | Threshold price or percentage value | |
| symbol | Yes | Security symbol, e.g. "700.HK". Use the canonical form — a padded code like "00700.HK" returns an empty record, not an error. | |
| condition | Yes | Alert condition: "price_rise", "price_fall", "percent_rise", "percent_fall" | |
| frequency | No | Alert frequency: "once" (trigger once then disable), "daily" (once per day), "every" (alert every time condition is met) |