monomadic / cryptotrader-core

Simple to use Crypto Exchange REST API client in rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cryptotrader-core

Simple to use Crypto Exchange REST API client in rust.

This library has been in a semi-working, messy alpha state for over a year now, I figured it was time to clean it up and maybe people will actually find it useful. There's not much in the way of decent exchange support for rust, so hopefully this helps to change that.

The goal is not to create another simple wrapper around an API, but an easy to use high level abstraction across all apis.

Currently supports

Coming soon:

Note that this is a core project with many components using this as a dependency. Some of the other projects in the cryptotrader toolchain include:

There are other projects as well (web server front end in elm and back end as a rust service layer) but I will release those as they become a bit more mature.

Example use

use cryptotrader::exchanges::*;

fn main() {
    let client = BinanceAPI::connect("key", "secret");
    let assets = client.balances().unwrap();

    for asset in assets {
        println!("{} - {}", asset.symbol, asset.amount);
    }
}

About

Simple to use Crypto Exchange REST API client in rust.


Languages

Language:Rust 93.4%Language:RenderScript 6.6%