Ask us anything. We're here to help.

What asset rounding precisions are utilized?

Zero Hash allows users to submit transactions with any trade price, however when we actually calculate settlement obligations, we round to certain precision levels that are determined by the asset.

For example, you might submit a BTC/USD trade with quantity of 10 BTC and a price of $10,000.0008 per BTC. An initial calculation would find that the total USD obligation as 10 BTC x $10,000.0008 = $100,000.008. However, as USD payments are restricted to cents, we round to $100,000.01. 

The table of assets and precisions is as follows:

Asset Decimal Precision
BCH 8
BTC 8
CAD 2
DAI 18
ETH 18
EUR 2
GBP 2
JPY 2
LTC 8
PAX 18
TUSD 18
USD 2
USDC 6
USDT 6
XLM 7
ZAR 2