Structs§
- BidAsk
Fill Model - Fills at the current best ask (buys) or best bid (sells), crossing the spread as a taker does.
- Fill
Context - Everything a
FillModelmay price from. - Last
Price Fill Model - Fills at the last traded price, falling back to the price a taker would have to cross to.
- Midpoint
Fill Model - Fills at the midpoint of best bid and best ask, falling back to
last_price.
Enums§
- Market
Order Timing - When a simulated venue fills a market order, as
MockExecutionConfig::market_order_timingselects. Defaults toOnArrival. - Next
BarPrice - Which price of the next bar fills a market order held for it. See
MarketOrderTiming::NextBar. - SimFill
Config - Selects one of the built-in fill models from a serialisable configuration, as
MockExecutionConfig::fill_modeldoes. Defaults toLastPriceFillModel. - Stale
Market Policy - What a simulated venue does with an order when the instrument’s market is stale, as
MockExecutionConfig::stale_marketselects. Defaults toOff.
Traits§
- Fill
Model - Prices a fill the venue has already decided will happen.