Skip to main content

Python Rithmic API

PyPI - Version CI Documentation PyPI - Downloads

async_rithmic is a modern, high-performance Python API for the Rithmic trading platform. Built with an async-first architecture, it enables robust, scalable access to Rithmic's Protocol Buffer interface for both live trading and real-time market data.

Designed with reliability and extensibility in mind, async_rithmic is a strong foundation for advanced trading systems requiring:

  • Low-latency connectivity
  • Real-time streaming capabilities
  • Fault-tolerant, long-running operation
  • Full control over order management and data handling

✨ Key Features

  • ✅ Python 3.10+ Compatibility: Fully tested and supported.
  • ⚡ Async-first design: Better scalability & responsiveness.
  • 🛠️ Robust architecture: Built-in reconnection & fault-tolerance.
    • Automatic reconnection: Resilient to network interruptions with customizable backoff and retry logic.
    • Automatic retries: Configure how many times a slow request will be retried and for how long, making your client more resilient to network delays and backend slowness.
  • 👥 Multi-account support
  • 📊 Historical + Live Time Bars: Ideal for time-based strategies.
  • 🎯 Live Tick Data & Best Bid/Ask Streaming: Fine-grained market data for real-time decision-making.
  • 🪟 Full Order Book (L2) Streaming: Stream real-time depth of market (all bids/asks, multiple price levels) for advanced order flow analysis.

📦 Installation

pip install async_rithmic

📘 Documentation

👉 See the official documentation for usage examples

🧠 Using it in Production

This library handles connectivity and streaming with Rithmic, but it does not solve higher-level concerns such as failure handling or ensuring correctness under load.

For a detailed discussion of how to build fault-tolerant async trading systems in practice:

👉 Designing Fault-Tolerant Async Trading Services in Python

🧪 Testing

To execute the tests, use the following command: make tests

📄 License

This project is licensed under the MIT License. See LICENSE for details.

Metadata

Release files for async-rithmic 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for async-rithmic 2.0.0
File Size Uploaded Provenance Actions
async_rithmic-2.0.0.tar.gz 74.8 kB Without provenance Details for async_rithmic-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for async-rithmic 2.0.0
File Interpreter ABI Platform Actions
async_rithmic-2.0.0-py3-none-any.whl Python 3 none any Details for async_rithmic-2.0.0-py3-none-any.whl

Total release size: 234.6 kB

Release files / async_rithmic-2.0.0.tar.gz

Download URL async_rithmic-2.0.0.tar.gz
Size 74.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f96a7292b22d1037a16d2a793327f2889da418f9f46ed80363f789bc77e2bec8
BLAKE2b-256 checksum
How to use checksums
b020dd45d8f5a8190fce24a78ffc8ee650b977e68e164d4415eda7909d4a243c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / async_rithmic-2.0.0-py3-none-any.whl

Download URL async_rithmic-2.0.0-py3-none-any.whl
Size 159.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21c52b5d06dcece3ebfdb9c7e0841690c82b1bc9b633ec55b5bff99e35e4319e
BLAKE2b-256 checksum
How to use checksums
e559bb4ba478f914da015661b69b0d9f6eb91d3b74dff8c10701a274ceff5c13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for async-rithmic 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page