Skip to main content
Pro Feature — This requires a Pro or Ultra subscription. Get started at horizon.mathematicalcompany.com
When a prediction market event has multiple outcomes (e.g., 4 candidates), their prices should sum to $1.00. Deviations create arbitrage opportunities.

Full Code

How It Works

  1. Event groups related outcomes that must sum to $1.00
  2. event_arb_scanner() sums the best ask across all outcomes
  3. If total_ask < 1.00, buying all outcomes locks in a risk-free profit of 1.00 - total_ask
  4. Sizing is proportional: cheaper outcomes get more contracts to balance dollar exposure

Live Pipeline

Run the scanner continuously inside hz.run():

Run It

Composite Scanner

Combine parity, cross-exchange, and multi-outcome scanning for maximum coverage:
See Multi-Outcome Arbitrage for the full method reference.