{"repo":"pbeets/rithmic-rs","free":true,"listed":false,"github":"https://github.com/pbeets/rithmic-rs","clone":"git clone https://github.com/pbeets/rithmic-rs.git","description":"Connect to RithmicAPI using Rust for Algorithmic Trading","language":"Rust","stars":49,"topics":["algorithmic-trading","algotrading","futures-trading","tradingbot"],"license":"Apache-2.0","category":"trading","readme_excerpt":"Rust Rithmic R Protocol API client Official Rithmic API Unofficial rust client for connecting to Rithmic's R Protocol API. Supported version: 0.89.0.0 (template 5.42) Quick Start Add to your Cargo.toml : Set your environment variables: RithmicConfig contains connection and login details. RithmicAccount is separate and identifies which trading account to use for order and PnL requests. Login is user-scoped; account fields are sent with account-scoped requests, not during the initial sign-in. Stream live market data: Nine runnable examples cover the rest — order routing, historical data, error handling and reconnection. See Examples. Migrating from 2.x 3.0.0 reshapes the order surface. MIGRATING.md works through it section by section with before/after code — section 1 alone resolves most of the compiler errors. The headline changes: Change What it means for you --- --- Commands are built with new() + setters ..Default::default() no longer compiles; build() validates and returns a Result Fourteen generated enums replaced by crate-owned ones OrderSide , OrderType , TimeInForce and friends; variant names are unchanged, but matches now need a arm Every order call takes a command struct cancel all orders , exit position , adjust target / adjust stop no longer take loose arguments Prices are Option Wrap in Some(..) ; pass None for market orders Seven handle methods renamed Each is now named after the request it sends RithmicConfig requires a request timeout Build it through RithmicCo","default_branch":null,"files":null,"tree":[],"storefront":"/r/pbeets","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pbeets/rithmic-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}