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.11.tar.gz
(96.4 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.11-py3-none-any.whl
(103.1 kB
view details)
File details
Details for the file auspicium-0.7.11.tar.gz.
File metadata
- Download URL: auspicium-0.7.11.tar.gz
- Upload date:
- Size: 96.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8477a6724a2d40231fc5fc38ab4d69ad516e6c6923ee8ae5ed9a4ee06def8806
|
|
| MD5 |
cf06ee76a8d4399b57270b6873f98168
|
|
| BLAKE2b-256 |
1757c5c7b56682e8d2c6b60e924a8a12dd8add7c6abbb5ed212fb06d474e52b0
|
File details
Details for the file auspicium-0.7.11-py3-none-any.whl.
File metadata
- Download URL: auspicium-0.7.11-py3-none-any.whl
- Upload date:
- Size: 103.1 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 |
af7649e5297fd989a752079ebde3075de46d8c105130ca0c3f8c04fcc7f4584b
|
|
| MD5 |
42f9161014c13e07909da51ea870cccd
|
|
| BLAKE2b-256 |
0a82cd8e9488ccca0673c3a075ad4d39ae709c65d8014065bbbec390e76344db
|