Skip to main content

Execution Algo Engine

A new execution-algo-engine component slicing parent orders into TWAP/VWAP child orders submitted through order-matcher's existing order-entry path.

  • Inherits architectural baseline from: YU07-historical-tick-store
  • Generated from: system/architecture.model.json
  • Canonical flows: ../001-baseline-uncontainerized-parity/system/end-to-end-flows.md

Architecture Diagram​

Node Catalog​

NodeKindLabelNotes
algo_clientactorREST callerSubmits a parent order via POST /algo/orders and polls progress.
execution_algo_engineserviceexecution-algo-engineSchedules TWAP/VWAP buckets, submits child orders, tracks fills, event-sources its own state.
algo_event_streamserviceTRADERX_ALGO_ENGINE (JetStream)Durable append log of parent-order lifecycle events; replayed on boot for crash recovery.
price_publisherservicePrice PublisherExisting last-price feed; queried per child order to derive a marketable limit price.
order_matcherserviceorder-matcher (BLP + risk gateway)Existing order-entry endpoint; children are indistinguishable from manually entered orders.
natsserviceNATSExisting broker; execution-algo-engine adds a subscriber on /accounts/*/orders, publishes nothing to core NATS.
tick_store_parquetserviceTick Store (Parquet, GCS)YU07's unified ticks store; queried by the DuckDB volume-profile source for VWAP.