A resolved prediction market leaves three kinds of data: the question with its resolution rules, the history of prices and orders, and the outcome. A model can learn from them only when all three line up in time. Most errors in prediction market data come from that alignment rather than from the model itself: the wrong price, a label decided by an ambiguous rule, or a price recorded after the answer was already public.

What one market records

Platforms organise markets in layers. Kalshi's documentation describes a series as "a collection of related events", an event as "a collection of markets", and a market as "a single binary market" (Kalshi). An election is an event; each candidate is a separate market with its own Yes and No. Polymarket uses the same idea: an event groups markets, and each market has two outcome tokens, Yes and No, whose prices move together.

Whatever the platform, one binary market produces five groups of fields:

  • The question and its rules. What counts as Yes, which source decides, by what deadline
  • Timestamps. When the market was created, opened, closed and settled
  • Prices. Best bid, best offer and last transaction, often with the full order book
  • Activity. Volume and open interest, the number of contracts still outstanding
  • The outcome. Yes, No, or cancelled

Units differ. Kalshi reports volume in contracts and prices in cents from 1 to 99. Polymarket reports volume in US dollars and prices from 0 to 1. Before any comparison, both have to be brought to the same scale.

Where the data comes from

Each platform publishes its own interfaces, and they are built for people placing orders today rather than for history.

  • Kalshi publishes a REST interface and a WebSocket stream, both described in open specifications (Kalshi API). Market data covers series, events, markets, transactions and order books
  • Polymarket splits its public data across three services (Polymarket API). The Gamma API describes events and markets. The CLOB API serves order books and prices. The Data API serves transactions, positions and open interest. Reading market data needs no account
  • On chain. Polymarket matches orders on its own servers and settles them on the Polygon blockchain, so every completed transaction is also a public blockchain record

A live interface answers the question "what is the market now". History is a different problem. The order book a model would have seen a month before an event exists only if someone recorded it at the time. That is why the useful historical datasets are collections that someone ran for months, and why their gaps and selection rules matter as much as their size.

Which price is the probability

A market has no single price. At any moment there is a best bid, the highest price someone will pay for Yes, and a best offer, the lowest price someone will sell it for. Between them sits the midpoint. The last transaction may have happened a second ago or a day ago.

Polymarket shows the midpoint as the market's probability. When the gap between bid and offer is wider than $0.10, it shows the last transaction instead (Polymarket). In its own example, a bid of 0.34 and an offer of 0.40 give a midpoint of 0.37, displayed as 37%.

For analysis this leads to three rules:

  1. Use the midpoint, and keep the spread next to it. A spread of 0.01 and a spread of 0.15 around the same midpoint carry very different amounts of information
  2. Treat the last transaction with care. In a quiet market it can be hours old and no longer reflect the order book
  3. Sample at fixed times. A history of "last prices" mixes moments; a history of midpoints at fixed intervals can be compared across markets

The outcome is a label set by a rule

For a model, the outcome is the label it learns from. That label is not the event itself but the result of applying the market's written rules to the event. If the rules are vague, the label is vague.

Platforms settle markets in different ways:

  • Kalshi settles each market against its written rules. The API returns them as separate fields, rules_primary and rules_secondary
  • Polymarket uses the UMA optimistic oracle. Anyone can propose an outcome by posting a bond, and others have two hours to challenge it. A first challenge leads to a second proposal; a second challenge sends the question to a vote of UMA token holders (Polymarket; UMA)
  • Manifold, a play-money platform, lets the creator of a market resolve it, including as N/A, which cancels it

Disputes happen. In March 2025 a Polymarket market on whether Ukraine would agree to a minerals deal with the United States resolved Yes through the UMA vote, although no deal had been signed. Polymarket said the market had resolved too early but kept the result, citing the voting process (The Block).

For a dataset this means:

  • keep the full text of the rules with every market;
  • record how each market was resolved: normally, after a dispute, or cancelled;
  • never drop cancelled markets silently, because they are usually the hard cases.

Time: where most mistakes happen

Every resolved market has at least four clocks:

  1. The event. The moment the thing actually happened: the final whistle, the official release, the vote count
  2. The close. When the market stopped accepting orders
  3. The settlement. When the outcome was confirmed
  4. The collection. When a dataset recorded each price

They rarely coincide. A match ends, and its market closes hours later at 0.99. Every price between the event and the close already knows the answer. A model trained on those prices learns to read the scoreboard, not to forecast.

