---
url: "https://polytoolhub.com/tools/prediction-market-analysis/"
publisher: "Polytoolhub"
dateModified: "2026-10-05"
---

[← Historical data](<https://polytoolhub.com/polymarket-historical-data/>) 

SDK

# prediction-market-analysis

Download market and trade datasets, resume collection and run extensible Python analyses that export figures and structured results.

[**3.5**/ 5Editorial rating](<https://polytoolhub.com/tools/prediction-market-analysis/#reviews>) [0 user reviews](<https://polytoolhub.com/tools/prediction-market-analysis/#reviews>) 

[View repository](<https://github.com/jon-becker/prediction-market-analysis>) github.com

**Available on:** Python, Parquet, CLI

**Pricing:** MIT-licensed code and a public downloadable dataset

[Screenshots](<https://polytoolhub.com/tools/prediction-market-analysis/#screenshots>) [Explore alternatives](<https://polytoolhub.com/tools/prediction-market-analysis/#alternatives>) 

[Historical data](<https://polytoolhub.com/polymarket-historical-data/>) [Starter projects & resources](<https://polytoolhub.com/polymarket-builder-resources/>) +1 more

[On-chain data](<https://polytoolhub.com/polymarket-onchain-data-tools/>) 

## Screenshots and interface

Product preview1 / 2

Dataset, indexer and analysis framework overview.

## What is prediction-market-analysis?

Prediction Market Analysis combines pre-collected Polymarket and Kalshi data with indexers and a framework for research scripts. Its Parquet organization is suited to repeatable empirical work: collect metadata and trades, apply an analysis and save the output as charts or tables.

### Who it is for

-   Researchers studying market behavior and trader outcomes
-   Analysts who want a downloadable trade dataset
-   Python developers extending existing collection and analysis scripts

## Features and coverage

**Available on:** Python, Parquet, CLI

**Markets & venues:** Polymarket, Kalshi

-   **Pre-collected data**
    
    Start from the downloadable market and trade archive.
    
-   **Two-venue organization**
    
    Keep Polymarket and Kalshi datasets in separate directories.
    
-   **Collection indexers**
    
    Gather market metadata and trade history from supported APIs and blockchain sources.
    
-   **Resumable progress**
    
    Interrupt and resume collection through saved state.
    
-   **Parquet storage**
    
    Query columnar market, trade and block files.
    
-   **Extensible analyses**
    
    Add scripts within the analysis framework.
    
-   **Multiple outputs**
    
    Generate PNG, PDF, CSV and JSON results.
    

## Workflows with prediction-market-analysis

### Reproduce a research figure

Download the dataset, inspect the schema and run the corresponding analysis. Save the input version and filters with the output.

### Extend an empirical question

Add a custom analysis using the shared interfaces and output structured intermediate tables alongside the figure.

### Refresh a dataset

Select the relevant indexer and resume from saved progress, then record the new coverage boundary.

## Pricing and total cost

MIT-licensed code and a public downloadable dataset. Local storage, compute and any collection-provider access are your operating costs.

## Getting started

1.  Use Python 3.9 or newer and install with uv.
2.  Allocate disk space for the compressed archive and extracted data.
3.  Read the market and trade schemas.
4.  Download the pre-collected dataset or run a selected indexer.
5.  Run a bounded analysis before expanding the workload.
6.  Keep derived outputs separate from source data.

## Useful links

### What to check

-   The documented compressed archive is 36 GiB; extraction needs additional disk space.
-   A trade-history dataset does not provide a full historical resting order book.
-   The packaging command removes the data directory after creating the archive.
-   Dataset cutoffs and coverage differ from a live service.
-   Research results depend on how transfers, open positions and resolved trades are treated.

A closer look

## Ratings & reviews

[Write a review](<https://polytoolhub.com/tools/prediction-market-analysis/#write-review>) 

Editorial rating

**3.5**/ 5

0 user reviews

Polytoolhub editorial

### Our take on prediction-market-analysis

Public data and resumable collectors support reproducible analysis. Large storage needs, dataset cutoffs and a destructive packaging command make careful local setup necessary.

Based on documented features, setup and access terms. [How we rate](<https://polytoolhub.com/methodology/>) 

### User reviews 0

The main score switches to user ratings after 5 published reviews.

**Be the first to share your experience**

A specific example helps the next person choose the right tool.

Write a review

### How was your experience with prediction-market-analysis?

Share what you used, what worked and what could be better. We confirm your email and review the submission before publishing.

To submit a review, email [info@polytoolhub.com](<mailto:info@polytoolhub.com>)  with the tool name, your rating and your experience. Enable JavaScript to prepare a draft here.

## Related tools

[Browse category](<https://polytoolhub.com/polymarket-historical-data/>) 

![Pendulum Flow Orderbook Archive: Public archive introduction and capture-era explanation.](<https://polytoolhub.com/assets/cover-pendulum-flow-orderbook-archive-562e9f1691c52d3e-400.webp>)

![Pendulum Flow Orderbook Archive logo](<https://polytoolhub.com/assets/logo-tool-pendulum-flow-orderbook-archive-61fbcfe4f2b1.webp>)[Pendulum Flow Orderbook Archive](<https://polytoolhub.com/tools/pendulum-flow-orderbook-archive/>) 

Dataset**4.0**Editorial

Download free Polymarket order-book captures with hourly Parquet files, schema notes, checksums and coverage audits.

-   Access Parquet, DuckDB, Python

Historical L2 capture files.

![Polymarket Data API: Official public analytics guide.](<https://polytoolhub.com/assets/cover-polymarket-data-api-0b8f0013242bf90e-400.webp>)

![Polymarket Data API logo](<https://polytoolhub.com/assets/logo-tool-polymarket-data-api-765ba4cc040b.webp>)[Polymarket Data API](<https://polytoolhub.com/tools/polymarket-data-api/>) 

Data API**4.0**Editorial

Build wallet dashboards and market analytics from public positions, activity, trades, holders, open interest and rankings.

-   Data coverage Positions · Account activity
-   Access API

Official current wallet and public analytics.

![prediction-market-backtesting: Framework overview and release capabilities.](<https://polytoolhub.com/assets/cover-prediction-market-backtesting-4131f8f71a6b41a1-400.webp>)

[prediction-market-backtesting](<https://polytoolhub.com/tools/prediction-market-backtesting/>) 

SDK**3.5**Editorial

Build Polymarket strategy replays on NautilusTrader with historical vendor data, joint portfolios, parameter experiments and detailed charts.

-   Language Python · Rust

A strategy-replay framework.

## Frequently asked questions about prediction-market-analysis

### Can I start without collecting everything myself?

Yes. A pre-collected archive is provided.

### Can collection resume after interruption?

The indexers save progress.

### Where do charts and tables go?

Analyses write their outputs under the output directory.

### Does the archive support exact L2 replay?

Its core contents are market and trade data; use a dedicated book archive for resting-depth reconstruction.

In this profile
