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.2.tar.gz (81.3 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.2-py3-none-any.whl (88.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auspicium-0.7.2.tar.gz
  • Upload date:
  • Size: 81.3 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.2.tar.gz
Algorithm Hash digest
SHA256 fe24bb7668db4116b865cb609844331728d6b0b0b609d369b5b792209d409526
MD5 7a803e9f980bbb67864dcab0a10f6ce4
BLAKE2b-256 dc903d4258fca84cd08f66bf8bce8c0c47881bc8ab3b62d9f2f9b290177ddb92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: auspicium-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 88.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6ee1bbef672a1b95cf4d7bedd8b29cd49c060f17c5f5a9879fa8059a015ade0
MD5 7790e37eb8a60bb64ff1451d68a2345d
BLAKE2b-256 2b711e10ccc90759729d0c1537a226b7a82e410bec7f913982f3e02d6920c873

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