3 releases
0.1.2 | Jul 23, 2019 |
---|---|
0.1.1 | Jul 21, 2019 |
0.1.0 | Jul 19, 2019 |
#308 in Finance
2.5MB
54K
SLoC
Crate fin_iex
This is an implementation of a number of the request traits in the fin_model crate calling the IEX Cloud.
Modules
::provider
provides an implementation of theProvider
trait,IEXProvider
Implemented Traits
fin_model::quote::FetchPriceQuote
fin_model::quote::FetchPriceRangeSeries
fin_model::analysis::Peers
fin_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.
lib.rs
:
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());
Dependencies
~23–34MB
~589K SLoC