| Crates.io | fin_iex |
| lib.rs | fin_iex |
| version | 0.1.2 |
| created_at | 2019-07-19 15:27:15.068639+00 |
| updated_at | 2019-07-23 18:51:20.461682+00 |
| description | The IEX provider for financial operations. |
| homepage | |
| repository | https://github.com/johnstonskj/rust-financial.git |
| max_upload_size | |
| id | 150146 |
| size | 55,811 |
This is an implementation of a number of the request traits in the fin_model crate calling the IEX Cloud.
::provider provides an implementation of the Provider trait, IEXProviderfin_model::quote::FetchPriceQuotefin_model::quote::FetchPriceRangeSeriesfin_model::analysis::Peersfin_model::analysis::AnalystRecommendationsuse fin_iex::IEXProvider;
use fin_model::provider::Provider;
let provider = match IEXProvider::new() {
Ok(provider) => provider,
Err(err) => panic!("Error configuring provider, {:?}", err)
};
println!("Provider = [{}]({}).", provider.attribution(), provider.url());
The optional feature iex-tool builds a command-line tool that can
exercise some of the APIs above.