3 releases
| 0.1.2 | Jul 23, 2019 |
|---|---|
| 0.1.1 | Jul 21, 2019 |
| 0.1.0 | Jul 19, 2019 |
#598 in Finance
2.5MB
54K
SLoC
An implementation of a number of the request traits in the
fin_model library calling the IEX Cloud.
Example
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());
Crate fin_iex
This is an implementation of a number of the request traits in the fin_model crate calling the IEX Cloud.
Modules
::providerprovides an implementation of theProvidertrait,IEXProvider
Implemented Traits
fin_model::quote::FetchPriceQuotefin_model::quote::FetchPriceRangeSeriesfin_model::analysis::Peersfin_model::analysis::AnalystRecommendations
Example
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());
Tools
The optional feature iex-tool builds a command-line tool that can
exercise some of the APIs above.
Dependencies
~26–42MB
~646K SLoC