Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PolyOrderbooks Python examples

Runnable scripts for the PolyOrderbooks API using the official Python SDK.

Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
export POLYORDERBOOKS_API_KEY="pob_..."

Get an API key at polyorderbooks.com/signup.

Examples

Script Description
historical_orderbooks.py Fetch historical L2 books for one market and print best bid/ask
python historical_orderbooks.py

Need the concepts behind realistic fill assumptions? Read the historical Polymarket order book data for backtesting guide.

Guides

For broader context on historical data sources and practical retrieval patterns:

About

Examples demonstrating how to use the PolyOrderBooks Python SDK.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages