Skip to main content

Polymarket Data Fetcher

Polymarket Data Fetcher is a Python package that allows you to easily fetch historical odds data from Polymarket for specific market outcomes.

Installation

You can install the Polymarket Data Fetcher using pip:

Usage

Here's a basic example of how to use the Polymarket Data Fetcher:

from polymarket_data_fetcher import PolymarketDataFetcher

# Initialize the fetcher
pm = PolymarketDataFetcher()

# Define the parameters
slug = "will-donald-trump-win-the-2024-us-presidential-election"
start_date = "2024-01-01"  # yyyy-mm-dd format
fidelity = "1440"  # daily data

# Fetch historical odds for a market
odds = pm.get_historical_odds(slug, start_date, fidelity)

# Display the results
print(odds)

Release files for polymarket 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for polymarket 0.1.2
File Size Uploaded
polymarket-0.1.2.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for polymarket 0.1.2
File Interpreter ABI Platform
polymarket-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / polymarket-0.1.2.tar.gz

Download URL polymarket-0.1.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ff8256b8e63113bc0b609ee4daeb478b28f6fbed6af6791188ad61721a798e78
BLAKE2b-256 checksum
How to use checksums
fb59affb994b0b2d6104dfce48424981da28b1b02eba5574725caea1a08399ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / polymarket-0.1.2-py3-none-any.whl

Download URL polymarket-0.1.2-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36a8422590ff82477bc632198600efabc38d58c35d3e415169a67d607f9cc4e0
BLAKE2b-256 checksum
How to use checksums
920f84eec58764ccc63d9c5d8cecbab23af493c2632f7f42c0e51f8d1f0e085a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page