Expand description
Trade-level outcome captured during the replay loop.
BacktestResult aggregates these into
summary statistics. Closing more than one position per trade (e.g.
flipping from long to short) emits multiple TradeOutcomes — one
per closed quantity.
Structs§
- Trade
Outcome - A single realised trade — open → close — recorded by the engine.
Enums§
- Outcome
- Trade classification on net PnL — used by metric aggregation.