X stream and social alerts
QuantDesk runs a dedicatedx-stream service on port 3008 for X/Twitter ingestion. It is separate from both data-ingestion and news-ingestion.
Status
- Shipped: dedicated
x-stream/service, backend/api/v2/x/*routes, alert fanout, terminal windows, MIKEYget_x_context - Dev sample mode: when
TWITTER_BEARER_TOKENis unset in non-production, env-gated sample posts (not live KOL firehose) - Not supported: direct client-side X API access or frontend-held bearer tokens
Service boundaries
Normalized post shape
Each ingested post is normalized to:x.posts.raw and stores recent history in the x_posts table.
Alert types
QuantDesk currently emits separate alert events tox.alerts.raw and stores them in the x_alerts table.
Each alert includes
severity, linked_symbols, lists, and the original post_url.
Public read paths
API usage and ToS posture
- QuantDesk treats X as a licensed upstream with rate and ToS limits.
- Frontend clients and MIKEY do not call X directly.
TWITTER_BEARER_TOKENis owned byx-streamonly.- Development mode may serve env-gated sample posts when no bearer token is configured.