Skip to main contentModule fee
Source - PerContractFeeModel
- Flat commission charged per contract filled.
- PercentageFeeModel
- Percentage-of-notional fee model for spot, futures and CFD exchanges.
- ZeroFeeModel
- Zero-fee model. Useful for backtests where fees are excluded.
- FeeModelConfig
- Enum-dispatched fee model for use in types that require
Clone, PartialEq,
Serialize, and Deserialize (e.g. InstrumentState). - Liquidity
- Which side of the trade a fill was on: the one that supplied liquidity, or the one that took it.
- SpotFeeAsset
- Which asset the simulated venue charges a spot fill’s fee in.
- FeeModel
- Computes the trading fee for a single fill.