Package-level declarations

Fluent request builders for Alpha Vantage's technical indicator endpoints.

com.crazzyghost.alphavantage.indicator.request.IndicatorRequest holds the function, symbol, interval and data type every indicator shares. Concrete subclasses add whatever further parameters their indicator requires: com.crazzyghost.alphavantage.indicator.request.PeriodicRequest and com.crazzyghost.alphavantage.indicator.request.PeriodicSeriesRequest add a time period, and com.crazzyghost.alphavantage.indicator.request.SeriesRequest adds a price series field, covering most indicators between them, while com.crazzyghost.alphavantage.indicator.request.SimpleIndicatorRequest needs neither and bespoke multi-parameter indicators such as com.crazzyghost.alphavantage.indicator.request.BBANDSRequest, com.crazzyghost.alphavantage.indicator.request.MACDRequest and com.crazzyghost.alphavantage.indicator.request.STOCHRequest each define their own. Reached through com.crazzyghost.alphavantage.indicator.Indicator.

Types

Link copied to clipboard
Request for the Chaikin A/D oscillator (ADOSC), the MACD of the Chaikin accumulation/distribution line using a fast and slow EMA period.
Link copied to clipboard
Request for Bollinger Bands (BBANDS), an upper and lower volatility band plotted a configurable number of standard deviations above and below a moving average of a price series.
Link copied to clipboard
public abstract class IndicatorRequest
Base request for every technical indicator endpoint, carrying the parameters (function, symbol, interval, datatype) that all indicators share.
Link copied to clipboard
Request for MACD with controllable moving-average type (MACDEXT), a variant of MACD that lets the fast, slow, and signal components each use a different moving-average type instead of the fixed EMA the plain MACD function uses.
Link copied to clipboard
public class MACDRequest extends IndicatorRequest
Request for moving average convergence / divergence (MACD), the difference between a fast and slow EMA of a price series, together with a signal line that is itself an EMA of that difference.
Link copied to clipboard
public class MAMARequest extends IndicatorRequest
Request for the MESA adaptive moving average (MAMA), an adaptive moving average that adjusts its own smoothing speed to price movement using the Hilbert transform, reported alongside its slower-following companion, FAMA.
Link copied to clipboard
Request for indicators that operate on a rolling time period but not on a specific price series field, such as WILLR, ADX, or CCI, which are computed directly from an instrument's high, low, and close rather than from a chosen series_type.
Link copied to clipboard
Request for indicators computed over a rolling time period applied to a chosen price series field, such as SMA, EMA, or RSI.
Link copied to clipboard
Request for the two price-oscillator indicators, APO and PPO, which measure the difference between a fast and a slow moving average of a price series.
Link copied to clipboard
public class SARRequest extends IndicatorRequest
Request for the parabolic SAR (SAR), a trend-following stop and reversal indicator that trails price and accelerates toward it over time.
Link copied to clipboard
Request for indicators computed from a chosen price series field but without a rolling time-period parameter, namely the Hilbert transform studies (HT_TRENDLINE, HT_SINE, HT_TRENDMODE, HT_DCPERIOD, HT_DCPHASE, HT_PHASOR).
Link copied to clipboard
Request for indicators that take no parameters beyond the shared function, symbol, interval, and datatype, such as VWAP, BOP, TRANGE, AD, and OBV.
Link copied to clipboard
Request for the stochastic fast oscillator (STOCHF), the unsmoothed counterpart of STOCH that reports raw %K and a lightly smoothed %D without the slow %K stage.
Link copied to clipboard
Request for the stochastic oscillator (STOCH), which compares a closing price to its recent high-low range and reports a smoothed %K and %D line.
Link copied to clipboard
Request for the stochastic relative strength index (STOCHRSI), which applies the stochastic oscillator's %K/%D calculation to RSI values instead of price, producing a more sensitive overbought/oversold reading than RSI alone.
Link copied to clipboard
Request for the ultimate oscillator (ULTOSC), a momentum oscillator that combines buying pressure across three time periods to reduce the false-divergence signals a single-period oscillator produces.