Order Book Trading
After graduation, markets transition from the bonding curve to a Central Limit Order Book (CLOB) for secondary trading.
Order Book vs AMM
BaseCase uses an order book post-graduation rather than an automated market maker:
Liquidity source
User limit orders
Protocol-seeded pool
Capital required
None
Significant
Price discovery
Supply/demand matching
Formula-based
Spread control
Competitive makers
Tick configuration
Limit orders
Native
Indirect
Gas efficiency
Moderate
High
Order Book Structure
Dual Books
Each market maintains two order books:
Price Constraint
Binary outcome markets enforce:
An order to buy YES at $0.65 is equivalent to selling NO at $0.35.
Order Types
Limit Orders
Place an order at a specific price. Executes when a matching order arrives.
Market Orders
Execute immediately against best available prices.
Order Matching
Matching Engine
Orders match according to price-time priority:
Execution Example
Book State:
Incoming Order: Market buy 400 YES
Execution:
Fee Structure
Limit order (maker)
0%
N/A
Market order (taker)
0.1%
50% Protocol / 50% Creator
Order cancellation
0%
N/A
Maker orders (adding liquidity) are free to incentivize tight spreads. Taker fees are split equally between the protocol and the market creator.
Comparison: Bonding Curve vs Order Book
Phase
Pre-graduation
Post-graduation
Pricing
CPMM formula
Supply/demand
Fee
2%
0-0.1%
Slippage
Formula-determined
Depth-dependent
Limit orders
Not available
Native
Token type
Shadow shares
Real ERC-20
Implementation Architecture
On-Chain Components
Off-Chain Components
For gas efficiency, matching occurs off-chain:
This hybrid approach reduces gas costs while maintaining settlement security.
Integration with Resolution
Pre-Resolution Trading
Resolution Event
Redemption
Advantages of Order Book Design
1. No Liquidity Requirements
Protocol does not need to seed liquidity. Users provide liquidity through limit orders.
2. Better Price Efficiency
Near resolution, prices can approach 0% or 100% with tight spreads, unlike AMM asymptotic limits.
3. Native Limit Orders
Users can set exact entry/exit prices without workarounds.
4. Competitive Spreads
Market makers compete to offer best prices, reducing trading costs.
5. Transparency
Full order book visibility shows market depth and sentiment.
Last updated
