Build deterministic alert pipelines for price thresholds and strategy triggers, with built-in cooldown control and duplicate-write protection.
Prevent alert spam by defining cooldown seconds per rule and channel.
Use Idempotency-Key to safely retry create operations without duplicate records.
Route notifications to extension, webhook, and bot channels from one contract.
POST /api/v1/alerts
{
"symbolCode": "BTCUSD",
"timeFrame": "H1",
"ruleType": "PriceCrossAbove",
"threshold": 71000,
"cooldownSeconds": 300,
"channels": ["Extension"]
}