Skip to main content

Module simulator

Module simulator 

Source
Expand description

Market simulator for testing trading strategies.

This module provides a simulated exchange that can be used for:

  • Unit testing the balancer logic
  • Backtesting trading strategies
  • Integration testing without real API calls

Structs§

MarketState
Simulated market state for a single instrument.
PriceGenerator
Price generator for simulating market movements.
Scenario
A test scenario definition.
ScenarioBuilder
Builder for creating scenarios.
ScenarioResult
Result of running a scenario.
SimulatedExchange
A simulated exchange for testing.

Enums§

PriceModel
Price model for simulation.