1pub mod adapters;
11pub mod artifact;
13#[cfg(feature = "calendar")]
15pub mod calendar;
16pub mod checkpoint;
18pub mod clustering;
20pub mod engine;
22pub mod evaluation;
24pub mod event;
26pub mod execution;
28pub mod graph;
31pub mod indicator;
33pub mod intrabar;
35pub mod lifecycle;
37pub mod model;
39pub mod parity;
42pub mod regime;
44pub mod regime_advanced;
47pub mod risk;
50pub mod runner;
52pub mod scenario;
55pub mod scoring;
57pub mod series;
59pub mod session;
61pub mod signal;
63pub mod stats;
65pub mod structure;
67pub mod timeframe;
69pub mod viz;
71
72pub use adapters::{
73 DataFeedAdapter, InMemoryDataFeed, LoggingNotificationSink, NotificationEvent,
74 NotificationSeverity, NotificationSink, WebhookNotificationSink,
75};
76pub use artifact::{
77 Artifact, PivotArtifact, ProfileArtifact, ProfileBin, ScenarioArtifact, ZoneArtifact,
78};
79#[cfg(feature = "calendar")]
80pub use calendar::{ExchangeCalendar, SessionSegment};
81pub use checkpoint::{Checkpoint, CheckpointStore};
82pub use clustering::{kmeans_1d, KMeansResult, RobustBand, RollingRobustThreshold};
83pub use event::{AlertDeduplicator, AlertEvent, EventPhase};
84pub use execution::{
85 submit_bracket, ExecutionCosts, Fill, FillSimulator, FillSimulatorConfig, Order, OrderKind,
86 OrderSide, OrderStatus, Position,
87};
88pub use graph::{ComposedNode, CompositionGraph, GraphError, GraphIndicator, Leaf};
89pub use indicator::registry::{
90 build, build_checked, build_typed, catalog, ParamValue, RegistryError, TypedParams,
91};
92pub use indicator::{Indicator, IndicatorAlert, IndicatorOutput};
93pub use intrabar::{IntrabarGroup, IntrabarGrouper};
94pub use lifecycle::{BarLifecycle, LifecycleRunner};
95pub use model::{
96 Bar, BarQuality, BarValidationError, InstrumentMeta, InstrumentMetaError, MarketRegime,
97 QualifiedBar, Resolution, RiskPlan, Source, SupportResistanceZone, ZoneKind,
98};
99pub use parity::{
100 ParityFixture, ParityFixtureError, ParityFixtureRow, ParityOutcome, ParityReport,
101};
102pub use regime::classify_regime;
103pub use regime_advanced::{
104 AdaptiveCycleOutput, AdaptiveCycleTracker, HysteresisBand, HysteresisLevel,
105 PredictabilityTracker, RegimeMarkovModel, RegimePersistenceOutput, RegimePersistenceTracker,
106};
107pub use risk::{
108 position_size, AccountRisk, PositionSizeResult, ScaleInStep, ScaleOutStep, ScalePlan,
109 StopDecision, StopManager,
110};
111pub use runner::{run_batch, run_batch_checked, TimestampedOutput};
112pub use scenario::{ScenarioStateMachine, ScenarioStatus, StageConfig};
113pub use scoring::{
114 aggregate_subscores, aggregate_subscores_with_instrument, score_indicator, WeightPreset,
115};
116pub use series::{CumulativeSum, Series, SeriesEvents};
117pub use session::{SessionConfig, SessionConfigError, SessionTracker};
118pub use signal::{CompositeSignal, PermissionGrade, SignalDirection, SubScore};
119pub use stats::{correlation, linear_regression};
120pub use structure::{find_sr_zones, ManagedZone, ZoneRegistry, ZoneState};
121pub use timeframe::{BarResampler, ConfirmedResampler, Timeframe, TimeframeError};