Update price alert
update_alertChange a Thndr alert's trigger price, direction, or frequency. Thndr replaces the original alert, so the response includes the new and previous alert IDs.
Instructions
Changes an alert's price, direction or frequency. Thndr has no in-place edit, so the alert is replaced and gets a new id (returned together with previousId).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| price | No | Trigger price in the instrument currency | |
| market | No | Market: "egypt" (EGX, default), "us" (NYSE/Nasdaq via Alpaca), "uae" (ADX) or "simulator" (paper trading) | egypt |
| direction | No | UP or DOWN; derived from the current price if omitted | |
| frequency | No | ONE_TIME (default) or RECURRING |