Function

public enum Function

The function API parameter, selecting which Alpha Vantage endpoint a request calls.

Every request builder in the library sets one of these constants, typically as a fixed default in the builder's constructor (for example, DailyRequest.Builder defaults to TIME_SERIES_DAILY). toString is not overridden, so each constant serializes to its own declared Java name unchanged (for example, SMA serializes to "SMA") — this is also Alpha Vantage's own function code for that constant.

Author

Sylvester Sefa-Yeboah

Since

1.0.1

Entries

Link copied to clipboard

Intraday time series of an equity's open, high, low, close, and volume, at a selectable interval within the current or most recent trading day.

Link copied to clipboard

Full-history intraday time series of an equity, delivered as monthly CSV slices going back up to 20 years.

Link copied to clipboard

Daily time series of an equity's open, high, low, close, and volume, unadjusted for splits or dividends.

Link copied to clipboard

Daily time series of an equity's open, high, low, close, and volume, adjusted for splits and dividends.

Link copied to clipboard

Weekly time series of an equity's open, high, low, close, and volume, covering the last trading day of each week.

Link copied to clipboard

Weekly time series of an equity's open, high, low, close, and volume, adjusted for splits and dividends.

Link copied to clipboard

Monthly time series of an equity's open, high, low, close, and volume, covering the last trading day of each month.

Link copied to clipboard

Monthly time series of an equity's open, high, low, close, and volume, adjusted for splits and dividends.

Link copied to clipboard

Latest price and volume snapshot for a single equity.

Link copied to clipboard

Latest price and volume snapshot for up to 100 equities in a single request.

Link copied to clipboard

Current market status — open, closed, pre-market, or post-market — of major global trading venues.

Link copied to clipboard

Best-matching symbols and market information for a search keyword.

Link copied to clipboard

Realtime exchange rate for a physical currency pair, a digital currency pair, or a physical/digital currency pair.

Link copied to clipboard

Intraday time series of a forex currency pair's open, high, low, and close, at a selectable interval.

Link copied to clipboard

Daily time series of a forex currency pair's open, high, low, and close.

Link copied to clipboard

Weekly time series of a forex currency pair's open, high, low, and close.

Link copied to clipboard

Monthly time series of a forex currency pair's open, high, low, and close.

Link copied to clipboard

Daily time series of a digital currency traded on a specified market, with open, high, low, close, and volume in both the market currency and USD.

Link copied to clipboard

Weekly time series of a digital currency traded on a specified market, with open, high, low, close, and volume in both the market currency and USD.

Link copied to clipboard

Monthly time series of a digital currency traded on a specified market, with open, high, low, close, and volume in both the market currency and USD.

Link copied to clipboard

Alpha Vantage's proprietary FCAS rating for a digital currency.

Link copied to clipboard

Intraday time series of a digital currency traded on a specified market, at a selectable interval.

Link copied to clipboard

Simple moving average (SMA) values.

Link copied to clipboard

Exponential moving average (EMA) values.

Link copied to clipboard

Weighted moving average (WMA) values.

Link copied to clipboard

Double exponential moving average (DEMA) values.

Link copied to clipboard

Triple exponential moving average (TEMA) values.

Link copied to clipboard

Triangular moving average (TRIMA) values.

Link copied to clipboard

Kaufman adaptive moving average (KAMA) values.

Link copied to clipboard

MESA adaptive moving average (MAMA) values, alongside its following adaptive moving average (FAMA).

Link copied to clipboard

Volume weighted average price (VWAP) for intraday time series.

Link copied to clipboard

T3, Tillson's triple exponential moving average, values.

Link copied to clipboard

Moving average convergence / divergence (MACD) values.

Link copied to clipboard

Moving average convergence / divergence (MACD) values, with configurable moving-average types for each of its three components.

Link copied to clipboard

Stochastic oscillator (STOCH) values.

Link copied to clipboard

Stochastic fast (STOCHF) values.

Link copied to clipboard

Relative strength index (RSI) values.

Link copied to clipboard

Stochastic relative strength index (STOCHRSI) values.

Link copied to clipboard

Williams' %R (WILLR) values.

Link copied to clipboard

Average directional movement index (ADX) values.

Link copied to clipboard

Average directional movement index rating (ADXR) values.

