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.