Skip to main content

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


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.7.tar.gz (86.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auspicium-0.7.7-py3-none-any.whl (92.7 kB view details)

Uploaded Python 3

File details

Details for the file auspicium-0.7.7.tar.gz.

File metadata

  • Download URL: auspicium-0.7.7.tar.gz
  • Upload date:
  • Size: 86.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for auspicium-0.7.7.tar.gz
Algorithm Hash digest
SHA256 53837177f4a015a11bf820e36513439d27509f1d9551ec65b349b87802261f08
MD5 a9dd47cb5abee18d6f883f680b166564
BLAKE2b-256 66262d9918c29a708c06d68d31a7cd62a8d7cff976b4678da7aa787c8de5d9b4

See more details on using hashes here.

File details

Details for the file auspicium-0.7.7-py3-none-any.whl.

File metadata

  • Download URL: auspicium-0.7.7-py3-none-any.whl
  • Upload date:
  • Size: 92.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for auspicium-0.7.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d57d5e37a4b1178826ffbc360fd5136a81aa41ff8f3bbf64076e2bcc13a571fe
MD5 f698e3a18187c32e3c1fee8d6da3b867
BLAKE2b-256 29d3fe880f9a6a6116aba4c89ae5f3b46fdfd9b789b1c26f9821c4229c706bef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page