Expand description
Adverse slippage on the simulated venue’s taker fills.
SlippageConfig says how far a fill is moved against the order that takes liquidity. The
venue holds it with the random stream it draws from, and applies it to the price its
FillModel gives, so slippage composes with every pricing model
alike.
§Backtest-only
Only simulated execution slips a fill. Live execution clients receive real fill prices from the venue.
Structs§
- Slippage
Config - How far the simulated venue moves a taker fill against the order, as a fraction of the price the fill would otherwise get.
Enums§
- Slippage
Config Error - Why a
SlippageConfigwas refused.
Constants§
- RATE_
DECIMAL_ PLACES - How many decimal places a
SlippageConfig::uniformdraw is rounded to.