Rust library for Coinbase's Pro API.
Usage
Requires Tokio runtime ``` use coinbaseclient::privateclient::*;
// placing a market order
async fn main() { let client = PrivateClient::new("YOURAPISECRET", "YOURAPIPASSPHRASE", "YOURAPIKEY") let order = OrderBuilder::market(OrderSide::Buy, "BTC-USD", SizeOrFunds::Size(0.02)).build(); let orderid = client.placeorder(order).await.expect("unable to place order"); } ```