digdigdig3_station/
lib.rs1pub mod backfill;
10pub use backfill::{fetch_history, SeedOutcome, SeedSource, TruncationReason};
11pub mod bar_align;
12pub use bar_align::{bar_align_points, load_bar_aligned, load_for_key, BarAlignedSeries, FillPolicy, ScalarBar};
13pub mod normalize;
14pub use normalize::{active_only, canonical_status, is_active, SymbolStatus};
15pub mod ws_health;
16pub use ws_health::WsHealth;
17pub mod builder;
18pub mod settings;
19pub mod cache;
20pub mod data;
21pub(crate) mod derived;
22pub mod error;
23pub mod persistence;
24pub mod quota;
25pub mod series;
26pub mod station;
27pub mod subscription;
28
29pub mod orderbook;
31pub mod rest_cache;
32
33#[cfg(feature = "reconnect")]
34pub mod reconnect;
35
36#[cfg(target_arch = "wasm32")]
38pub(crate) mod opfs_helpers;
39
40pub mod storage;
45
46pub mod cure;
48
49pub mod replay;
52
53pub(crate) mod polling;
56
57pub mod gap_heal;
58
59pub use builder::StationBuilder;
60pub use cache::{ticker_cache, CacheConfig, TickerKey};
61pub use error::{Result, StationError};
62pub use persistence::{PersistDepth, PersistenceConfig};
63pub use series::{DataPoint, Kind, Series, SeriesKey, SharedSeries, SharedSeriesMap, TpoSource};
64pub use quota::{ConsumerHandle, ConsumerQuota, ConsumerWhitelist, QuotaError};
65pub use station::{RewarmOutcome, RewarmedPoints, Station};
66pub use subscription::{
67 Event, FailedStream, Stream, SubscribeReport, SubscriptionHandle, SubscriptionSet,
68 WarmupReport,
69};
70
71pub use series::DiskStore;
73
74pub use series::PollSpec;
77pub use polling::PollSource;
78pub use gap_heal::GapHealConfig;
79
80pub use storage::{StorageConfig, StorageManager, StreamKey};
82
83#[cfg(not(target_arch = "wasm32"))]
85pub use storage::{EventLog, EventLogIter, EventRecord};
86
87pub use replay::{ReplayHub, ReplayConfig, ReplayRate};
88
89pub use orderbook::{OrderBookTracker, OrderBookError};
90pub use rest_cache::RestCache;
91
92pub use settings::{SettingsError, SettingsStore};
94
95pub use cure::{
96 IntegrityChecker, IntegrityReport,
97 Deduper,
98 GapDetector, GapInfo,
99 RepairPipeline, RepairReport,
100};
101
102pub use digdigdig3::core::types::{AccountType, ExchangeId};
105pub use digdigdig3::SymbolInfo;
106pub use digdigdig3::core::traits::Credentials;
109pub use data::{BalanceUpdatePoint, OrderUpdatePoint, PositionUpdatePoint};