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 1.6.6

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 1.6.6
File Size Uploaded
async_rithmic-1.6.6.tar.gz 63.2 kB Details

Built distribution (wheel)

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

Total release size: 212.7 kB

Release files / async_rithmic-1.6.6.tar.gz

Download URL async_rithmic-1.6.6.tar.gz
Size 63.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cdb2bb6002ecc0cacdfb41fe957c7fd3fb22f5a67a27a6b88960713359f88cf0
BLAKE2b-256 checksum
How to use checksums
30648d8eddd892c9dc44e6d3d5cc3cc2bc40617a366c3269b0e908941b226d33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

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

Download URL async_rithmic-1.6.6-py3-none-any.whl
Size 149.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
768cdcca3b84d0541884d0bbdc97c38ea78cf3dc7658f680ecb2d1cea5edbf36
BLAKE2b-256 checksum
How to use checksums
77b5021a96d2bff319eb4fe70de162037cdb85e2cc20670162f872d516b7dc7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release history Release notifications | RSS feed

This release

1.6.6 This release

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.10

2 release files

1.5.9

2 release files

1.5.8

2 release files

1.5.7

2 release files

1.5.6

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.12

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.0

2 release files

1.0.0

2 release files

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