fin_iex

Crates.iofin_iex
lib.rsfin_iex
version0.1.2
sourcesrc
created_at2019-07-19 15:27:15.068639
updated_at2019-07-23 18:51:20.461682
descriptionThe IEX provider for financial operations.
homepage
repositoryhttps://github.com/johnstonskj/rust-financial.git
max_upload_size
id150146
size55,811
Simon Johnston (johnstonskj)

documentation

README

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 the Provider 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.

Commit count: 169

cargo fmt