Skip to main content

Arithmax Chest

A standalone FastAPI service and Python client for querying centralized market data. Provider API keys stay on the server; research projects use only the client URL and token.

Server

python -m pip install -e '.[all]'
export DATA_API_TOKEN='private-client-token'
export BINANCE_API_KEY='server-only-if-required'
export POLYGON_API_KEY='server-only'
export DATABENTO_API_KEY='server-only'
uvicorn achest.server:app --host 0.0.0.0 --port 8000

Client

from achest import MarketDataClient

with MarketDataClient('https://data.example.com', token='private-client-token') as client:
    frame = client.get(['BTCUSDT', 'ES.FUT'], '2024-01-01', '2024-01-31')
    client.download(['BTCUSDT'], '2024-01-01', '2024-01-31', 'data/btc.parquet')

auto routes crypto to Binance, futures to Databento first, and equities to Yahoo. Supported response formats are JSON, CSV, and Parquet. Large downloads should be moved to a background job endpoint before production use.

PyPI publishing

python -m pip install build twine
python -m build
python -m twine upload dist/*

Metadata

Release files for arithmaxchest 0.1.0

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

Source distribution (sdist)

Source distribution for arithmaxchest 0.1.0
File Size Uploaded
arithmaxchest-0.1.0.tar.gz 6.6 kB Details

Built distribution (wheel)

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

Total release size: 14.0 kB

Release files / arithmaxchest-0.1.0.tar.gz

Download URL arithmaxchest-0.1.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
46fc801fa8b29de7e3ede307c465d80afff48afb64af8e0753741f37deb58f61
BLAKE2b-256 checksum
How to use checksums
2d67b11bc2ed88faf1ec38604f973a83e1fa9d3ea7d5b9d04111969c31521846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19

Release files / arithmaxchest-0.1.0-py3-none-any.whl

Download URL arithmaxchest-0.1.0-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cccf45f4f8c4cbce07db06502b41e77386653338f45d0149ea9e1272292d446
BLAKE2b-256 checksum
How to use checksums
9540b420b605d7b0a21701312d99737f380ff2c83224b7d77ae07d11fea8ef69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.19

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

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