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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async_rithmic-1.6.5.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

async_rithmic-1.6.5-py3-none-any.whl (149.4 kB view details)

Uploaded Python 3

File details

Details for the file async_rithmic-1.6.5.tar.gz.

File metadata

  • Download URL: async_rithmic-1.6.5.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for async_rithmic-1.6.5.tar.gz
Algorithm Hash digest
SHA256 c4e513b3943824c41d883800ab27176c10a18804c75ddfa0089ef964c9912423
MD5 b76695e8d660fda49a8b904c33cc8ff8
BLAKE2b-256 904f7ac572ac00689411914fda665bcfa3d2acb22112d71f3103325afd0e7d19

See more details on using hashes here.

File details

Details for the file async_rithmic-1.6.5-py3-none-any.whl.

File metadata

  • Download URL: async_rithmic-1.6.5-py3-none-any.whl
  • Upload date:
  • Size: 149.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for async_rithmic-1.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a5ed84a70037da6f76d68b61a9e6dc5d5fbc27fbea8dd786c1a2a2d6814e22ec
MD5 c2f1ed9d862730027136f44067789b01
BLAKE2b-256 86b1116e20d66a54e5a291663ee51c70bdbf068edf87f0e09eae1eaee007fff5

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.6

2 files

This release

1.6.5 This release

2 files

1.6.4

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.5.10

2 files

1.5.9

2 files

1.5.8

2 files

1.5.7

2 files

1.5.6

2 files

1.5.5

2 files

1.5.4

2 files

1.5.3

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.4.5

2 files

1.4.4

2 files

1.4.3

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.12

2 files

1.2.11

2 files

1.2.10

2 files

1.2.8

2 files

1.2.7

2 files

1.2.6

2 files

1.2.5

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.3

2 files

1.1.2

2 files

1.1.0

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page