Skip to main content

QuantFlow Trading

Real-time execution path for live feature computation

Where It Fits

DataInfra → FeatureDAG → Trading (Real-Time Execution)

Overview

Trading is the real-time execution layer of QuantFlow.

It runs FeatureDAG pipelines on live market data to compute features and generate trading signals.

The same feature definitions used in Research are executed in real time without modification.

Key Features

  • Real-time feature computation
  • Deterministic execution (same as batch)
  • Stateful processing (order book, rolling windows)
  • Signal generation and aggregation
  • Monitoring and observability

Technical Stack

  • DolphinDB — native streaming engine
  • WebSocket — real-time data ingestion
  • Delta-based Order Book — efficient state reconstruction
  • FeatureDAG IR — shared computation graph
  • Consolidated Deployment — optimized engine grouping

Workflow

  1. Ingest — Connect to WebSocket market data feeds
  2. Order Book — Reconstruct full depth state
  3. State Engine — Maintain rolling windows and triggers
  4. Feature Compute — Execute FeatureDAG in real time
  5. Feature Output — Consolidate features into output stream tables
  6. Signal — Generate trading outputs
  7. Monitoring — Track latency and execution health

Scale

  • Handles high-frequency streaming data
  • Processes real-time market events efficiently
  • Supports low-latency execution
Trading operationalizes what Research validates.