https://github.com/sanko/robinhood_rs
Rust wrapper for Robinhood, the commission-free brokerage
https://github.com/sanko/robinhood_rs
robinhood rust stock-market
Last synced: about 1 month ago
JSON representation
Rust wrapper for Robinhood, the commission-free brokerage
- Host: GitHub
- URL: https://github.com/sanko/robinhood_rs
- Owner: sanko
- License: artistic-2.0
- Created: 2017-12-21T15:37:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-25T04:28:25.000Z (over 2 years ago)
- Last Synced: 2025-08-27T19:16:05.727Z (about 1 month ago)
- Topics: robinhood, rust, stock-market
- Language: Rust
- Size: 29.3 KB
- Stars: 12
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# robinhood
[](https://travis-ci.org/sanko/robinhood_rs)
[](https://ci.appveyor.com/project/sanko/robinhood-rs)
[](https://crates.io/crates/robinhood)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.
- [Documentation](https://docs.rs/robinhood)
- [Changelog](CHANGELOG.md)## Requirements
On Linux:
- OpenSSL 1.0.1, 1.0.2, or 1.1.0 with headers (see https://github.com/sfackler/rust-openssl)
On Windows and macOS:
- Nothing.
Robinhood uses reqwest which uses [rust-native-tls](https://github.com/sfackler/rust-native-tls), which will use the operating system TLS framework on Windows and macOS. On Linux, it will use OpenSSL 1.1.
## Installation
```toml
[dependencies]
robinhood = "*"
```## Example
```rust
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](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.