digdigdig3_station/
lib.rs1pub mod backfill;
10pub use backfill::fetch_history;
11pub mod ws_health;
12pub use ws_health::WsHealth;
13pub mod builder;
14pub mod settings;
15pub mod cache;
16pub mod data;
17pub(crate) mod derived;
18pub mod error;
19pub mod persistence;
20pub mod quota;
21pub mod series;
22pub mod station;
23pub mod subscription;
24
25pub mod orderbook;
27pub mod rest_cache;
28
29#[cfg(feature = "reconnect")]
30pub mod reconnect;
31
32#[cfg(target_arch = "wasm32")]
34pub(crate) mod opfs_helpers;
35
36pub mod storage;
41
42pub mod cure;
44
45pub mod replay;
48
49pub(crate) mod polling;
52
53pub mod gap_heal;
54
55pub use builder::StationBuilder;
56pub use cache::{ticker_cache, CacheConfig, TickerKey};
57pub use error::{Result, StationError};
58pub use persistence::PersistenceConfig;
59pub use series::{DataPoint, Kind, Series, SeriesKey, SharedSeries, SharedSeriesMap};
60pub use quota::{ConsumerHandle, ConsumerQuota, ConsumerWhitelist, QuotaError};
61pub use station::Station;
62pub use subscription::{
63 Event, FailedStream, Stream, SubscribeReport, SubscriptionHandle, SubscriptionSet,
64 WarmupReport,
65};
66
67pub use series::DiskStore;
69
70pub use series::PollSpec;
73pub use polling::PollSource;
74pub use gap_heal::GapHealConfig;
75
76pub use storage::{StorageConfig, StorageManager, StreamKey};
78
79#[cfg(not(target_arch = "wasm32"))]
81pub use storage::{EventLog, EventLogIter, EventRecord};
82
83pub use replay::{ReplayHub, ReplayConfig, ReplayRate};
84
85pub use orderbook::{OrderBookTracker, OrderBookError};
86pub use rest_cache::RestCache;
87
88pub use settings::{SettingsError, SettingsStore};
90
91pub use cure::{
92 IntegrityChecker, IntegrityReport,
93 Deduper,
94 GapDetector, GapInfo,
95 RepairPipeline, RepairReport,
96};
97
98pub use digdigdig3::core::types::{AccountType, ExchangeId};
101pub use digdigdig3::SymbolInfo;
102pub use digdigdig3::core::traits::Credentials;
105pub use data::{BalanceUpdatePoint, OrderUpdatePoint, PositionUpdatePoint};