Skip to main content

Module fee

Module fee 

Source

Structs§

PerContractFeeModel
Flat commission charged per contract filled.
PercentageFeeModel
Percentage-of-notional fee model for spot and futures exchanges.
ZeroFeeModel
Zero-fee model. Useful for backtests where fees are excluded.

Enums§

FeeModelConfig
Enum-dispatched fee model for use in types that require Clone, PartialEq, Serialize, and Deserialize (e.g. InstrumentState).

Traits§

FeeModel
Computes the trading fee for a single fill.