An ergonomic Rust client for the TradeStation API empowering you to build fast, scalable, and production ready trading systems and applications.
Features
- 🧮 Accounting: Monitor your risk, positions, balances, order history, and more across multiple accounts.
- 📈 Market Data: Easily fetch and stream real time and historic market data on thousands of assets and derivatives.
- ⚡ Execution: Lightning fast trade execution allowing you to place, update, and cancel orders with all kinds of custom configuration.
- 🧪 Testing: Supports mocking so you can seamlessly build out environments to test your trading systems and applications.
Install
Use cargo CLI:
cargo add tradestation
Or manually add it into your Cargo.toml:
[]
= "0.0.9"
Usage
For more thorough information, read the docs.
Simple example for streaming bars of trading activity:
use ;
async
Contributing
There are many ways to contribute like reporting issues, writing documentation, building out new features and abstractions, refactoring to improve on current abstractions, or fixing bugs.
Keep an eye out on open issues :)