simulator-api 0.24.0

Wire-protocol types for the Solana simulator backtest WebSocket API
Documentation
//! The source-agnostic reroute-report core: one row in ([`LegRecord`]), the pricing derived
//! from a stream of them ([`Samples`] / [`Prices`]), and the three reports built over both — the
//! venue-flow one ([`Report`]), the benchmark ([`RangeReport`]), and the per-template direct-fill
//! probe breakdown ([`probes::ProbeReport`]). Adapters map their own source onto `LegRecord`;
//! nothing here does I/O.

pub mod benchmark;
mod flow;
mod fmt;
mod prices;
pub mod probes;
mod record;
mod render;
#[cfg(test)]
mod testing;

// Types and constants are flat; the verbs stay behind `benchmark::`, where `collect` and
// `measure` cannot be mistaken for iterator vocabulary.
pub use benchmark::{
    LoadStats, Measurement, OUTLIER_BPS, RangeReport, SideTotals, VENUE_DUST_USD, VenueTotals,
};
pub use flow::{Direction, Flow, Pair, Report, ReportBuilder, RerouteReportError, Target};
pub use prices::{Prices, Samples};
pub use record::{LegRecord, SwapMode};