Skip to main content
A complete workflow showing how a quantitative trading desk would take a prediction market strategy from idea to production using Horizon. This covers every step: market discovery, probability modeling, backtesting, calibration validation, risk configuration, multi-exchange deployment, execution algorithms, position protection, and production monitoring.

The Setup

You run a small quantitative fund trading prediction markets. Your thesis: BTC-related prediction markets are systematically mispriced because retail participants overweight recent price action. You want to:
  1. Find liquid BTC prediction markets on Polymarket and Kalshi
  2. Build a Black-Scholes binary model for fair value
  3. Backtest the strategy on historical data
  4. Validate calibration before going live
  5. Deploy across both exchanges with bracket orders and TWAP execution
  6. Monitor everything with Prometheus metrics, Telegram alerts, and calibration tracking

Step 1: Market Discovery

Scan both exchanges for active BTC markets with sufficient volume.

Step 2: Build the Model

The pricing model uses Black-Scholes for binary options with a toxicity-adjusted spread. This is the same code that will run in backtesting and production.

Step 3: Backtest

Run the model on historical data. Validate Sharpe, drawdown, and Brier score before committing capital.

Go/No-Go Checklist

Before deploying live, verify: If any metric fails, go back to step 2 and adjust the model.

Step 4: Calibration Validation

Track your model’s probability accuracy over time. This runs alongside the backtest results.

Step 5: Configure Risk

Set up risk parameters based on backtest results and fund constraints.

Step 6: Deploy Live (Multi-Exchange)

Deploy across Polymarket and Kalshi simultaneously with netting, bracket orders, and Prometheus monitoring.

Step 7: Large Order Execution

When your model identifies a strong signal and you want to build a large position quickly without moving the market, use TWAP or Iceberg:

Step 8: Post-Trade Analysis

After the market resolves, record the outcome and evaluate your model’s performance.

Infrastructure

Environment Variables

Grafana Dashboard

With the MetricsServer running on port 9090, add it to Prometheus and build panels:
Suggested panels:

Running

Summary

This workflow covers every stage a trading desk needs: