alpha_vantage 0.2.0

Rust Wrapper/Crate built for AlphaVantage API
Documentation

ALPHA_VANTAGE

Status:

Travis Build Status Dependency Status Code Coverage
Travis Build Status Dependency status Code coverage

Project Info:

License LoC Crates Version
License: MIT LoC Crate

Rust version support:

Stable Beta Nightly
Stable support Beta support Nightly support

OS support:

Linux OSX Windows
Linux support OSX support Windows support

WARNING : may contain bug which may cause undesired functionality

Rust Wrapper/Client built for Alphavantage API. Project is completed and core functionality is already implemented out totally and project is in usable state. Better documentation and optimization are remaining before publishing to crates.io

Project Functionality

  • StockTimeSeries
  • Quote Endpoint
  • Search Endpoint
  • Exchange Rate
  • Forex
  • Crypto Currency
  • Technical Indicators
  • Sector Performances

Add as dependencies

Edit Cargo.toml file to add alpha_vantage as dependencies

[dependencies]
alpha_vantage = 0.2.0

OR For bleeding edge development use

[dependencies]
alpha_vantage = {git = "https://github.com/iamsauravsharma/alpha_vantage"}

Usage

Sample code to find out exchange rate between two currency(both physical & digital supported)

let api_key = alpha_vantage::set_api("YOUR-API-HERE");
let exchange = api_key.exchange("USD","CNY");
let rate = exchange.rate().unwrap();
println!("{}",rate);