Crates.io | fin_iex |
lib.rs | fin_iex |
version | 0.1.2 |
source | src |
created_at | 2019-07-19 15:27:15.068639 |
updated_at | 2019-07-23 18:51:20.461682 |
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, IEXProvider
fin_model::quote::FetchPriceQuote
fin_model::quote::FetchPriceRangeSeries
fin_model::analysis::Peers
fin_model::analysis::AnalystRecommendations
use 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.