#alpha #vantage #api-wrapper #data #analysis #real-time #stock

bin+lib alpha_vantage_wrapper

A wrapper library for the Alpha Vantage API!

3 releases

0.2.4 Oct 17, 2023
0.2.3 Oct 17, 2023
0.2.2 Oct 17, 2023

#105 in Finance

MIT license

12KB
239 lines

AlphaVantageWrapper

Stock analysis API wrapper crate for rust! Get real time data on publicly accessible stock information

Installation

Use the package manager cargo to add AlphaVantageWrapper to your rust project.

cargo add AlphaVantageWrapper

or add the dependency directly in your cargo.toml file

[dependencies]
AlphaVantageWrapper = "{version}"

Usage

use reqwest::Error;
use AlphaVantageWrapper::broker::broker_api::BrokerAPI;

#[tokio::main]
async fn main() -> Result<(),Error>{
    let alpha_api = BrokerAPI::new("[API KEY]");

    Ok(())
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Dependencies

~6–19MB
~292K SLoC