MysticQuant42's picture
Upload README.md with huggingface_hub
b9e1a38 verified
|
Raw History Blame Contribute Delete
5.9 kB
metadata
pretty_name: Prediction Markets Daily Trades
language:
  - en
license: other
task_categories:
  - time-series-forecasting
  - tabular-regression
tags:
  - finance
  - prediction-markets
  - polymarket
  - event-probabilities
  - trades
  - market-microstructure
  - order-flow
  - backtesting
extra_gated_prompt: >-
  This dataset is free to browse and gated for download. Approval is tied to a
  Papers With Backtest subscription, which also covers the other datasets of the
  organisation: https://paperswithbacktest.com/pricing
dataset_info:
  features:
    - name: datetime
      dtype: timestamp[us, tz=UTC]
    - name: seq
      dtype: int64
    - name: symbol
      dtype: string
    - name: asset_id
      dtype: string
    - name: condition_id
      dtype: string
    - name: outcome_index
      dtype: int64
    - name: price
      dtype: float64
    - name: size
      dtype: float64
    - name: notional
      dtype: float64
    - name: taker_side
      dtype: string
    - name: maker_side
      dtype: string
    - name: maker_wallet
      dtype: string
    - name: taker_wallet
      dtype: string
    - name: maker_first_seen
      dtype: string
    - name: taker_first_seen
      dtype: string

Prediction Markets Daily Trades

Every trade on every outcome token of every Polymarket market since November 2022, as recorded on chain: when, which token, at what price, how much, who took liquidity and who provided it, and since when each of the two wallets had been trading. One row per fill, one file per month (data/train-YYYY-MM.parquet). The same fills as PredictionMarkets-Hourly-Price and PredictionMarkets-Daily-Price: a token's daily volume and n_trades are the sum and count of its rows here.

What a Row Is

Polymarket matches orders off chain and settles them on Polygon. When an incoming (taker) order meets resting (maker) orders, the exchange records one fill per maker order consumed. One row is one such fill: a maker order, the taker order that hit it, the token, the price and the size of the fill. A taker order that sweeps three maker orders gives three rows, same second, same taker_wallet.

  • price is in USDC per outcome token, between 0 and 1: a probability. size counts outcome tokens, notional = price x size in USDC.
  • taker_side is the taker's side on asset_id, maker_side the opposite. Polymarket can match a buyer of "Yes" with a buyer of "No" by minting a pair; on chain, and here, the taker who bought "No" at 0.60 appears as having sold "Yes" at 0.40, which is the same position.
  • seq orders the fills of one UTC day as the chain did (block, then log order). Many fills share a second; sort by datetime, then seq.

Wallets

maker_wallet and taker_wallet are the Polygon addresses of the two wallets of the fill, in lower case (0x + 40 hex digits), as recorded on chain. They are public on the blockchain and in the source archive below. A wallet has the same address on every row, every day and in both roles, so its trades, positions and P&L can be followed through time and joined with any other on-chain data.

maker_first_seen and taker_first_seen are the UTC date of the wallet's first fill on Polymarket in the on-chain record since 2022-11-21, counting every market (the excluded short crypto markets too). A date never changes once known and is never after the row's own date, so datetime - first_seen is a wallet age that uses no future information. Wallets active before 2022-11-21 show their first fill after that date.

Not Included

  • The 5- and 15-minute "Up or Down" crypto markets, as in PredictionMarkets-Daily-Markets. Hourly and daily "Up or Down" markets are kept.
  • Fills on tokens of no listed market, and fills stamped before their market's creation date.
  • Transaction hashes, block numbers and log indexes.
  • Settlements: the payout of a resolved market is the settled bar of PredictionMarkets-Daily-Price and the resolution row of PredictionMarkets-Daily-Markets.

Columns

Column Name Description
datetime Block time of the fill, UTC, to the second.
seq Order of the fill within its UTC day (0, 1, 2, ...). With datetime, the key.
symbol <market_slug>:<outcome>, as in PredictionMarkets-Daily-Price.
asset_id Outcome token id.
condition_id, outcome_index Market (see PredictionMarkets-Daily-Markets), and the token's position among its outcomes.
price USDC per outcome token, 0 to 1.
size Outcome tokens filled.
notional price x size, USDC.
taker_side buy or sell: the taker's side on asset_id.
maker_side The opposite of taker_side.
maker_wallet Address of the maker's wallet (the resting order), lower case.
taker_wallet Address of the taker's wallet (the incoming order), lower case.
maker_first_seen UTC date (YYYY-MM-DD) of the maker wallet's first fill.
taker_first_seen UTC date (YYYY-MM-DD) of the taker wallet's first fill.

Sources and Attribution

Built from on-chain records of Polymarket's exchange on Polygon:

  • Polyflux Research, "Polymarket on-chain trades, 2022-2026", https://huggingface.co/datasets/ieshuaganocry/polymarket-onchain-trades, DOI 10.57967/hf/11293, licensed CC BY 4.0 (fills to 2026-10-26). Changes: one row per maker-order fill, transaction and block references removed, markets filtered as above.
  • Time Seventeen, "Polymarket v2", https://huggingface.co/datasets/TimeSeventeen/Polymarket-v2, raw OrderFilled layer, licensed CC BY 4.0 (fills from 2026-10-27). Same changes; the exchange's aggregate taker-order records are dropped so that each fill is counted once.
  • Market metadata (symbols, creation dates) from Polymarket's public market API.

The two on-chain sources were compared log by log on every day both hold (2026-04-29 to 2026-10-26) before this dataset was built from them.