One market over timeA price path for one market. Prices sampled 30 days, 7 days and 1 day before the event are fair inputs for a model. After the event the price jumps toward 1 and stays there until the market closes and settles: those prices already contain the outcome.One market over timealready knows the outcome01eventclosesettled30d7d1dprice sampled before the event
One market over time. Prices sampled at fixed distances before the event are fair inputs; prices recorded after the event already contain the outcome. Illustration: Horus Analytics

The effect on measured accuracy is large. Kalshi's study of 2.2 million resolved markets notes that apparent calibration problems in sports and elections changed when prices were measured from the moment the underlying event happened rather than from the administrative close (Kagan and Baiocchi, 2026).

Practical rules:

  • store the event time wherever it can be known, separately from the close time;
  • where it cannot, cut the price history at the first public report of the outcome;
  • keep every timestamp in UTC;
  • expect gaps. Datasets built from periodic snapshots warn that a market may be missing from some collection runs (Polymarket historical data).

Many outcomes, one event

A question with several possible answers, such as an election with five candidates, is a set of binary markets. Their prices should add up to one, and they almost never do exactly. The best offers usually add up to more than one and the best bids to less, because each market has its own spread.

To read the event as a single probability distribution, the midpoints are scaled so that they add up to one. The raw prices stay in the data as well, since the gap from one is itself a measure of how tight the markets are.

Related markets also give a free consistency check. A ladder of thresholds, such as "above 2%", "above 3%" and "above 4%", must have falling prices. A ladder of dates, such as "by June" and "by July", must have rising prices. When the order breaks, at least one of the prices is stale.

Which markets are in the sample

A dataset of resolved markets is never a random sample of questions about the world.

  • Platforms choose questions that can be settled cleanly. Vague, long and hard questions are underrepresented from the start
  • Collectors choose active markets. One open Polymarket dataset states that its coverage prioritises markets with higher recent volume (Polymarket historical data)
  • Short repeating series dominate counts. Of 634,554 Polymarket markets resolved between February and August 2026 in one open dataset, 525,273 were crypto markets, many lasting minutes, and 11 were political (Polymarket resolved markets). On Kalshi, 17.5 million markets belong to 4.7 million events (Kalshi transactions and markets)
  • Cancelled markets drop out unless they are kept on purpose

So any statistic should say what it counts. "Accuracy across all markets" on such data is mostly accuracy on five-minute crypto questions. Grouping by event and by category, and weighting each event once, gives a picture closer to the questions people care about.

One record for several platforms

The same question on two platforms is rarely the same question. Wording, deadlines and settlement sources differ, and so do prices. Clinton and Huang found that contracts on the same outcome of the 2024 US presidential election were priced differently on different platforms, and that their daily movements were barely related (2025). Matching markets across platforms therefore starts with reading the rules, not with matching titles.

A minimal shared record keeps:

  • identity: platform, event, market, question, rules text, outcome names;
  • time: created, opened, closed, event time where known, settled;
  • price observations: time, best bid, best offer, midpoint, last transaction, volume;
  • result: outcome and how it was reached: normal, disputed or cancelled.

Raw data and derived values belong in separate places, so that any midpoint or probability can be recomputed from what the platform actually published.

Open datasets, November 2026

Several public datasets cover resolved markets. We checked each of them on 10 November 2026:

  • Kalshi transactions and markets (Hugging Face). 154.5 million transactions and 17.5 million markets, June 2021 to January 2026, with outcomes. CC BY 4.0, about 5.7 GB
  • Polymarket resolved markets (Hugging Face). 634,554 markets resolved from 28 February to 10 August 2026, with outcomes but no price history. CC BY 4.0, 84 MB
  • Polymarket historical data (Hugging Face). Best bid, best offer and order books about every five minutes since 23 July 2026, without outcomes. CC BY 4.0
  • Prediction market analysis by Jonathan Becker (GitHub). Polymarket and Kalshi markets and transaction histories, about 36 GB compressed. MIT licence
  • Manifold offers a public API to its play-money markets, with full histories and resolutions

Each licence has its own terms: CC BY requires credit to the author of the dataset.

How Horus Analytics works with market data

Horus Analytics collects prices, volumes and news for every event into a single stream. Models derive the probability of each outcome from that data and from the history of similar events. When an event closes, the system checks its estimate against the outcome and rebuilds its models. Each of these steps depends on the alignment described above: the right price, a clean label and the right moment in time.

Sources


Horus Analytics is a technology company building automated tools for efficient trading on prediction markets.