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.16.tar.gz (106.7 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.16-py3-none-any.whl (111.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auspicium-0.7.16.tar.gz
  • Upload date:
  • Size: 106.7 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.16.tar.gz
Algorithm Hash digest
SHA256 7c9facc049f2339e27b473357ba381d3752b0432cc9aaadf123889e757fd62dc
MD5 f13f2e90c23fd40fb4702e4533373d36
BLAKE2b-256 01ccd1377fdc2221842f2ee91ed5e78806eb65119eeddc4735c9f3d867b909a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: auspicium-0.7.16-py3-none-any.whl
  • Upload date:
  • Size: 111.2 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1ebe4309a4bf60aa4095e3ec13e7cdfe178aaa2edd28fa0b821f5e97006eaf
MD5 3e7c2970ccc1530b41c66665433596f0
BLAKE2b-256 1796bf76758ebaf4af6cb43753d594546aa353bce4a4933ed24eea75deb8d311

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