cancel_alert
BEHAVIOR & SIDE EFFECTS: State-mutating and destructive. Irreversibly unregisters and removes an active trigger from both C++ HFT engine memory and Redis state. Operation is idempotent: canceling an already expired or non-existent alert safely returns an explanatory message without corrupting state.
WHEN TO USE: Call this tool as soon as a trading setup is executed, invalidated, or no longer needed, to free engine capacity.
WHEN NOT TO USE: Do not use to inspect active triggers (use list_alerts).
PREREQUISITES: Requires a valid alert_id previously returned by create_alert (e.g. 'alrt_101').
FAILURE MODES: If the alert_id is missing or expired, returns isError: true with a clear diagnostic message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_id | Yes | Unique identifier of the alert returned by `create_alert`. |