Papers
Topics
Authors
Recent
Search
2000 character limit reached

ParlayMarket: AMM for Joint Contracts

Updated 2 July 2026
  • ParlayMarket is an automated market making framework that supports parlay-style (joint-outcome) contracts with coherent probabilistic pricing and unified liquidity pools.
  • It employs a pairwise exponential-family model and an LMSR-style cost function to ensure convergence, control pricing error, and manage risk via stochastic gradient updates.
  • ParlayMarket demonstrates practical efficacy in prediction, sports, and derivatives markets by efficiently aggregating information and supporting scalable, multi-event contract structures.

ParlayMarket is an automated market making (AMM) framework designed to support parlay-style (joint-outcome) contracts with coherent probabilistic pricing, unified liquidity pools, and explicit convergence guarantees for joint distribution learning under trade-induced updates. It provides structural support for base (single-event) and joint (multi-event) contracts—especially relevant in prediction, sports, and derivatives markets—enabling information aggregation and risk management spanning exponentially many outcomes via a parametric model with polynomially-sized state (Rana et al., 23 Mar 2026).

1. Fundamentals of Parlay-Style Markets

Parlay contracts, central to ParlayMarket, provide payoffs based on the simultaneous occurrence of multiple binary or categorical events. Each kk-leg parlay contract SS has payoff

fS(x)=iSxif_S(x) = \prod_{i \in S} x_i

where xi{0,1}x_i \in \{0,1\} represents the realized outcome of base event ii, and SS is a nonempty subset of MM base events. Singleton SS yields base contracts; general S>1|S|>1 correspond to higher-order parlays.

Existing prediction and derivatives AMMs typically only support singleton contracts, enforcing independence or requiring ad hoc liquidity splitting, resulting in inconsistent pricing, fragmented liquidity, and poor identifiability of cross-event dependence (Rana et al., 23 Mar 2026). ParlayMarket addresses these deficiencies by enabling coherent pricing and unified liquidity across the full parlay contract lattice.

2. Market-Making and Pricing Mechanism

ParlayMarket exploits a pairwise exponential-family (Ising-type) model over joint event outcome space x{0,1}Mx \in \{0,1\}^M: SS0 with SS1, SS2 the log-partition, and contract prices given by

SS3

for every subset SS4.

The AMM cost function is an LMSR-style log-partition-based function: SS5 where SS6 encodes the net vector of outstanding contracts, SS7 is the market depth parameter, and the infinitesimal marginal price for contract SS8 is SS9.

Incoming trade requests fS(x)=iSxif_S(x) = \prod_{i \in S} x_i0 (reflecting trader beliefs) are processed by stochastic gradient steps on a composite cross-entropy loss

fS(x)=iSxif_S(x) = \prod_{i \in S} x_i1

with update

fS(x)=iSxif_S(x) = \prod_{i \in S} x_i2

where

fS(x)=iSxif_S(x) = \prod_{i \in S} x_i3

and

fS(x)=iSxif_S(x) = \prod_{i \in S} x_i4

with fS(x)=iSxif_S(x) = \prod_{i \in S} x_i5 the sufficient statistics vector fS(x)=iSxif_S(x) = \prod_{i \in S} x_i6 (Rana et al., 23 Mar 2026).

3. Theoretical Guarantees and Convergence

The system is designed so that repeated trading dynamics converge, under mild convexity and Lipschitz regularity, to a unique fixed point minimizing the divergence objective

fS(x)=iSxif_S(x) = \prod_{i \in S} x_i7

whose minimizer fS(x)=iSxif_S(x) = \prod_{i \in S} x_i8 matches all moment constraints fS(x)=iSxif_S(x) = \prod_{i \in S} x_i9, i.e., the I-projection of the true joint xi{0,1}x_i \in \{0,1\}0 onto the pairwise exponential family.

