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.4.1.tar.gz (59.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.4.1-py3-none-any.whl (68.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auspicium-0.4.1.tar.gz
  • Upload date:
  • Size: 59.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.4.1.tar.gz
Algorithm Hash digest
SHA256 e730a7fbb05d0cca38783ee9210108439fc3107517a8761b5b4424a415c52c07
MD5 c12a31bdc36049fa8e845dad9807e61a
BLAKE2b-256 9ebcc166795e4c4be4c851244e02a54dcdf7ec6c1fd9fe1d2daa5f71ff602ae9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: auspicium-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 68.4 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b914c3138a860db7be102f9b228919e69d7ae2f7ebf764a2d2bc1f8e445ed11
MD5 71cb5c98f90c0f8389be1da121e8e7ad
BLAKE2b-256 f0015ccee6020d03188c22189f571132602461a4a94e2abf39c3d8ff8e8a91ac

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