Crate robinhood [−] [src]
robinhood
Library used to access the Client API with Rust
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); } }
Modules
macros |
Macros
iter_builder |
Structs
Account | |
AccountData | |
Accounts | |
Client |
A client/app is represented here |
ClientBuilder | |
Error |
The Error type. |
Execution | |
InstantEligibility | |
Instrument | |
InstrumentData | |
Instruments | |
MarginBalances | |
OAuthToken | |
Order | |
OrderData | |
Orders | |
PaginatedApiResponse | |
PlainAuthToken |
Enums
ErrorKind |
The kind of an error. |
Traits
ResultExt |
Additional methods for |
Type Definitions
Result |
Convenient wrapper around |