Auspicium DaaS SDK — market data for crypto and prediction market quants
Project description
auspicium
Python SDK for the Auspicium market data platform — crypto OHLCV, order books, trades, Polymarket prediction markets, and cross-market signals.
Install
pip install auspicium
Quick start
import os
os.environ["AUSP_API_KEY"] = "your-api-key"
os.environ["AUSP_GATEWAY_URL"] = "https://api.auspicium.io"
from auspicium import rest
# OHLCV candlestick data
df = rest.ohlcv("binance", "BTC-USDT", interval="5m", days=7)
# Order book snapshot
book = rest.orderbook("binance", "BTC-USDT", depth=20)
# Polymarket prediction markets
markets = rest.markets(status="active", base_asset="BTC")
# Cross-market signal (Binance x Polymarket)
cross = rest.cross_market(granularity="5m", base_asset="BTC", hours=48)
WebSocket streaming
from auspicium import stream
async with stream.connect() as ws:
await ws.subscribe("ohlcv", source="binance", symbol="BTC-USDT")
async for msg in ws:
print(msg.channel, msg.payload)
Get your API key
Sign up at auspicium.io — free tier included.
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
auspicium-0.7.1.tar.gz
(76.3 kB
view details)
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
auspicium-0.7.1-py3-none-any.whl
(84.6 kB
view details)
File details
Details for the file auspicium-0.7.1.tar.gz.
File metadata
- Download URL: auspicium-0.7.1.tar.gz
- Upload date:
- Size: 76.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fd9729e74e02d22abc2e0b7d0869076a8a8aac5278a04d377af072811544c4e
|
|
| MD5 |
693bfe8c85390e293c2452582ff43945
|
|
| BLAKE2b-256 |
d7f8f02d4fa1fcaa1be6a6de9756a6f5b2a9f75d27f9c7f3f8bde1dcb4edc0fe
|
File details
Details for the file auspicium-0.7.1-py3-none-any.whl.
File metadata
- Download URL: auspicium-0.7.1-py3-none-any.whl
- Upload date:
- Size: 84.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49616de76deb56e92f58302376d30591fa2741a28734ac95b91917c8d27c8084
|
|
| MD5 |
1ba12f740bdc0244579b57fa859d167c
|
|
| BLAKE2b-256 |
376408ec810bd19e12b58b1301142b5d9b056dad745bc50449277132f8f0a4e2
|