MysticQuant42's picture
Upload README.md with huggingface_hub
d1f6384 verified
|
Raw History Blame Contribute Delete
4.02 kB
---
pretty_name: Prediction Markets Hourly Price
language:
- en
license: other
task_categories:
- time-series-forecasting
- tabular-regression
tags:
- finance
- prediction-markets
- polymarket
- event-probabilities
- ohlcv
- backtesting
- time-series
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: symbol
dtype: string
- name: datetime
dtype: timestamp[us, tz=UTC]
- name: asset_id
dtype: string
- name: condition_id
dtype: string
- name: outcome_index
dtype: int64
- name: open
dtype: float64
- name: high
dtype: float64
- name: low
dtype: float64
- name: close
dtype: float64
- name: volume
dtype: float64
- name: notional
dtype: float64
- name: vwap
dtype: float64
- name: n_trades
dtype: int64
- name: last_trade_at
dtype: timestamp[us, tz=UTC]
- name: settled
dtype: bool
---
# Prediction Markets Hourly Price
Hourly bars of every outcome token of every Polymarket market since November 2022, built from the fills recorded on chain. A price is a probability: 0.62 on the "Yes" token of a market is a 62 % chance the market gives the crowd. One row per token and hour in which it traded or settled.
## How the Bars Are Built
- From fills only: `open`/`close` are the first and last fills of the period (ties within a second broken by block and log order), `high`/`low` their extremes. No bar for a period without a fill: a quiet market's last price stays the last bar's `close`, and `last_trade_at` says how old it is.
- `volume` counts outcome tokens, `notional` USDC (price x size), each fill once.
- **Settlement.** When a market resolves, each of its tokens gets a last print at the resolution time (`resolved_at` in `PredictionMarkets-Daily-Markets`) at its payout, 1, 0 or a split. It closes the bar that contains it (`settled` true) and adds no volume.
- **Point in time.** A bar uses no fill after its period; a fill stamped before its market's creation date is dropped. The 5- and 15-minute "Up or Down" crypto markets are left out, as in `PredictionMarkets-Daily-Markets`.
## Columns
| Column Name | Description |
| :--- | :--- |
| **symbol** | `<market_slug>:<outcome>`, e.g. `will-donald-trump-win-the-2024-us-presidential-election:Yes` (closed at 0.581 on 2024-11-05). A market's symbols are listed in `PredictionMarkets-Daily-Markets`. |
| **datetime** | Start of the UTC hour. The bar is known at the end of the hour. |
| **asset_id** | Outcome token id. |
| **condition_id**, **outcome_index** | Market, and the token's position among its outcomes. |
| **open**, **high**, **low**, **close** | Fill prices, 0 to 1. |
| **volume** | Outcome tokens traded. |
| **notional** | USDC traded. |
| **vwap** | `notional / volume`; null on a settlement-only bar. |
| **n_trades** | Fills in the period. |
| **last_trade_at** | Time of the last fill in the period. |
| **settled** | The market resolved in this period; `close` is the payout. |
## 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 and settlements to 2026-10-26, market snapshots of 2026-08-08 and 2026-10-28).
- **Time Seventeen, "Polymarket v2"**, https://huggingface.co/datasets/TimeSeventeen/Polymarket-v2, raw `OrderFilled` layer, licensed CC BY 4.0 (fills from 2026-10-27).
- Market metadata from Polymarket's public market API. Questions, rules and outcome labels are text published by Polymarket; the licences above cover the compilations, not that text.
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.