View Source AlphaVantage.TechnicalIndicators (Alpha Vantage v0.3.0)
A set of functions for fetching technical indicators from Alpha Vantage.
Summary
Functions
Returns the Chaikin A/D line (AD) values for a given symbol and interval.
Returns the Chaikin A/D line oscillator (ADOSC) values for a given symbol and interval.
Returns the average directional movement index (ADX) values for a given symbol, interval, and time period.
Returns the average directional movement index rating (ADXR) values for a given symbol, interval, time period, and series type.
Returns the absolute price oscillator (APO) values for a given symbol, interval, and series type.
Returns the Aroon (AROON) values for a given symbol, interval, and time period.
Returns the Aroon oscillator (AROONOSC) values for a given symbol, interval, and time period.
Returns the average true range (ATR) values for a given symbol, interval, and time period.
Returns the Bollinger bands (BBANDS) values for a given symbol, interval, time period, and series type.
Returns the balance of power (BOP) values for a given symbol and interval.
Returns the commodity channel index (CCI) values for a given symbol, interval, and time period.
Returns the Chande momentum oscillator (CMO) values for a given symbol, interval, time period, and series type.
Returns the double exponential moving average (DEMA) values for a given symbol, interval, time period, and series type.
Returns the directional movement index (DX) values for a given symbol, interval, and time period.
Returns the exponential moving average (EMA) values for a given symbol, interval, time period, and series type.
Returns the Hilbert transform, dominant cycle period (HT_DCPERIOD) values for a given symbol, interval, and series type.
Returns the Hilbert transform, dominant cycle phase (HT_DCPHASE) values for a given symbol, interval, and series type.
Returns the Hilbert transform, phasor components (HT_PHASOR) values for a given symbol, interval, and series type.
Returns the Hilbert transform, sine wave (HT_SINE) values for a given symbol, interval, and series type.
Returns the Hilbert transform, instantaneous trendline (HT_TRENDLINE) values for a given symbol, interval, and series type.
Returns the Hilbert transform, trend vs cycle mode (HT_TRENDMODE) values for a given symbol, interval, and series type.
Returns the Kaufman adaptive moving average (KAMA) values for a given symbol, interval, time period, and series type.
Returns the moving average convergence / divergence (MACD) values for a given symbol, interval, time period, and series type.
Returns the moving average convergence / divergence values with controllable moving average type (MACDEXT) for a given symbol, interval, time period, and series type.
Returns the MESA adaptive moving average (MAMA) values for a given symbol, interval, time period, and series type.
Returns the money flow index (MFI) values for a given symbol, interval, and time period.
Returns the midpoint (MIDPOINT) values for a given symbol, interval, time period, and series type. MIDPOINT = (highest value + lowest value)/2.
Returns the midprice (MIDPRICE) values for a given symbol, interval, and time period. MIDPRICE = (highest value + lowest value)/2.
Returns the minus directional indicator (MINUS_DI) values for a given symbol, interval, and time period.
Returns the minus directional movement (MINUS_DM) values for a given symbol, interval, and time period.
Returns the momentum (MOM) values for a given symbol, interval, time period, and series type.
Returns the normalized average true range (NATR) values for a given symbol, interval, and time period.
Returns the on balance volume (OBV) values for a given symbol and interval.
Returns the plus directional indicator (PLUS_DI) values for a given symbol, interval, and time period.
Returns the plus directional movement (PLUS_DM) values for a given symbol, interval, and time period.
Returns the percentage price oscillator (PPO) values for a given symbol, interval, and series type.
Returns the rate of change (ROC) values for a given symbol, interval, time period, and series type.
Returns the rate of change ratio (ROCR) values for a given symbol, interval, time period, and series type.
Returns the relative strength index (RSI) values for a given symbol, interval, time period, and series type.
Returns the parabolic SAR (SAR) values for a given symbol and interval.
Returns the simple moving average (SMA) values for a given symbol, interval, time period, and series type.
Returns the stochastic oscillator (STOCH) values for a given symbol and interval.
Returns the stochastic fast (STOCHF) values for a given symbol and interval.
Returns the stochastic relative strength index (STOCHRSI) values for a given symbol, interval, time period, and series type.
Returns the triple exponential moving average (T3) values for a given symbol, interval, time period, and series type.
Returns the triple exponential moving average (TEMA) values for a given symbol, interval, time period, and series type.
Returns the true range (TRANGE) values for a given symbol and interval.
Returns the triangular moving average (TRIMA) values for a given symbol, interval, time period, and series type.
Returns the 1-day rate of change of a triple smooth exponential moving average (TRIX) values for a given symbol, interval, time period, and series type.
Returns the ultimate oscillator (ULTOSC) values for a given symbol and interval.
Returns the volume weighted average price (VWAP) for intraday time series given a symbol and interval.
Returns the Williams' %R (WILLR) values for a given symbol, interval, and time period.
Returns the weighted moving average (WMA) values for a given symbol, interval, time period, and series type.
Functions
Returns the Chaikin A/D line (AD) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#ad for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the Chaikin A/D line oscillator (ADOSC) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#adosc for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:fastperiodThe time period of the fast EMA. Positive integers are accepted. By default,
fastperiod: 3.:slowperiodThe time period of the slow EMA. Positive integers are accepted. By default,
slowperiod: 10.:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the average directional movement index (ADX) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#adx for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the average directional movement index rating (ADXR) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#adxr for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the absolute price oscillator (APO) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#apo for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:fastperiodPositive integers are accepted. By default,
fastperiod: 12.:slowperiodPositive integers are accepted. By default,
slowperiod: 26.:matypeMoving average type. By default,
matype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the Aroon (AROON) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#aroon for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the Aroon oscillator (AROONOSC) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#aroonosc for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the average true range (ATR) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#atr for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec bbands(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the Bollinger bands (BBANDS) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#bbands for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:nbdevupThe standard deviation multiplier of the upper band. Positive integers are accepted. By default,
nbdevup: 2.:nbdevdnThe standard deviation multiplier of the lower band. Positive integers are accepted. By default,
nbdevdn: 2.:matypeMoving average type of the time series. By default,
matype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the balance of power (BOP) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#bop for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the commodity channel index (CCI) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#cci for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec cmo(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the Chande momentum oscillator (CMO) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#cmo for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec dema(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the double exponential moving average (DEMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#dema for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the directional movement index (DX) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#ex for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec ema(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the exponential moving average (EMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#ema for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec ht_dcperiod(String.t(), String.t(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the Hilbert transform, dominant cycle period (HT_DCPERIOD) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#htdcperiod more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec ht_dcphase(String.t(), String.t(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the Hilbert transform, dominant cycle phase (HT_DCPHASE) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#htdcphase more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the Hilbert transform, phasor components (HT_PHASOR) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#htphasor more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the Hilbert transform, sine wave (HT_SINE) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#htsine for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec ht_trendline(String.t(), String.t(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the Hilbert transform, instantaneous trendline (HT_TRENDLINE) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#httrendline for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec ht_trendmode(String.t(), String.t(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the Hilbert transform, trend vs cycle mode (HT_TRENDMODE) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#httrendmode for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec kama(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the Kaufman adaptive moving average (KAMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#kama for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec macd(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the moving average convergence / divergence (MACD) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#macd for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:fastperiodPositive integers are accepted. By default,
fastperiod: 12.:slowperiodPositive integers are accepted. By default,
slowperiod: 26.:signalperiodPositive integers are accepted. By default,
signalperiod: 9.:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec macdext(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the moving average convergence / divergence values with controllable moving average type (MACDEXT) for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#macdext for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:fastperiodPositive integers are accepted. By default,
fastperiod: 12.:slowperiodPositive integers are accepted. By default,
slowperiod: 26.:signalperiodPositive integers are accepted. By default,
signalperiod: 9.:fastmatypeMoving average type for the faster moving average. By default,
fastmatype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:slowmatypeMoving average type for the slower moving average. By default,
slowmatype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:signalmatypeMoving average type for the signal moving average. By default,
signalmatype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec mama(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the MESA adaptive moving average (MAMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#mama for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the money flow index (MFI) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#mfi for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec midpoint(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the midpoint (MIDPOINT) values for a given symbol, interval, time period, and series type. MIDPOINT = (highest value + lowest value)/2.
Please reference https://www.alphavantage.co/documentation/#midpoint for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the midprice (MIDPRICE) values for a given symbol, interval, and time period. MIDPRICE = (highest value + lowest value)/2.
Please reference https://www.alphavantage.co/documentation/#midpoint for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the minus directional indicator (MINUS_DI) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#minusdi for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the minus directional movement (MINUS_DM) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#minusdm for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec mom(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the momentum (MOM) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#mom for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the normalized average true range (NATR) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#natr for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the on balance volume (OBV) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#obv for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the plus directional indicator (PLUS_DI) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#plusdi for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the plus directional movement (PLUS_DM) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#plusdm for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the percentage price oscillator (PPO) values for a given symbol, interval, and series type.
Please reference https://www.alphavantage.co/documentation/#ppo for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:fastperiodPositive integers are accepted. By default,
fastperiod: 12.:slowperiodPositive integers are accepted. By default,
slowperiod: 26.:matypeMoving average type. By default,
matype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec roc(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the rate of change (ROC) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#roc for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec rocr(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the rate of change ratio (ROCR) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#rocr for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec rsi(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the relative strength index (RSI) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#rsi for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the parabolic SAR (SAR) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#sar for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:accelerationThe acceleration factor. Positive floats are accepted. By default,
acceleration: 0.01.:maximumThe acceleration factor maximum value. Positive floats are accepted. By default,
maximum: 0.20.:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec sma(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the simple moving average (SMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#sma for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the stochastic oscillator (STOCH) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#stoch for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:fastkperiodThe time period of the fastk moving average. Positive integers are accepted. By default,
fastkperiod: 5.:slowkperiodThe time period of the slowk moving average. Positive integers are accepted. By default,
slowkperiod: 3.:slowdperiodThe time period of the slowd moving average. Positive integers are accepted. By default,
slowdperiod: 3.:slowkmatypeMoving average type for the slowk moving average. By default,
slowkmatype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:slowdmatypeMoving average type for the slowd moving average. By default,
slowdmatype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the stochastic fast (STOCHF) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#stochf for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:fastkperiodThe time period of the fastk moving average. Positive integers are accepted. By default,
fastkperiod: 5.:fastdperiodThe time period of the fastd moving average. Positive integers are accepted. By default,
fastdperiod: 3.:fastdmatypeMoving average type for the fastd moving average. By default,
fastdmatype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec stochrsi(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the stochastic relative strength index (STOCHRSI) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#stochrsi for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:fastkperiodThe time period of the fastk moving average. Positive integers are accepted. By default,
fastkperiod: 5.:fastdperiodThe time period of the fastd moving average. Positive integers are accepted. By default,
fastdperiod: 3.:fastdmatypeMoving average type for the fastd moving average. By default,
fastdmatype: 0. Integers 0 - 8 are accepted with the following mappings. 0 = Simple Moving Average (SMA), 1 = Exponential Moving Average (EMA), 2 = Weighted Moving Average (WMA), 3 = Double Exponential Moving Average (DEMA), 4 = Triple Exponential Moving Average (TEMA), 5 = Triangular Moving Average (TRIMA), 6 = T3 Moving Average, 7 = Kaufman Adaptive Moving Average (KAMA), 8 = MESA Adaptive Moving Average (MAMA).:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec t3(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the triple exponential moving average (T3) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#t3 for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec tema(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the triple exponential moving average (TEMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#tema for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the true range (TRANGE) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#trange for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec trima(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the triangular moving average (TRIMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#trima for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec trix(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the 1-day rate of change of a triple smooth exponential moving average (TRIX) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#trix for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the ultimate oscillator (ULTOSC) values for a given symbol and interval.
Please reference https://www.alphavantage.co/documentation/#ultosc for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly"
Optional (accepted as a keyword list)
:timeperiod1The first time period for the indicator. Positive integers are accepted. By default,
timeperiod1: 7.:timeperiod2The second time period for the indicator. Positive integers are accepted. By default,
timeperiod1: 14.:timeperiod3The third time period for the indicator. Positive integers are accepted. By default,
timeperiod1: 28.:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the volume weighted average price (VWAP) for intraday time series given a symbol and interval.
Please reference https://www.alphavantage.co/documentation/#vwap for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
Returns the Williams' %R (WILLR) values for a given symbol, interval, and time period.
Please reference https://www.alphavantage.co/documentation/#willr for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200)
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.
@spec wma(String.t(), String.t(), integer(), String.t(), Keyword.t()) :: AlphaVantage.Gateway.response()
Returns the weighted moving average (WMA) values for a given symbol, interval, time period, and series type.
Please reference https://www.alphavantage.co/documentation/#wma for more detail.
Parameters
Required
:symbolThe name of the security of your choice, provided as a string. For example:
"MSFT":intervalTime interval between two consecutive data points in the time series. The following values are supported and accepted as strings:
"1min","5min","15min","30min","60min","daily","weekly","monthly":time_periodNumber of data points used to calculate each moving average value. Positive integers are accepted: (e.g.,
60,200):series_typeThe desired price type in the time series. Four types are supported and accepted as strings:
"close","open","high","low"
Optional (accepted as a keyword list)
:datatype"map"returns a map (default);"json"returns JSON format;"csv"returns a CSV (comma separated value) file string.