Skip to main content

Module fill

Module fill 

Source

Structs§

BidAskFillModel
Fills at the current best ask (buys) or best bid (sells), crossing the spread as a taker does.
FillContext
Everything a FillModel may price from.
LastPriceFillModel
Fills at the last traded price, falling back to the price a taker would have to cross to.
MidpointFillModel
Fills at the midpoint of best bid and best ask, falling back to last_price.

Enums§

SimFillConfig
Enum-dispatched fill model for use in types that require Clone, Serialize, and Deserialize (e.g. MockExchangeConfig).

Traits§

FillModel
Prices a fill the venue has already decided will happen.