Skip to main content

Python API Integration with Rithmic Protocol Buffer API

Project description

Python Rithmic API

PyPI - Version CI Documentation PyPI - Downloads

A robust, async-based Python API designed to interface seamlessly with the Rithmic Protocol Buffer API. This package is built to provide an efficient and reliable connection to Rithmic's trading infrastructure, catering to advanced trading strategies and real-time data handling.

This was originally a fork of pyrithmic, but the code has been completely rewritten.

Key Enhancements

This repo introduces several key improvements and new features over the original repository, ensuring compatibility with modern Python environments and providing additional functionality:

  • Python 3.11+ Compatibility: Fully tested and supported on the latest Python versions.
  • Robust architecture: Engineered for concurrency with built-in automatic reconnection logic. Ideal for long-running, fault-tolerant applications.
  • Multi-account support: select which account to operate on, removing the limitation of a fixed primary account.
  • STOP Orders support: includes the ability to place and manage STOP orders.
  • Best Bid Offer (BBO) Streaming: Integrates real-time Best Bid Offer tick streaming.
  • Historical + Streaming Time Bars: Access both historical time bars and real-time bar streaming for time-based strategies.

The most significant architectural shift is the adoption of an async-first design, delivering improved responsiveness, efficient I/O handling, and better scalability for real-time trading and market data ingestion.

Installation

pip install async_rithmic

Documentation

See the official documentation for usage examples

Testing

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

License

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

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

async_rithmic-1.3.3.tar.gz (43.3 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.3.3-py3-none-any.whl (104.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: async_rithmic-1.3.3.tar.gz
  • Upload date:
  • Size: 43.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for async_rithmic-1.3.3.tar.gz
Algorithm Hash digest
SHA256 85b5a97d23ae04cad538a2957b91fa30cb15f7c99ac1eb516c8a4c11df9270f4
MD5 21b8c0e9f6b80a9c3b459261c9805b04
BLAKE2b-256 2731e87c9e6a8be31245ccffee69a1a7189d3d5b1260ef120ad0398baca20374

See more details on using hashes here.

File details

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

File metadata

  • Download URL: async_rithmic-1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 104.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for async_rithmic-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 80a1e2e4f9c2edcd359369970d98948dd5808c4f772e69c2ee3901bd9de11eea
MD5 3c86836c7a1ef02735741551793b72f7
BLAKE2b-256 591f898eaaed1379d0ff25ba8f9d3c52be120ab66faa84ba995388e6ec4a66e7

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