Skip to content
This repository was archived by the owner on Jan 4, 2026. It is now read-only.

Latest commit

 

History

History
96 lines (63 loc) · 2.44 KB

File metadata and controls

96 lines (63 loc) · 2.44 KB

Alpha Vantage SDK for NodeJS

Easily fetch data from alphavantage.co API on NodeJS.

Getting Started

The library is available on NPM for quick deploy, following instructions will help you install and use it.

Install using NPM

npm install alphavantage-sdk

Require the library

const alphaVantage = require('alphavantage-sdk');

Set your API key

alphaVantage.key = 'demo';

Stock Time Series Functions

timeSeriesDaily(equity)

alphaVantage.timeSeriesDaily('MSFT').then(r=>console.log(r));

timeSeriesDailyAdjusted(equity)

alphaVantage.timeSeriesDailyAdjusted('MSFT').then(r=>console.log(r));

timeSeriesDailyFull(equity)

alphaVantage.timeSeriesDailyFull('MSFT').then(r=>console.log(r));

timeSeriesDailyAdjustedFull(equity)

alphaVantage.timeSeriesDailyAdjustedFull('MSFT').then(r=>console.log(r));

timeSeriesWeekly(equity)

alphaVantage.timeSeriesWeekly('MSFT').then(r=>console.log(r));

timeSeriesWeeklyAdjusted(equity)

alphaVantage.timeSeriesWeeklyAdjusted('MSFT').then(r=>console.log(r));

timeSeriesMonthly(equity)

alphaVantage.timeSeriesMonthly('MSFT').then(r=>console.log(r));

timeSeriesMonthlyAdjusted(equity)

alphaVantage.timeSeriesMonthlyAdjusted('MSFT').then(r=>console.log(r));

Built With

  • NodeJS - The JavaScript framework used.
  • Alpha Vantage API - Free realtime API for historical stock, forex, digital currency data and more than 50 technical indicators.

Contributing

Please read CONTRIBUTING.md for details on our standards, rules, and the process for submitting pull requests to me.

Versioning

For the versions available, see the tags on this repository.

Author

See also the list of contributors who participated in this project.

License

This project is licensed under the Mozilla Public License version 2.0 - see the LICENSE.md file for details

Acknowledgments

  • Alpha Vantage for providing an API free of charge.