simulator-api 0.22.1

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 two reports built over both — the
//! venue-flow one ([`Report`]) and the benchmark ([`RangeReport`]). Adapters map their own source
//! onto `LegRecord`; nothing here does I/O.

pub mod benchmark;
mod flow;
mod prices;
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};