Implied probability
Market prices represent implied probability. A YES token trading at 45¢ implies roughly a 45% chance the outcome occurs. YES + NO prices should sum to approximately $1.00 (plus the overround fee).The AMM venue
Most markets today trade through an automated market maker (AMM). Which is a pool of YES and NO tokens that sets prices based on supply and demand.
When you place a prediction:
- USDC is minted into YES + NO tokens (fees skimmed).
- You swap away the side you do not want.
- The AMM price updates for the next trader.
LS-LMSR in depth
ezpz.fi prices AMM trades with LS-LMSR (liquidity-sensitive Logarithmic Market Scoring Rule) (Othman, Sandholm, Pennock, Reeves, EC 2010). It is a cost-function market maker: the pool tracks how many outcome tokens it has sold and charges USDC equal to the change in a convex cost function . Compared to a static LMSR (fixed liquidity parameter ), LS-LMSR lets depth grow with open interest. More tokens outstanding → larger effective liquidity → smaller price impact per dollar traded. The trade-off is that vig (house edge) is embedded in the pricing rule rather than added as a separate fee on top.State
Each pool tracks binary quantities (in micro-token units): These are the net YES and NO tokens sold by the pool since inception, including the maker’s seed quantities. There is no reserve-ratio formula like .Liquidity parameter
Liquidity scales with total outstanding quantity : where is fixed at pool creation. When is larger, the pool is deeper (more vig, less slippage). At uniform prices the total overround is approximately: So a target vig of cents implies: (e.g. for a ~5¢ overround at even odds).Cost function
The pool’s cost function is the LS-LMSR log-sum-exp form: Numerically stable equivalent (used on-chain): let , , and . Then: Only the difference is exponentiated, which keeps fixed-point math safe at large .Trade pricing algorithm
Trades are not priced at a displayed marginal quote. The economic rule is always the cost-function difference. Buy tokens of side (e.g. YES): Sell tokens of side : On-chain, USDC amounts are rounded in the pool’s favor (buys rounded up, sells rounded down). Because is convex, per token rises as you trade more in one direction — that is AMM slippage.Marginal prices (display only)
The marginal price of side is the partial derivative: For binary LS-LMSR, the gradient includes an extra term because depends on . In scale-free coordinates and : where . Properties: The excess is embedded vig, it accrues to pool NAV, not a separate skim. At heavy skew the favorite’s raw marginal price can exceed $1; charts clamp display to but trades still use .Implied fair probability
When a maker seeds at “60¢ YES”, that means the vig-free softmax probability, not the vig-inclusive marginal: This is what “60% odds” means in the authoring UI. Raw marginals sit at or above ,the spread is the rule’s built-in margin.Seeding at chosen odds
At pool creation the maker supplies seed USDC and declared probability (in basis points). The program derives initial so that:- (within one price tick), and
- Worst-case loss is bounded by the seed.
Liquidity
Makers seed initial liquidity when publishing a market. The pool holds balanced YES/NO reserves. LP providers earn swap fees from every trade regardless of who wins the market.Price display
On market and event pages you see:- Current price - best available AMM price for each side
- Trade preview - stake, fees, shares received, and potential payout before you confirm
- Charts - price history where available (sports and crypto events)