Crate rithmic_rs

Source
Expand description

§rithmic-rs

rithmic-rs is a Rust client library for the Rithmic R | Protocol API. This crate provides tools to build algorithmic trading systems that interact with the Rithmic trading platform.

§Features

  • Connect to Rithmic’s WebSocket API
  • Stream market data (ticker, depth)
  • Submit and manage orders
  • Access historical market data
  • Track positions and P&L

§Structure

The library is organized into several modules:

  • plants: Contains specialized clients for different data types (ticker, order, P&L, history)
  • api: Contains the API interfaces for sending and receiving messages
  • rti: Contains definitions for RTI protocol messages
  • ws: WebSocket connectivity layer

Re-exports§

pub use plants::history_plant::RithmicHistoryPlant;
pub use plants::history_plant::RithmicHistoryPlantHandle;
pub use plants::order_plant::RithmicOrderPlant;
pub use plants::order_plant::RithmicOrderPlantHandle;
pub use plants::pnl_plant::RithmicPnlPlant;
pub use plants::pnl_plant::RithmicPnlPlantHandle;
pub use plants::ticker_plant::RithmicTickerPlant;
pub use plants::ticker_plant::RithmicTickerPlantHandle;

Modules§

api
connection_info
Connection information and configuration
plants
Plants for handling different types of market data and order interactions
rti
Definitions for RTI protocol messages
ws
WebSocket connectivity layer