A Rust client library for the Coinbase Pro cryptocurrency exchange API with sync, async, and WebSocket support.
coinbase-pro-rs is a Rust client library for the Coinbase Pro cryptocurrency exchange API. It provides programmatic access to market data, account management, order execution, and real-time WebSocket feeds for building trading bots, analytics tools, and financial applications.
Rust developers building cryptocurrency trading systems, market analysis tools, or applications that need reliable integration with Coinbase Pro's exchange platform.
Developers choose this library for its idiomatic Rust design, comprehensive API coverage, and flexible concurrency model offering both synchronous and asynchronous interfaces with full WebSocket support.
Coinbase pro client for Rust
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
All API requests and responses are mapped to Rust structs, ensuring compile-time safety and reducing runtime errors, as shown in the comprehensive struct definitions throughout the codebase.
Supports both synchronous blocking calls and asynchronous operations with async/await, allowing developers to choose based on application needs, demonstrated in the separate sync and async examples.
Includes WebSocket feed support for streaming market data like heartbeats, tickers, and order books, enabling real-time applications such as trading bots, with examples provided for subscription.
Built-in support for Coinbase Pro's sandbox URL facilitates risk-free testing without real funds, as evidenced by the use of SANDBOX_URL constants in example code.
The README indicates that several endpoints, such as Deposits, Withdrawals, and Payment Methods, have only partial support (e.g., list functions only), limiting functionality for comprehensive account management.
Asynchronous usage requires the tokio runtime, as shown in examples, which adds an external dependency and may not align with projects using other async runtimes like async-std.
Pagination for API responses is listed as unsupported in the README, which can hinder efficient handling of large datasets like historical trades or orders.