Expand description
Simple Latency Models - Clean and accurate latency simulation
Provides simple but realistic latency models for backtesting without excessive complexity. All latencies are in nanoseconds for precision.
Modules§
- presets
- Common latency presets for different network conditions
Structs§
- Asset
Latency - Asset-specific latency model that can vary by symbol
- Bimodal
Latency - Bimodal latency model - Models fast path and slow path
- Fixed
Latency - Fixed latency model - Always returns the same value
- Gaussian
Latency - Gaussian (normal distribution) latency model
- Uniform
Latency - Uniform random latency model
Traits§
- Latency
Model - Trait for latency models