Prediction markets vs sportsbooks
BetFlux serves Kalshi and Polymarket alongside the sportsbooks, as three datasets of their own:
| Sportsbook dataset | Prediction-market dataset |
|---|---|
| sportsbook-lines | prediction-market-lines |
| sportsbook-closing-lines | prediction-market-closing-lines |
| sportsbook-market-results | prediction-market-results |
Each pair shares its grain, its classification columns (market_type,
period, side, the line (spread / total, or their opening and closing
forms), the player id lists, is_mainline,
market_key) and its filters, so one query shape works on both. They differ
in what a price means.
Leagues and start dates for Kalshi and Polymarket are on the Coverage page.
A price is a contract, not odds
Section titled “A price is a contract, not odds”An exchange lists binary contracts that pay $1 if they win. A price is what a contract costs, in dollars, which reads directly as a probability. BetFlux also writes it as American and decimal odds so it sits next to a book’s.
| Sportsbook | Exchange | |
|---|---|---|
| Who sets the price | The book, with its margin built in | Traders, through an order book |
| The price you pay | The posted odds | The ask, plus the exchange’s taker fee |
| BetFlux’s price column | implied_probability / odds, the posted price |
implied_probability / odds, the all-in cost: ask + taker fee |
| Fair value | De-vigged, by six methods (*_fair_*) |
mid_fair_* and microprice_fair_*; there is no vig to remove |
| Two sides of a market | Implied probabilities sum to more than 1 (the vig) | YES and NO mids sum to exactly 1; the all-in prices sum to more by the spread and fees |
| How a market settles | Settled from the box score | The exchange’s own reported payout, which can be partial |
So compare like with like:
- Where is it cheaper to bet? Compare the exchange’s all-in
implied_probabilitywith the book’s postedimplied_probability: both are what you pay. - Who thinks what? Compare the exchange’s mid or microprice with the book’s de-vigged fair probability: both are a margin-free estimate.
Lining the two up
Section titled “Lining the two up”Neither venue shares the other’s market ids, so every market row on both sides carries two keys built from what the bet pays on:
outcome_key: equal keys pay on exactly the same game result. Join a book row to an exchange row on it. It sees through wording: a book’s “25+ points” and an exchange’s “Over 24.5” share one, and a book’s 3-way first-quarter “home” shares one with Kalshi’s “home wins Q1” contract bought Yes, while that contract’s No shares one with the book’s “away or tie”. A two-way moneyline that refunds a tie keys apart from a three-way pick.settlement_key: the same result and the same settlement terms (what happens on an inactive player, an abandoned game, a tie). Equal keys are the identical contract. It is null when a term is unknown. Player props rarely match across venues on it, because the terms differ: a book voids an inactive player, Kalshi settles at a fair price, Polymarket settles No.
terms_status says how sure the terms are (verified, inferred,
unknown). Some markets have no keys at all: which-one markets (first
scorer, most of, race to) and metric moneylines and spreads. For those, and for rows built before the keys existed, join on the
classification columns of the same game: market_type, period, side,
spread or total, and the player ids for props.
is_mainline on an exchange marks every full-game moneyline and the spread
and total strike whose mid is nearest 0.50, the closest an exchange has to a
book’s main line.
Settlement differences
Section titled “Settlement differences”A book settles a market from the game and refunds a push or a void. An
exchange settles its own contract by its own rules: a Kalshi contract can
settle at a fair price, and a Polymarket market can fall back to a 50-50
split. BetFlux reports what the exchange paid, so those rows are PARTIAL
with the payout in stake_won_fraction, and an exchange never refunds.