Skip to main content

X stream and social alerts

QuantDesk runs a dedicated Social Stream Ingestion Matrix for X/Twitter ingestion. It is separate from both the Market Data Ingestion Pipeline and the Sentiment Feed Aggregator.

Status

  • Shipped: dedicated Social Stream Ingestion Matrix, backend /api/v2/x/* routes, alert fanout, terminal windows, and an agent context tool
  • Dev sample mode: when TWITTER_BEARER_TOKEN is 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:
The service publishes raw normalized events to x.posts.raw and stores recent history in the x_posts table.

Alert types

QuantDesk currently emits separate alert events to x.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 agent tools do not call X directly.
  • TWITTER_BEARER_TOKEN is owned by the Social Stream Ingestion Matrix only.
  • Development mode may serve env-gated sample posts when no bearer token is configured.