sharpebench-sim 0.0.11

SharpeBench point-in-time market simulator + reference agents (Phase 1).
Documentation
//! sb-sim — point-in-time market simulator + reference agents (Phase 1).
//!
//! The engine feeds an [`Agent`] a [`sharpebench_protocol::MarketObservation`] that only
//! ever contains data at or before the decision date (look-ahead is structurally
//! impossible — [`Dataset`] never hands out a future bar), applies the resulting
//! orders with transaction costs and seeded execution slippage, and emits an
//! [`sharpebench_core::Run`] (per-period returns + decision trace) ready for scoring.
#![forbid(unsafe_code)]

pub mod agent;
pub mod costs;
pub mod data;
pub mod engine;
pub mod env;
pub mod external;
pub mod trajectory;
pub mod windows;

pub use agent::{Agent, BuyAndHold, HoldAgent, Momentum, RandomAgent, TeamAgent};
pub use costs::{CostModel, CostProfile};
pub use data::Dataset;
pub use engine::{run_backtest, Window};
pub use env::{EnvState, Scenario, StepInfo, StepResult, TradingEnv};
pub use external::{ExternalAgent, HttpAgent};
pub use trajectory::{replay_run, replay_submission, run_backtest_capture};
pub use windows::{tag_regime, walk_forward, Regime};