Crates.io | robinhood |
lib.rs | robinhood |
version | 0.1.1-alpha.1 |
source | src |
created_at | 2017-12-25 19:36:00.067899 |
updated_at | 2018-08-21 14:15:11.392663 |
description | Rust Wrapper for Robinhood Trade |
homepage | |
repository | https://github.com/sanko/robinhood_rs |
max_upload_size | |
id | 44391 |
size | 46,596 |
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.
On Linux:
On Windows and macOS:
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.
[dependencies]
robinhood = "*"
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);
}
}
Licensed under the Artistic License, Version 2.0 (LICENSE or https://opensource.org/licenses/Artistic-2.0)
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.