rusty_bin/monitor/collector/
mod.rs

1//! Data collection module for real-time market data.
2//!
3//! This module handles the collection of trade and orderbook data from multiple exchanges
4//! using the rusty-feeder providers. It is structured into several sub-modules
5//! to separate concerns like error handling, data types, and specific exchange integrations.
6
7// Sub-module declarations
8pub mod error;
9pub mod exchange_client;
10pub mod manager;
11pub mod pipeline;
12pub mod traits;
13pub mod types;
14pub mod utils;
15
16// Publicly re-export key types for convenient access from other modules.
17pub use error::{CollectionError, Result};
18pub use exchange_client::{ExchangeClient, ExchangeProvider, convert_orderbook, convert_trade};
19pub use manager::CollectionManager;
20pub use pipeline::{DataPipeline, PipelineConfig, PipelineStats};
21pub use traits::DataCollector;
22pub use types::{CollectionStats, CollectionStatus, CollectionTask, DataType, MarketDataEvent};