Skip to main content
The official Python client supports both synchronous and asynchronous usage.

PyPI

pip install ticksupply

GitHub

Source code and documentation

Install

pip install ticksupply

Quick example

from ticksupply import Client

client = Client(api_key="your_api_key")

# List exchanges
for exchange in client.exchanges.list():
    print(f"{exchange.code}: {exchange.display_name}")

# Create a subscription
sub = client.subscriptions.create(datastream_id=123)
print(f"Subscription: {sub.id}")

Features

  • Sync and asyncClient for synchronous code, AsyncClient for asyncio
  • Automatic retries — Retries on transient errors with exponential backoff
  • Auto-paginationlist_all() iterators handle pagination automatically
  • Typed models — Full type hints with Pydantic v2 models
  • Error handling — Typed exceptions (NotFoundError, RateLimitError, etc.)

Requirements

  • Python 3.10+
See the Python examples page for complete usage examples.
Last modified on April 26, 2026