/projects / market-data-connectors

Market Data Connectors

A modular, zero-unsafe Rust workspace for connecting to cryptocurrency and FX venues, checking market-data integrity, and delivering trustworthy data to downstream applications.

What it is

Market data arrives as a stream of snapshots, updates, trades, and heartbeats. A consumer cannot safely use every message just because it passed through a WebSocket. Messages can arrive out of order, a sequence can contain a gap, or an order book can become stale after a connection problem.

This project provides the pieces around that stream: venue connectors, normalized market events, order-book state, integrity checks, and downstream sinks. It supports both direct event processing and a stateful projection that exposes whether an instrument is healthy or stale.

Main features

Why it exists

The difficult part of market data is not opening a connection. It is knowing when the data can no longer support a correct decision. A plain transport adapter usually leaves sequence gaps, stale quotes, and resynchronization rules to each application. That spreads the same failure logic across every consumer.

Market Data Connectors puts those rules into reusable components. Its main difference is that data integrity is treated as part of the event contract, not as an optional check added after the connector. Consumers can choose raw normalized events or use the shared stateful projection when they need healthy, current book data.

Explore the code

The repository contains the connectors, shared domain model, downstream sinks, test kit, provider examples, and engineering standards.

open on GitHub →