Skip to content

Instantly share code, notes, and snippets.

// Simulation parameters
const ACCOUNTS_TARGET: usize = 20_000;
const INSTRUMENTS_TARGET: usize = 15;
// number of events to stdout before the final line
const TICKS_GENERATED_COUNT: u64 = 1_000_000 - 1;
// Trading constraints
const TRADE_MAX_SZ: u64 = 1_000;
const TRADE_MAX_PX: u64 = 1_000_000;
const TRADE_MIN_PX: u64 = 100;