Discrete-time SGD dynamics converge geometrically fast: xi{0,1}x_i \in \{0,1\}1 where xi{0,1}x_i \in \{0,1\}2 is the model's strong convexity parameter, xi{0,1}x_i \in \{0,1\}3 the step size, and xi{0,1}x_i \in \{0,1\}4 the per-step noise, so limiting mean parameter error is xi{0,1}x_i \in \{0,1\}5 (Rana et al., 23 Mar 2026).

Pricing and monetary loss are tightly controlled:

  • Pricing error for any xi{0,1}x_i \in \{0,1\}6 is xi{0,1}x_i \in \{0,1\}7 for xi{0,1}x_i \in \{0,1\}8.
  • Instantaneous market-maker loss on trade xi{0,1}x_i \in \{0,1\}9 is ii0.
  • Aggregate per-round loss scales as ii1 (polynomial in number of base markets).

A crucial structural finding is that inclusion of higher-order parlays (ii2) supplies “curvature” to the loss's Hessian, boosting ii3 and accelerating convergence (especially for weakly correlated base events, where absence of parlays results in degenerate curvature and inefficient learning) (Rana et al., 23 Mar 2026).

4. Parlay Wagering Theory and Kelly Optimization

For independent base events under multiplicative parlay pricing, optimal Kelly betting strategies for singles, doubles, and higher-order parlays factorize as products of one-event Kelly optimizers. For a single event with state prices ii4 and outcome probabilities ii5, the implicit-cash Kelly solution is

ii6

where ii7 (Long, 27 Mar 2026).

For ii8 independent events, the joint (parlay) Kelly stake on ii9 is

SS0

yielding wealth

SS1

This factorization implies the “active-leg criterion”: only parlays whose every leg is active in the single-event Kelly solution receive positive stake.

Forbidding parlays and restricting to singles is a low-order truncation: growth-rate loss is SS2 for edge size SS3, and optimal singles-only stakes deviate from isolated Kelly stakes only at cubic order, explaining empirical near-proportionality (Whitrow asymptotics) (Long, 27 Mar 2026).

5. ParlayMarket as a Constant Function Market Maker

Within the CFMM (Constant Function Market Maker) framework, ParlayMarket can be realized with the “minimum token” parlay payoff

SS4

yielding a trading function

SS5

with SS6 as the invariant. The marginal price for any token is constant in the interior, and liquidity is uniform up to the hard boundary, beyond which slippage is infinite and trading halts (Angeris et al., 2021). This design allows a smart-contract implementation where arbitrary swaps are permitted so long as post-trade reserves satisfy the invariant.

6. Empirical Properties and Practical Implementation

Empirically, ParlayMarket achieves:

  • Geometric convergence in simulated settings (≈22 rounds per 10× error reduction for models with SS7 to SS8, with observed per-market loss decaying exponentially in SS9).
  • Flat aggregate AMM loss per round across MM0, consistent with quadratic scaling.
  • In historical market replays (e.g., NBA parlay data), standalone ParlayMarket AMMs recorded high net PnL, competitive Sharpe ratios, and superior risk-adjusted returns compared to independence-only baselines, which systematically misprice joint outcomes (Rana et al., 23 Mar 2026).

Key engineering requirements:

  • For state-price-based parlay wagering: solve single-event Kelly optimizations, assemble the full contract book via outer product, and restrict menu to active tickets according to the active-leg criterion.
  • AMM implementation with pairwise exponential family and log-partition cost scaling is computationally tractable (parameter space MM1, with no high-dimensional convex programming needed).

7. Limitations and Extensions

Current ParlayMarket implementations are limited by model misspecification for higher-order dependencies and the restriction to binary event representation (Rana et al., 23 Mar 2026). Extensions include:

  • Preprocessing layers to identify latent binary clauses in richer outcome spaces.
  • Expansion to higher-order exponential-family interactions as capital budgets increase.
  • Adaptive tuning of liquidity (MM2) and learning rates (MM3) to address temporal volatility.

These directions can potentially reduce identifiability error and capture more complex dependence in multi-event markets, subject to feasibility constraints imposed by transaction costs and capital efficiency.


References

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to ParlayMarket.