Webhooks & alerts
Create an alert rule
POST
https://api.q4.sa/v1/alertsSends an
alert.triggered webhook when a price or volume condition is met.Pro+
Authorization
x-api-keyheaderrequiredBody
symbolstringrequiredTadawul symbol.
typestringrequiredCondition to watch.
One of:
price_aboveprice_belowchange_percentabnormal_volumeunusual_valuevaluenumberrequiredThreshold: a price in SAR, a percent, or a multiple of the 20-day average.
oncebooleanDisable the rule after it fires once.
Default:
trueResponse
dataobjectThe result.
idstringUnique ID.
symbolstringTadawul symbol.
typestringType.
valueintegerValue.
oncebooleanstatusstringCurrent status.
created_atdatetimeWhen this record was created.
