![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
alpha_vantage_api_wrapper
Advanced tools
This is a simple wrapper package for the Alpha Vantage API
Stocks, Forex, Crypto & Sector API are working.
Technical indicators - work in progress
NPM
npm install --save alpha_vantage_api_wrapper
Yarn
yarn add alpha_vantage_api_wrapper
Getting Simple Intraday Data for AAPL
var Alpha = require('alpha_vantage_api_wrapper').Alpha
var alpha = new Alpha('api-key')
alpha.stocks.intraday('AAPL')
.then((res) => {
// Do what you want with the data
})
.catch((err) => {
// Handle the error
})
This API returns intraday time series (timestamp, open, high, low, close, volume) of the equity specified.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
"outputsize": "compact" || "full", // Default "compact"
"interval": "1min" || "5min" || "15min" || "30min" || "60min" // Default "5min"
}
alpha.stocks.intraday(ticker, options = optional)
This API returns daily time series (date, daily open, daily high, daily low, daily close, daily volume) of the global equity specified, covering 20+ years of historical data.
The most recent data point is the cumulative prices and volume information of the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
"outputsize": "compact" || "full", // Default "compact"
}
alpha.stocks.daily(ticker, options = optional)
This API returns daily time series (date, daily open, daily high, daily low, daily close, daily volume, daily adjusted close, and split/dividend events) of the global equity specified, covering 20+ years of historical data.
The most recent data point is the cumulative prices and volume information of the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
"outputsize": "compact" || "full", // Default "compact"
}
alpha.stocks.dailyAdjusted(ticker, options = optional)
This API returns weekly time series (last trading day of each week, weekly open, weekly high, weekly low, weekly close, weekly volume) of the global equity specified, covering 20+ years of historical data.
The latest data point is the cumulative prices and volume information for the week (or partial week) that contains the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.stocks.weekly(ticker, options = optional)
This API returns weekly adjusted time series (last trading day of each week, weekly open, weekly high, weekly low, weekly close, weekly adjusted close, weekly volume, weekly dividend) of the global equity specified, covering 20+ years of historical data.
The latest data point is the cumulative prices and volume information for the week (or partial week) that contains the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.stocks.weeklyAdjusted(ticker, options = optional)
This API returns monthly time series (last trading day of each month, monthly open, monthly high, monthly low, monthly close, monthly volume) of the global equity specified, covering 20+ years of historical data.
The latest data point is the cumulative prices and volume information for the month (or partial month) that contains the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.stocks.monthly(ticker, options = optional)
This API returns monthly adjusted time series (last trading day of each month, monthly open, monthly high, monthly low, monthly close, monthly adjusted close, monthly volume, monthly dividend) of the equity specified, covering 20+ years of historical data.
The latest data point is the cumulative prices and volume information for the month (or partial month) that contains the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.stocks.monthlyAdjusted(ticker, options = optional)
A lightweight alternative to the time series APIs, this service returns the latest price and volume information for a security of your choice.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.stocks.quote(ticker, options = optional)
Looking for some specific symbols or companies?
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.stocks.search(ticker, options = optional)
This API returns the realtime exchange rate for any pair of digital currency (e.g., Bitcoin) or physical currency (e.g., USD).
alpha.forex.exchageRate(baseCurrency, destinationCurrency)
This API returns intraday time series (timestamp, open, high, low, close) of the FX currency pair specified, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
"outputsize": "compact" || "full", // Default "compact"
"interval": "1min" || "5min" || "15min" || "30min" || "60min" // Default "5min"
}
alpha.forex.intraday(baseCurrency, destinationCurrency, options = optional)
This API returns the daily time series (timestamp, open, high, low, close) of the FX currency pair specified, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
"outputsize": "compact" || "full", // Default "compact"
}
alpha.forex.daily(baseCurrency, destinationCurrency, options = optional)
This API returns the weekly time series (timestamp, open, high, low, close) of the FX currency pair specified, updated realtime.
The latest data point is the cumulative price information for the week (or partial week) containing the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.forex.weekly(baseCurrency, destinationCurrency, options = optional)
This API returns the monthly time series (timestamp, open, high, low, close) of the FX currency pair specified, updated realtime.
The latest data point is the cumulative prices information for the month (or partial month) containing the current trading day, updated realtime.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.forex.monthly(baseCurrency, destinationCurrency, options = optional)
This API returns the realtime exchange rate for any pair of digital currency (e.g., Bitcoin) or physical currency (e.g., USD).
alpha.crypto.exchageRate(baseCurrency, destinationCurrency)
This API returns the daily historical time series for a digital currency (e.g., BTC) traded on a specific market (e.g., CNY/Chinese Yuan), refreshed daily at midnight (UTC). Prices and volumes are quoted in both the market-specific currency and USD.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.crypto.daily(baseCurrency, destinationCurrency, options = optional)
This API returns the weekly historical time series for a digital currency (e.g., BTC) traded on a specific market (e.g., CNY/Chinese Yuan), refreshed daily at midnight (UTC). Prices and volumes are quoted in both the market-specific currency and USD.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.crypto.weekly(baseCurrency, destinationCurrency, options = optional)
This API returns the monthly historical time series for a digital currency (e.g., BTC) traded on a specific market (e.g., CNY/Chinese Yuan), refreshed daily at midnight (UTC). Prices and volumes are quoted in both the market-specific currency and USD.
Available options = object
{
"datatype": "json" || "csv", // Default "json"
}
alpha.crypto.monthly(baseCurrency, destinationCurrency, options = optional)
This API returns the realtime and historical sector performances calculated from S&P500 incumbents.
alpha.sector.performance()
This API returns the simple moving average (SMA) values. Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.sma(ticker, options)
This API returns the exponential moving average (EMA) values. Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.ema(ticker, options)
This API returns the weighted moving average (WMA) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.wma(ticker, options)
This API returns the double exponential moving average (DEMA) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.dema(ticker, options)
This API returns the triple exponential moving average (TEMA) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.tema(ticker, options)
This API returns the triangular moving average (TRIMA) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.trima(ticker, options)
This API returns the Kaufman adaptive moving average (KAMA) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.kama(ticker, options)
This API returns the MESA adaptive moving average (MAMA) values. Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
"fastlimit" 0.01, // Float - Default 0.01
"slowlimit": 0.01 // Float - Default 0.01
}
alpha.techInd.mama(ticker, options)
This API returns the triple exponential moving average (T3) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
}
alpha.techInd.t3(ticker, options)
This API returns the moving average convergence / divergence (MACD) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
"fastperiod" 12, // Integer - Default 12
"slowperiod": 26, // Integer - Default 26
"signalperiod": 9, // Integer - Default 9
}
alpha.techInd.mama(ticker, options)
This API returns the moving average convergence / divergence values with controllable moving average type Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
"fastperiod" 12, // Integer - Default 12
"slowperiod": 26, // Integer - Default 26
"signalperiod": 9, // Integer - Default 9
"fastmatype": 0, // Integer - Default 0-8
"slowmatype": 0, // Integer - Default 0-8
"signalmatype": 0, // Integer - Default 0-8
}
alpha.techInd.mamaExt(ticker, options)
This API returns the stochastic oscillator (STOCH) values Available options = object
{
"interval": "1min" || "5min" || "15min" || "30min" || "60min" || "daily weekly" || "monthly" // String - Default = "5min"
"time_period": 60 || 200 // Integer - Default 60
"series_type": "close" || "open" || "high" || "low" // String - Default "close"
"datatype": "json" || "csv", // String - Default "json"
"fastkperiod" 5, // Integer - Default 5
"slowkperiod": 3, // Integer - Default 3
"slowdperiod": 3, // Integer - Default 3
"slowkmatype": 0, // Integer - Default 0-8
"slowdmatype": 0, // Integer - Default 0-8
}
alpha.techInd.stoch(ticker, options)
FAQs
Alpha Vintage API Wrapper for Node.Js
The npm package alpha_vantage_api_wrapper receives a total of 5 weekly downloads. As such, alpha_vantage_api_wrapper popularity was classified as not popular.
We found that alpha_vantage_api_wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.