Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Politics1M Dataset
|
| 2 |
+
|
| 3 |
+
OHLC price data for political prediction markets, aggregated into 5-minute candles.
|
| 4 |
+
|
| 5 |
+
## Dataset Structure
|
| 6 |
+
|
| 7 |
+
- **Format**: Parquet
|
| 8 |
+
- **Time Resolution**: 5-minute intervals
|
| 9 |
+
- **Source**: Polymarket prediction markets
|
| 10 |
+
- **Scope**: Political markets with resolved outcomes
|
| 11 |
+
|
| 12 |
+
## Data Schema
|
| 13 |
+
|
| 14 |
+
- `condition_id`: Market condition identifier
|
| 15 |
+
- `market_id`: Market identifier
|
| 16 |
+
- `token_id`: Outcome token identifier
|
| 17 |
+
- `bucket_start_ts`: Unix timestamp (5-minute bucket start)
|
| 18 |
+
- `open`, `high`, `low`, `close`: Price values (0-1 range)
|
| 19 |
+
- `volume`: Total trading volume
|
| 20 |
+
- `trade_count`: Number of trades in bucket
|
| 21 |
+
- `question`: Market question text
|
| 22 |
+
- `theme`: Market category
|
| 23 |
+
- `target_resolution`: Ground truth outcome (0 or 1)
|
| 24 |
+
- `yes_won`: Binary label indicating if "Yes" outcome won
|
| 25 |
+
|
| 26 |
+
## Usage
|
| 27 |
+
|
| 28 |
+
```python
|
| 29 |
+
import pandas as pd
|
| 30 |
+
|
| 31 |
+
df = pd.read_parquet("v0.1.0/02_process/ohlc.parquet")
|
| 32 |
+
```
|
| 33 |
+
|