Expand description
Simulation module trait for extending backtesting with custom venue behaviors.
Re-exports§
pub use cfd_swap::CfdSwapModule;pub use cfd_swap::CfdSwapRate;pub use fx_rollover::FXRolloverInterestModule;
Modules§
- cfd_
swap - CFD overnight swap simulation module.
- fx_
rollover - FX rollover interest simulation module.
Structs§
- Exchange
Context - Read-only view of exchange state passed to simulation modules during processing.
- Simulation
Module Handle - Shared runtime handle for a simulation module.
Enums§
- Account
Adjustment Error - Failure applying an account adjustment produced by a simulation module.
- Account
Adjustment Outcome - Outcome of applying an account adjustment produced by a simulation module.
- Simulation
Module Any - Simulation
Module Result - Result of processing a simulation module.
Traits§
- Simulation
Module - Trait for custom simulation modules that extend backtesting functionality.