Link copied to clipboard

Absolute price oscillator (APO) values.

Link copied to clipboard

Percentage price oscillator (PPO) values.

Link copied to clipboard

Momentum (MOM) values.

Link copied to clipboard

Balance of power (BOP) values.

Link copied to clipboard

Commodity channel index (CCI) values.

Link copied to clipboard

Chande momentum oscillator (CMO) values.

Link copied to clipboard

Rate of change (ROC) values.

Link copied to clipboard

Rate of change ratio (ROCR) values.

Link copied to clipboard

Aroon (AROON) values.

Link copied to clipboard

Aroon oscillator (AROONOSC) values.

Link copied to clipboard

Money flow index (MFI) values.

Link copied to clipboard

1-day rate of change of a triple exponentially smoothed moving average (TRIX) values.

Link copied to clipboard

Ultimate oscillator (ULTOSC) values.

Link copied to clipboard

Directional movement index (DX) values.

Link copied to clipboard

Minus directional indicator (MINUS_DI) values.

Link copied to clipboard

Plus directional indicator (PLUS_DI) values.

Link copied to clipboard

Minus directional movement (MINUS_DM) values.

Link copied to clipboard

Plus directional movement (PLUS_DM) values.

Link copied to clipboard

Bollinger Bands (BBANDS) values.

Link copied to clipboard

Midpoint (MIDPOINT) values, the midpoint of a series over a period.

Link copied to clipboard

Midprice (MIDPRICE) values, the midpoint of a period's high and low.

Link copied to clipboard

Parabolic SAR (SAR) values.

Link copied to clipboard

True range (TRANGE) values.

Link copied to clipboard

Average true range (ATR) values.

Link copied to clipboard

Normalized average true range (NATR) values.

Link copied to clipboard

Chaikin A/D line (AD) values.

Link copied to clipboard

Chaikin A/D oscillator (ADOSC) values.

Link copied to clipboard

On balance volume (OBV) values.

Link copied to clipboard

Hilbert transform, instantaneous trendline (HT_TRENDLINE) values.

Link copied to clipboard

Hilbert transform, sine wave (HT_SINE) values.

Link copied to clipboard

Hilbert transform, trend vs cycle mode (HT_TRENDMODE) values.

Link copied to clipboard

Hilbert transform, dominant cycle period (HT_DCPERIOD) values.

Link copied to clipboard

Hilbert transform, dominant cycle phase (HT_DCPHASE) values.

Link copied to clipboard

Hilbert transform, phasor components (HT_PHASOR) values.

Link copied to clipboard

Realtime and historical performance of the S&P 500's constituent sectors across various time ranges.

Link copied to clipboard

Company information, financial ratios, and other key metrics for an equity.

Link copied to clipboard

Annual and quarterly income statements for an equity.

Link copied to clipboard

Annual and quarterly balance sheets for an equity.

Link copied to clipboard

Annual and quarterly cash flow statements for an equity.

Link copied to clipboard

Annual and quarterly earnings per share (EPS) for an equity.

Link copied to clipboard

List of active or delisted equities and ETFs, as of a given date.

Link copied to clipboard

Annual and quarterly real gross domestic product (GDP) of the United States.

Link copied to clipboard

Quarterly real GDP per capita of the United States.

Link copied to clipboard

Daily, weekly, and monthly US Treasury yield for a given maturity.

Link copied to clipboard

Daily, weekly, and monthly federal funds rate (interest rate) of the United States.

Link copied to clipboard

Monthly and semiannual consumer price index (CPI) of the United States.

Link copied to clipboard

Annual inflation rate of the United States, as measured by the consumer price index.

Link copied to clipboard

Monthly median expected inflation rate over the next 12 months, as measured by the University of Michigan's Surveys of Consumers.

Link copied to clipboard

Monthly consumer sentiment and confidence index of the United States, as measured by the University of Michigan's Surveys of Consumers.

Link copied to clipboard

Monthly advance retail sales of the United States.

Link copied to clipboard

Monthly manufacturers' new orders for durable goods in the United States.

Link copied to clipboard

Monthly unemployment rate of the United States.

Link copied to clipboard

Monthly total nonfarm payroll of the United States, a key indicator of overall employment.

Functions

Link copied to clipboard
public static Function valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<Function> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.