RoundingMethod
Used to specify the rounding method to be used for values, fees and taxes.
Metadata
- Underlying type:
u8
Values
| Key | Value | Description |
|---|---|---|
| HalfUp | 0 | Mathematical half-up rounding to the number of decimals specified for the value, fee or tax. |
| Up | 1 | Strict rounding up to the number of decimals specified for the value, fee or tax. |
| Truncate | 2 | Strict rounding down to the number of decimals specified for the value, fee or tax. |
Referenced by
Tables
| Table | Field | Description |
|---|---|---|
| InstrumentMarket | ValueRounding | |
| InstrumentMarket | FeeRounding |