2 releases

Uses old Rust 2015

0.1.1-alpha.1 Aug 21, 2018
0.1.0 Dec 25, 2017

#203 in Finance

Artistic-2.0

38KB
710 lines

robinhood

Travis CI Status Appveyor CI Status crates.io

Client for Robinhood, the commission-free brokerage, written for Rust.

Please note that this is a very early release and the API will change a lot over the coming days and weeks.

Requirements

On Linux:

On Windows and macOS:

  • Nothing.

Robinhood uses reqwest which uses rust-native-tls, which will use the operating system TLS framework on Windows and macOS. On Linux, it will use OpenSSL 1.1.

Installation

[dependencies]
robinhood = "*"

Example

extern crate robinhood;

use robinhood::Client;

fn main() {
    let rh = Client::new()
        .build()
        .unwrap();

    let instruments = rh.instruments();
    println!("{:#?}", instruments);
    for instrument in instruments.take(3) {
        println!("Instrument: {:#?}", instrument);
    }
}

License

Licensed under the Artistic License, Version 2.0 (LICENSE or https://opensource.org/licenses/Artistic-2.0)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Artistic-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies

~18–28MB
~504K SLoC