The Formula
The price of a share for a specific outcome is determined by the current supply of that outcome’s shares.Price Impact
- Buying
- Selling
When you buy shares, the supply increases, and the price rises.Example: If current supply is 100 shares:
- Current price: $0.001 + (100 \times 0.00001) = $0.002 per share$
- After buying 50 shares, new supply is 150
- New price: $0.001 + (150 \times 0.00001) = $0.0025 per share$
Market Cap
The Market Cap of an outcome is the total value of all shares, calculated as: This represents the total USDC that would be required to buy all existing shares at the current curve.Calculating Prices in Code
The SDK provides a helper method:Manual Calculation
Manual Calculation
Slippage
Large trades can experience slippage because the price changes as shares are bought or sold.- Buying: You pay more per share on average than the starting price
- Selling: You receive less per share on average than the starting price
The larger your trade relative to the existing supply, the more slippage you will experience. Consider breaking large orders into smaller chunks.
Price vs. Probability
In prediction markets, the price of an outcome can be interpreted as the market’s implied probability of that outcome occurring.- If “Yes” shares cost $0.65, the market implies a 65% probability of “Yes”
- If “No” shares cost $0.35, the market implies a 35% probability of “No”
Next Steps
Trading
Execute trades using the SDK.
Disputes
Learn about challenging resolutions.