RoundingMethod

Used to specify the rounding method to be used for values, fees and taxes.

Metadata

  • Underlying type: u8

Values

KeyValueDescription
HalfUp0Mathematical half-up rounding to the number of decimals specified for the value, fee or tax.
Up1Strict rounding up to the number of decimals specified for the value, fee or tax.
Truncate2Strict rounding down to the number of decimals specified for the value, fee or tax.

Referenced by

Tables

TableFieldDescription
InstrumentMarketValueRounding
InstrumentMarketFeeRounding