Skip to main content

fin_stream/
lib.rs

1// SPDX-License-Identifier: MIT
2//! # fin-stream
3//!
4//! Real-time market data streaming primitives.
5//! Pure ingestion layer: WebSocket management, tick normalization across
6//! exchanges, order book delta streaming, OHLCV aggregation, feed health
7//! monitoring. Designed for 100K+ ticks/second throughput.
8
9#[path = "book/mod.rs"]
10pub mod book;
11pub mod error;
12#[path = "health/mod.rs"]
13pub mod health;
14#[path = "ohlcv/mod.rs"]
15pub mod ohlcv;
16#[path = "session/mod.rs"]
17pub mod session;
18#[path = "tick/mod.rs"]
19pub mod tick;
20#[path = "ws/mod.rs"]
21pub mod ws;
22
23pub use book::{BookDelta, BookSide, OrderBook, PriceLevel};
24pub use error::StreamError;
25pub use health::{FeedHealth, HealthMonitor, HealthStatus};
26pub use ohlcv::{OhlcvAggregator, OhlcvBar, Timeframe};
27pub use session::{MarketSession, SessionAwareness, TradingStatus};
28pub use tick::{Exchange, NormalizedTick, RawTick, TickNormalizer};
29pub use ws::{ConnectionConfig, ReconnectPolicy, WsManager};