Use cases · Sentiment alerts
Know when the talk about a stock turns.
Set a rule on the buzz, the bullish share, the signal or the price of a stock. When a check finds the rule met, you get an email, or your endpoint gets a signed POST.
Why it fits a desk
You stop watching, and the rule keeps watching.
A rule names a metric, a source and what has to happen. SentiStream compares each check with the one before and reports the change.
Four presets to switch on
Signal changes, buzz jumps, mood flips and sharp price moves work on every plan for the stocks of a watchlist. From the Hobby plan on you write rules of your own.
By email or to your endpoint
An alert rule sends an email. A threshold webhook posts to your URL when buzz, sentiment, mentions or attention crosses a value in a window of 1, 4 or 24 hours.
One move, one message
A webhook has a cooldown in minutes, so a metric that hovers around its threshold does not send the same alert again and again.
How to build it
From a key to the first alert.
-
Get a key
The presets work on every plan. Webhooks and rules of your own need the Hobby plan.
-
Write the rule
Create a webhook of the kind
thresholdwith a filter: the metric, the platform, the operator, the value and the window. -
Receive it
Your endpoint gets a POST with the old and the new value. The header
x-webhook-signaturelets you check that it came from SentiStream.
curl -X POST "https://api.sentistream.dev/v1/webhooks" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "AMD turns", "url": "https://example.com/hooks/senti",
"kind": "threshold",
"filter": { "metric": "sentiment", "platform": "reddit",
"op": "crosses", "value": 0, "window": "4h",
"cooldownMinutes": 60 } }'
{
"type": "threshold",
"deliveryType": "enriched",
"data": {
"entity": "c:1093",
"metric": "sentiment",
"platform": "reddit",
"window": "4h",
"op": "crosses",
"threshold": 0,
"value": -0.04,
"previous": 0.04
}
}
FAQ
Questions about alerts.
How often is a rule checked?
A threshold webhook is checked every 15 minutes. An alert rule on sentiment is checked twice a day, at 13:30 and 21:00 UTC, and a rule on the price after the daily prices have arrived.
Which plan do I need?
The four presets work on every plan. Rules of your own and webhooks need Hobby or above: Hobby and Pro have one webhook, Pro Max has 25.
How do I know a delivery is genuine?
Every delivery carries the header x-webhook-signature, computed from
the secret of the webhook, a timestamp and the body. Your endpoint computes it again
and compares.
Is an alert a trading signal?
No. An alert says that the talk about a stock changed and by how much. Sentiment readings do not predict prices.
More use cases