New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alphavantage-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alphavantage-sdk

SDK for consuming alphavantage.co API on NodeJS.

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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');

Set your API key

alphaVantage.key = 'demo';

Stock Time Series Functions

timeSeriesDaily(equity)

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

timeSeriesDailyAdjusted(equity)

// Retrieve AZUL4.SAO data
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)

// Retrieve AZUL4.SAO data
alphaVantage.timeSeriesWeekly('MSFT').then(r=>console.log(r));

timeSeriesWeeklyAdjusted(equity)

// Retrieve AZUL4.SAO data
alphaVantage.timeSeriesWeeklyAdjusted('MSFT').then(r=>console.log(r));

timeSeriesMonthly(equity)

// Retrieve AZUL4.SAO data
alphaVantage.timeSeriesMonthly('MSFT').then(r=>console.log(r));

timeSeriesMonthlyAdjusted(equity)

// Retrieve AZUL4.SAO data
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 code of conduct, and the process for submitting pull requests to me.

Versioning

I use git itself for 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.

FAQs

Package last updated on 09 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc