Skip to main content

Module streams

Module streams 

Source
Expand description

High-level API types used for building MarketStreams from collections of Barter Subscriptions.

Modules§

blocking
Bridges a blocking source — a Parquet artifact, a compressed archive — into a bounded, back-pressured Stream, off the async runtime’s workers.
builder
Defines the StreamBuilder and MultiStreamBuilder APIs for ergonomically initialising MarketStream Streams.
consumer
Central consumer loop functionality used by the StreamBuilder to drive a re-connecting MarketStream.
merge
Lazily merge N time-sorted market streams into one, for replaying multi-instrument historical data as a single time-ordered feed.
reconnect
Defines a ReconnectingStream and associated logic for generating an auto reconnecting Stream.

Structs§

Streams
Ergonomic collection of exchange market event receivers.