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.19.tar.gz (115.9 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.19-py3-none-any.whl (121.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auspicium-0.7.19.tar.gz
  • Upload date:
  • Size: 115.9 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.19.tar.gz
Algorithm Hash digest
SHA256 4d979099db452b6b2638f79f47f82511b572db1e1ecea8b74405171268f9d11a
MD5 fcc67af2f46f7a0eae2b5201ddf79bb5
BLAKE2b-256 dcffc9e6f098d7d82d55f350b9ae8cb93a06b149752fef07d3d0232d3b2ee268

See more details on using hashes here.

File details

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

File metadata

  • Download URL: auspicium-0.7.19-py3-none-any.whl
  • Upload date:
  • Size: 121.3 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 98649e6d14497a3fc7e55b61f1554205007c79f23fc2b4a983064de4c8d02092
MD5 ea7607a073f0576999180659586f07f9
BLAKE2b-256 76130985b7325513f636582e8db2c3ec4157703745526341f647b521096ed6c8

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