Skip to main content

Module fees

Module fees 

Source
Expand description

Account-owned fee schedules decoupled from instrument definitions.

Fee policy belongs to the execution runtime serving an account, not to the instrument. Two accounts can trade the same instrument with different fees without constructing different instrument definitions.

Structs§

MakerTakerFeeRates
Explicit maker/taker fee rates as a fraction of notional value.
MakerTakerFeeSchedule
Account-owned maker/taker fee schedule with exact instrument overrides.

Functions§

calculate_maker_taker_commission
Calculates maker/taker commission from an explicitly resolved fee rate.