Coinbase Client ![Latest Version]

Rust library for Coinbase's Pro API.

Documentation

Usage

Requires Tokio runtime ``` use coinbaseclient::privateclient::*;

// placing a market order

[tokio::main]

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"); } ```