Skip to content

Rust wrapper for Robinhood, the commission-free brokerage

License

Notifications You must be signed in to change notification settings

sanko/robinhood_rs

Repository files navigation

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.

About

Rust wrapper for Robinhood, the commission-free brokerage

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages