A Rust application that streams real-time cryptocurrency trade matches from Coinbase's WebSocket API and stores the data into a redis store.
- Connects to Coinbase WebSocket feed
- Subscribes to matches for specified trading pairs
- Prints incoming match data in real-time
- Ensure Rust is installed: Install Rust
- Clone the repository
- Run
cargo buildto compile
- Edit
pairs.jsonto include desired trading pairs (e.g., ["BTC-USD", "ETH-USD"]) - Run
cargo runto start streaming
- tokio
- tokio-tungstenite
- serde_json
- futures-util
This project is licensed under the MIT License - see the LICENSE.md file for details.