Skip to content

aetelier_connect::workers::market_worker

Synchronised market data worker. Synchronised market data worker.

MarketWorker composes an IngestionCore with a MarketSynchronizer to produce grid-aligned MarketSnapshots from raw exchange events.

Design

┌──────────────┐     mpsc     ┌────────────────┐   sync    ┌──────────┐
│ IngestionCore│─────────────→│ MarketWorker   │──────────→│ Sinks    │
│ (WSS + reconn│  TopicMsg    │ (feed_event +  │ Snapshot  │ (channel │
│  + classify) │              │  synchronizer) │           │  / term) │
└──────────────┘              └────────────────┘           └──────────┘

The worker: 1. Spawns an IngestionCore in a background task. 2. Receives classified TopicMessages. 3. Converts raw exchange events into normalised types (Trade, Orderbook, etc.) and feeds them into the synchroniser. 4. Drains ready MarketSnapshots and emits them to output sinks.

Skeleton API reference

This page lists the public items in aetelier_connect::workers::market_worker with a one-line summary each. Signatures and source live in the SDK repository.

Structs

Item Summary
MarketWorker A single-symbol synchronised market data worker.
MarketWorkerReport Summary statistics returned when a MarketWorker finishes.