Alpha Vantage

Seamlessly integrate Alpha Vantage with your favorite APIs, databases, and programming languages, using WayScript.
Realtime and historical stock market and crypto data.

Check out their website.

📈 Overview

Alpha Vantage Inc. "is a leading provider of free APIs for realtime and historical data on stocks, forex (FX), and digital/crypto currencies."

The WayScript Alpha Vantage module gives you easy access to this information.

📖 Available Data

Most Recent Stock Data

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Data = {
open : Float,
high : Float,
low : Float,
close : Float,
volume : Float,
ticker : String,
}

JSON_DATA (String)

Time Series Data

Settings

  • Time Interval Between Data Points

  • Time Period

  • Output Size

    • Last 100 Data Points

    • All Data Points (Returns the full-length time series of up to 20 years of historical data)

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Time_Series = {
meta : {
symbol : String,
last_refreshed: String,
output_size : String,
timezone: String,
},
data : [
{
date : Date,
open : Float,
high : Float,
low : Float,
close : Float,
volume : Float,
},
]
}

JSON_Data (String)

Digital/Crypto Currencies

Settings

  • Digital Currency

  • Exchange Market

  • Time Period

📤 Outputs

Crypto_Data = {
meta : {
digital_currency_code : String,
digital_currency_name : String,
market_code : String,
market_name : String,
last_refreshed : Date,
timezone : String,
},
data : [
{
date : Date,
open_usd : Float,
open_cny : Float,
high_usd : Float,
high_cny : Float,
low_usd : Float,
low_cny : Float,
close_usd : Float,
close_cny : Float,
volume : Float,
mkt_cap_usd : Float,
},
]
}

JSON_DATA (String)

Simple Moving Average (SMA)

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Time Series Period - Number of data points used to calculate each SMA value. Positive integers are accepted. (e.g. Time Period = 60, Time Period = 200)

  • Series Type - The desired price type in the time series. Four types are supported: Close, Open, High, Low.

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Indicator = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
data : Float,
},
]
}

Exponential Moving Average (EMA)

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Time Series Period - Number of data points used to calculate each EMA value. Positive integers are accepted. (e.g. Time Period = 60, Time Period = 200)

  • Series Type - The desired price type in the time series. Four types are supported: Close, Open, High, Low.

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Indicator = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
data : Float,
},
]
}

Moving Average Convergence / Divergence (MACD)

For more information, see How to use moving-average convergence divergence (MACD).

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Series Type - The desired price type in the time series. Four types are supported: Close, Open, High, Low.

💡 Advanced Settings

  • Fast Period - Defaults to 12.

  • Slow Period - Defaults to 26.

  • Signal Period - Defaults to 9.

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

MACD = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : String,
interval : String,
fast_period : Int,
slow_period : Int,
signal_period : Int,
series_type : String,
timezone : String,
},
data : [
{
date : Date,
macd_hist : Float,
macd_signal : Float,
macd : Float,
},
]
}

Stochastic Oscillator (STOCH)

For more information, see Stochastic oscillator.

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

💡 Advanced Settings

  • Fast K Period - Defaults to 5.

  • Slow K Period - Defaults to 3.

  • Slow D Period - Defaults to 3.

  • Slow K Moving Average Type

    • Simple Moving Average (SMA)

    • Exponential Moving Average (EMA)

    • Weighted Moving Average (WMA)

    • Double Exponential Moving Average (DEMA)

    • Triple Exponential Moving Average (TEMA)

    • Triangular Moving Average (TRIMA)

    • T3 Moving Average

    • Kaufman Adaptive Moving Average (KAMA)

    • MESA Adaptive Moving Average (MAMA)

  • Slow D Moving Average Type

    • Simple Moving Average (SMA)

    • Exponential Moving Average (EMA)

    • Weighted Moving Average (WMA)

    • Double Exponential Moving Average (DEMA)

    • Triple Exponential Moving Average (TEMA)

    • Triangular Moving Average (TRIMA)

    • T3 Moving Average

    • Kaufman Adaptive Moving Average (KAMA)

    • MESA Adaptive Moving Average (MAMA)

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

STOCH = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : String,
interval : String,
fastk_period : Int,
slowk_period : Int,
slowk_ma_type : Int,
slowd_period : Int,
slowd_ma_type : String,
timezone : String,
},
data : [
{
date : Date,
slowk : Float,
slowd : Float,
},
]
}

Relative Strength Index (RSI)

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Time Series Period - Number of data points used to calculate each RSI value. Positive integers are accepted. (e.g. Time Period = 60, Time Period = 200)

  • Series Type - The desired price type in the time series. Four types are supported: Close, Open, High, Low.

  • Data to Return

    • Most Recent (Only the latest RSI)

    • All

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Indicator = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
data : Float,
},
],
}

Average Directional Movement Index (ADX)

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Time Series Period - Number of data points used to calculate each ADX value. Positive integers are accepted. (e.g. Time Period = 60, Time Period = 200)

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Indicator = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
data : Float,
},
],
}

Commodity Channel Index (CCI)

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Time Series Period - Number of data points used to calculate each CCI value. Positive integers are accepted. (e.g. Time Period = 60, Time Period = 200)

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Indicator = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
data : Float,
},
],
}

Aroon (AROON)

For more information, see Aroon.

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Time Series Period - Number of data points used to calculate each Aroon value. Positive integers are accepted. (e.g. Time Period = 60, Time Period = 200)

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Aroon = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
aroon_up : Float,
aroon_down : Float,
},
],
}

Bollinger Bands (BBANDS)

For more information, see Bollinger Bands.

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

  • Time Series Period - Number of data points used to calculate each band value. Positive integers are accepted. (e.g. Time Period = 60, Time Period = 200)

  • Series Type - The desired price type in the time series. Four types are supported: Close, Open, High, Low.

💡 Advanced Settings

  • Number Deviation Up - The standard deviation multiplier of the upper bound. Defaults to 2.

  • Number Deviation Down - The standard deviation multiplier of the lower bound. Defaults to 2.

  • Moving Average Type

    • Simple Moving Average (SMA)

    • Exponential Moving Average (EMA)

    • Weighted Moving Average (WMA)

    • Double Exponential Moving Average (DEMA)

    • Triple Exponential Moving Average (TEMA)

    • Triangular Moving Average (TRIMA)

    • T3 Moving Average

    • Kaufman Adaptive Moving Average (KAMA)

    • MESA Adaptive Moving Average (MAMA)

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Bbands = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
deviation_mult_upper : Int,
deviation_mult_lower : Int,
ma_type : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
real_middle_band : Float,
real_upper_band : Float,
real_lower_band : Float,
},
],
}

Chaikin A/D Line (AD)

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Indicator = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
data : Float,
},
],
}

On Balance Volume (OBV)

Settings

  • Time Interval Between Data Points - Time interval between two consecutive data points in the time series.

📥 Inputs

Enter the name of the equity of your choice.

📤 Outputs

Stock_Indicator = {
meta : {
symbol : String,
indicator : String,
indicator_sym : String,
last_refreshed : Date,
interval : String,
time_period : Int,
series_type : String,
timezone : String,
},
data : [
{
datetime : Date,
data : Float,
},
],
}