Most people think prediction markets are simply places where people bet on future events.
Institutions see something very different.
For quantitative hedge funds, prediction markets are not just betting platforms. They are high-frequency laboratories for studying probability, risk, market behavior, liquidity, and human decision-making.
In this article, I’ll break down how professional investors use prediction market data to build trading strategies, identify systematic inefficiencies, and extract alpha that most retail traders completely overlook.
I’ll also show how you can access a massive public dataset containing more than 400 million prediction market trades from platforms like Polymarket and Kalshi, including tick-level trade data, market metadata, and resolution outcomes.
This is the same type of granular market data that institutional data providers often charge six figures per year for in traditional markets.
Now it is available publicly.
The Institutional Prediction Market Dataset
A publicly available dataset contains:
- 400M+ historical trades
- Polymarket and Kalshi markets
- Tick-level timestamps
- Trade prices
- Trade volumes
- Market outcomes
- Maker/taker information
- Resolution data
Each trade contains the information quantitative researchers need:
- When did the trade happen?
- At what price?
- How much volume traded?
- Who provided liquidity?
- Who consumed liquidity?
- What was the final outcome?
This allows researchers to study prediction markets the same way hedge funds analyze equities, futures, and options markets.
Setting Up the Dataset
Requirements
Before starting, you need:
- Python 3.9+
- 40GB+ free disk space
- Command line access
Step 1: Install uv
uv is a fast Python dependency manager.
Mac/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
Windows PowerShell:
irm https://astral.sh/uv/install.ps1 | iex
Step 2: Clone the Repository
git clone https://github.com/jordan-max-dev/polymarket-market-analysier.git
cd polymarket-market-analysier
Step 3: Install Dependencies
uv sync
This installs the required research environment, including:
- DuckDB
- Pandas
- Data analysis tools
- Visualization libraries
Step 4: Download the Dataset
make setup
This downloads and extracts the historical data.
After extraction, the structure looks like:
data/
├── polymarket/
│ ├── markets/
│ └── trades/
└── kalshi/
├── markets/
└── trades/
The trade files are stored as Parquet files.
Parquet is a column-based storage format designed for extremely large datasets. It allows researchers to query billions of rows efficiently without loading everything into memory.
How Hedge Funds Actually Use Prediction Market Data
The biggest misunderstanding about hedge funds is that they win because they predict better.
Usually, they do not.
Their advantage comes from:
- better risk management
- better execution
- identifying structural inefficiencies
- understanding market behavior
Prediction markets provide a unique environment where every prediction eventually resolves into a known outcome.
That makes them ideal for measuring whether prices were actually accurate.
Here are three ways institutions analyze this data.
Method 1: Empirical Kelly Criterion with Monte Carlo Risk Adjustment
The Kelly Criterion is one of the foundations of quantitative position sizing.
The classic formula:
[
f^*=\frac{pb-q}{b}
]
Where:
- (f^*) = optimal fraction of capital
- (p) = probability of winning
- (q) = probability of losing
- (b) = payout odds
The problem?
Traditional Kelly assumes you know your edge with certainty.
Reality is different.
If your model says:
"This contract has a 6% edge"
That does not mean the true edge is exactly 6%.
The real edge might be:
- 3%
- 6%
- 9%
Your estimate is uncertain.
Traditional Kelly ignores this uncertainty and often creates oversized positions.
Professional investors solve this by using empirical Kelly sizing.
Step 1: Find Historical Similar Trades
Researchers define a specific trading setup.
Example:
Buy YES contracts when price is below $0.15 and the internal probability model estimates the true probability above 25%.
They then search millions of historical trades to find every previous instance of this exact situation.
Not similar.
Exact.
Step 2: Build the Historical Return Distribution
For every historical example, they calculate:
- profit/loss
- holding period
- maximum drawdown
- final outcome
This creates a real-world return distribution.
Not a theoretical normal distribution.
Actual market behavior.
Step 3: Run Monte Carlo Simulations
Historical returns represent only one possible path.
Monte Carlo simulation creates thousands of alternative paths.
For example:
10,000 possible trading histories.
Each simulation answers:
- What if losses happen first?
- What if winners cluster together?
- What is the worst possible sequence?
Step 4: Measure Drawdown Risk
For every simulated path, calculate:
- maximum drawdown
- worst losing streak
- probability of ruin
Instead of asking:
"How profitable is this strategy?"
Institutions ask:
"How bad can this strategy get?"
Step 5: Adjust Position Size
The final position size becomes:
[
f_{empirical}=f_{kelly}(1-CV_{edge})
]
Where:
- (CV_{edge}) = uncertainty of the estimated advantage
The more uncertain the edge, the smaller the position.
This prevents overbetting.
Method 2: Calibration Surfaces Across Price and Time
The simplest calibration question is:
When a contract trades at 30 cents, does it actually resolve YES 30% of the time?
A perfectly efficient market would satisfy:
[
Probability = Market Price
]
But real markets are not perfect.
Institutions build calibration surfaces.
Instead of only studying price, they analyze:
- price
- time until resolution
They define:
[
C(p,t)
]
Where:
- (p) = contract price
- (t) = time remaining until resolution
This creates a probability map.
Finding Systematic Mispricing
The mispricing function is:
[
M(p,t)=C(p,t)-\frac{p}{100}
]
Where:
- positive values indicate overpriced contracts
- negative values indicate underpriced contracts
Trading rules:
Sell
When:
[
M(p,t)>threshold
]
The market is too optimistic.
Buy
When:
[
M(p,t)<-threshold
]
The market is too pessimistic.
Stay Neutral
When:
[
|M(p,t)|<threshold
]
The price is fairly valued.
The Longshot Bias
One of the most important discoveries in prediction markets is the longshot bias.
Low probability contracts are often overpriced.
For example:
A contract trading at $0.01 implies a 1% probability.
But historically, these contracts may win far less often.
Why?
Because humans like lottery tickets.
A small chance of a huge payoff feels more attractive than the mathematics justify.
Institutions exploit this behavioral bias.
Method 3: Maker vs Taker Flow Analysis
Every market has two participants:
Makers
Liquidity providers.
They place limit orders and wait.
Takers
Liquidity consumers.
They immediately buy or sell using existing orders.
The difference matters.
A taker pays the spread.
A maker earns the spread.
Why Makers Have an Advantage
Many traders believe their advantage comes from better prediction.
Often it comes from better execution.
A market maker earns from:
- spread capture
- impatient traders
- behavioral mistakes
- liquidity demand
The formula:
[
Expected\ Maker\ Profit =
Spread\ Capture + Taker\ Mispricing
]
Why Takers Lose
Takers often display predictable behavioral patterns:
1. Overconfidence
They believe they have information others do not.
Most of the time, they are reacting to public information.
2. Preference for Exciting Outcomes
Retail traders often prefer:
- unlikely events
- dramatic outcomes
- lottery-style bets
This creates overpriced contracts.
3. Paying for Certainty
Crossing the spread provides immediate execution.
But convenience has a cost.
Professional traders are willing to wait.
The Real Institutional Advantage
The biggest lesson from prediction market data is this:
Hedge funds do not need to predict the future better.
They need a better process.
The advantage comes from:
1. Risk Management
Sizing positions based on uncertainty instead of confidence.
2. Time-Dependent Strategies
Understanding how market efficiency changes as events approach resolution.
3. Structural Positioning
Being the liquidity provider instead of the liquidity consumer.
Final Thoughts
Prediction markets are not just places to make forecasts.
They are experimental environments where researchers can study:
- probability
- human psychology
- market microstructure
- risk
- execution
With hundreds of millions of historical trades and resolved outcomes, anyone can now perform the same type of analysis that institutional researchers use.
The retail trader asks:
"Can I predict the outcome?"
The institutional trader asks:
"How does the market price uncertainty, and where does it systematically make mistakes?"
That difference is where alpha comes from.

Top comments (0)