pub mod adapters;
pub mod artifact;
#[cfg(feature = "calendar")]
pub mod calendar;
pub mod checkpoint;
pub mod clustering;
pub mod engine;
pub mod evaluation;
pub mod event;
pub mod execution;
pub mod graph;
pub mod indicator;
pub mod intrabar;
pub mod lifecycle;
pub mod model;
pub mod parity;
pub mod regime;
pub mod regime_advanced;
pub mod risk;
pub mod runner;
pub mod scenario;
pub mod scoring;
pub mod series;
pub mod session;
pub mod signal;
pub mod stats;
pub mod structure;
pub mod timeframe;
pub mod viz;
pub use adapters::{
DataFeedAdapter, InMemoryDataFeed, LoggingNotificationSink, NotificationEvent,
NotificationSeverity, NotificationSink, WebhookNotificationSink,
};
pub use artifact::{
Artifact, PivotArtifact, ProfileArtifact, ProfileBin, ScenarioArtifact, ZoneArtifact,
};
#[cfg(feature = "calendar")]
pub use calendar::{ExchangeCalendar, SessionSegment};
pub use checkpoint::{Checkpoint, CheckpointStore};
pub use clustering::{kmeans_1d, KMeansResult, RobustBand, RollingRobustThreshold};
pub use event::{AlertDeduplicator, AlertEvent, EventPhase};
pub use execution::{
submit_bracket, ExecutionCosts, Fill, FillSimulator, FillSimulatorConfig, Order, OrderKind,
OrderSide, OrderStatus, Position,
};
pub use graph::{ComposedNode, CompositionGraph, GraphError, GraphIndicator, Leaf};
pub use indicator::registry::{
build, build_checked, build_typed, catalog, ParamValue, RegistryError, TypedParams,
};
pub use indicator::{Indicator, IndicatorAlert, IndicatorOutput};
pub use intrabar::{IntrabarGroup, IntrabarGrouper};
pub use lifecycle::{BarLifecycle, LifecycleRunner};
pub use model::{
Bar, BarQuality, BarValidationError, InstrumentMeta, InstrumentMetaError, MarketRegime,
QualifiedBar, Resolution, RiskPlan, Source, SupportResistanceZone, ZoneKind,
};
pub use parity::{
ParityFixture, ParityFixtureError, ParityFixtureRow, ParityOutcome, ParityReport,
};
pub use regime::classify_regime;
pub use regime_advanced::{
AdaptiveCycleOutput, AdaptiveCycleTracker, HysteresisBand, HysteresisLevel,
PredictabilityTracker, RegimeMarkovModel, RegimePersistenceOutput, RegimePersistenceTracker,
};
pub use risk::{
position_size, AccountRisk, PositionSizeResult, ScaleInStep, ScaleOutStep, ScalePlan,
StopDecision, StopManager,
};
pub use runner::{run_batch, run_batch_checked, TimestampedOutput};
pub use scenario::{ScenarioStateMachine, ScenarioStatus, StageConfig};
pub use scoring::{
aggregate_subscores, aggregate_subscores_with_instrument, score_indicator, WeightPreset,
};
pub use series::{CumulativeSum, Series, SeriesEvents};
pub use session::{SessionConfig, SessionConfigError, SessionTracker};
pub use signal::{CompositeSignal, PermissionGrade, SignalDirection, SubScore};
pub use stats::{correlation, linear_regression};
pub use structure::{find_sr_zones, ManagedZone, ZoneRegistry, ZoneState};
pub use timeframe::{BarResampler, ConfirmedResampler, Timeframe, TimeframeError};