Fee

Fees are reserved on orders and paid on trades. This table stores fee configurations & multiple Fee records are grouped in the FeeSet table. More details on fees

Metadata

  • Base Table Class: Static
  • Default Size: FeeSet * 10 = 1000

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this Fee.
StatusSet of Status4
FeeSetForeign key to FeeSet8This is a reference to the FeeSet table. It is keyed by the FeeSet column in this table to the Id column in the FeeSet table.
FeeBasisOne of FeeBasis1
FeeTypeOne of FeeType1
FeeCurrencyTypeOne of FeeCurrencyType1
FeeBuyInteger (signed)8
FeeSellInteger (signed)8
MinFeePerOrderBuyInteger (signed)8
MinFeePerOrderSellInteger (signed)8
FeeMakerInteger (signed)8
FeeTakerInteger (signed)8
MinFeePerOrderMakerInteger (signed)8
MinFeePerOrderTakerInteger (signed)8
MaxFeePerTradeBuyInteger (signed)8
MaxFeePerTradeSellInteger (signed)8
MaxFeePerTradeMakerInteger (signed)8
MaxFeePerTradeTakerInteger (signed)8
MarketForeign key to Market8
InstrumentGroupForeign key to InstrumentGroup8
InstrumentForeign key to Instrument8
InstrumentMarketForeign key to InstrumentMarket8
SettlementInstrumentGroupForeign key to InstrumentGroup8
SettlementInstrumentForeign key to Instrument8
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
OwnerUserForeign key to User8The Id of the User that owns this Fee.
OwnerGroupForeign key to Group8The Id of the Group that owns this Fee.
OwnerFirmForeign key to Firm8The Id of the Firm that owns this Fee.
CreateUserForeign key to User8The Id of the User that created this Fee.
CreateTimestampInteger (unsigned)8The time at which this Fee was created.
UpdateUserForeign key to User8The Id of the User that last updated this Fee.
UpdateTimestampInteger (unsigned)8The time at which this Fee was last updated.