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