Official Python client for the QuantPad market-data API
Project description
QuantPad Data Python SDK
pip install quantpad-data
export QUANTPAD_API_KEY=qp_live_...
import time
import quantpad_data as qpd
end = int(time.time() * 1000)
bars = qpd.get_bars("ES.FUT", "1m", end - 86_400_000, end)
for chunk in qpd.get_ticks(
"AAPL", "trades", end - 3_600_000, end, columns=["t", "price", "size"]
):
print(chunk.head())
matches = qpd.get_universe("apple", asset_class="equity")
coverage = qpd.get_coverage("AAPL")
QuantPadClient (also available as Client) accepts api_key=, base_url=,
and max_retries=. The default
client honors Retry-After and uses exponential backoff for transient failures.
QuantPad notebooks remain compatible through QUANTPAD_NOTEBOOK_DATA_TOKEN.
Bars preserve the notebook helper's OHLCV aliases and smart futures
back-adjustment default. Tick timestamps are epoch nanoseconds. Install
quantpad-data[rth] for XNYS regular-session helpers.
This SDK intentionally exposes only bars, ticks, universe, coverage, and symbology. It does not proxy FRED or SEC EDGAR.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantpad_data-0.1.0.tar.gz.
File metadata
- Download URL: quantpad_data-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cd9514491925f9f8d905771ce49db1c2606d6cf8df757ba039ee0149a26f65a
|
|
| MD5 |
ca6368c4b5ee5dee7d657a81fdc0dfe9
|
|
| BLAKE2b-256 |
d548f8528d78845a785e2dcfa7550f401ee54805d21e2a4e34360b6dc8d63da5
|
Provenance
The following attestation bundles were made for quantpad_data-0.1.0.tar.gz:
Publisher:
python-sdk-publish.yml on QuantPad/quantpad-data-service
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quantpad_data-0.1.0.tar.gz -
Subject digest:
6cd9514491925f9f8d905771ce49db1c2606d6cf8df757ba039ee0149a26f65a - Sigstore transparency entry: 2141677396
- Sigstore integration time:
-
Permalink:
QuantPad/quantpad-data-service@0a382a29f1a819691e71e12f5b659933d7aa9bf2 -
Branch / Tag:
refs/tags/python-sdk-v0.1.0 - Owner: https://github.com/QuantPad
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-sdk-publish.yml@0a382a29f1a819691e71e12f5b659933d7aa9bf2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file quantpad_data-0.1.0-py3-none-any.whl.
File metadata
- Download URL: quantpad_data-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c70ac97ec444c704b72c50299d248690db39490adf6fb07b087326e83f32755c
|
|
| MD5 |
f4ec1bcccc7e2bd40376014ebfef2f41
|
|
| BLAKE2b-256 |
cb0722cd986a101d58fca4122acd9805ec77ad08cf5b7f5697a85bf505304219
|
Provenance
The following attestation bundles were made for quantpad_data-0.1.0-py3-none-any.whl:
Publisher:
python-sdk-publish.yml on QuantPad/quantpad-data-service
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quantpad_data-0.1.0-py3-none-any.whl -
Subject digest:
c70ac97ec444c704b72c50299d248690db39490adf6fb07b087326e83f32755c - Sigstore transparency entry: 2141677443
- Sigstore integration time:
-
Permalink:
QuantPad/quantpad-data-service@0a382a29f1a819691e71e12f5b659933d7aa9bf2 -
Branch / Tag:
refs/tags/python-sdk-v0.1.0 - Owner: https://github.com/QuantPad
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-sdk-publish.yml@0a382a29f1a819691e71e12f5b659933d7aa9bf2 -
Trigger Event:
push
-
Statement type: