Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 640 Bytes

File metadata and controls

24 lines (17 loc) · 640 Bytes

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