Skip to main content

Price & Precision Model

Units

ParameterValueMeaning
BASE_LOT_SIZE101 base lot = 10 YES/NO atoms
USDC_LOT_SIZE1001 quote lot = 100 USDC atoms
TICK_SIZE1000Quote precision (quote atoms / base unit / tick)
MAX_PRICE_IN_TICKS1000Max 1.000 USDC per token
Price range1 ~ 1000 ticks0.001 ~ 1.000 USDC / token
COMPLEMENT_PRICE_TICKS1000Yes/No complement base
YES/NO precision2 decimalsmint decimals = 2

An intuitive conversion: a UI price of "65.0 (cents)" = 650 ticks = 0.650 USDC.

Complement-Price Conversion

Cross matching relies on one identity:

buy YES @ p ≈ sell NO @ (1000 − p) ticks
sell YES @ p ≈ buy NO @ (1000 − p) ticks

Because one YES + one NO always equals 1 USDC (1000 ticks), any YES-side quote mirrors into a NO-side quote. The protocol exploits this inside the matching engine to fill complementary orders — see Matching Engine.