Package-level declarations

The response DTOs shared across Alpha Vantage's technical indicator endpoints.

Most indicators report one numeric value per date and reuse com.crazzyghost.alphavantage.indicator.response.SimpleIndicatorUnit for that value rather than defining their own unit type; which base response class an indicator builds on — com.crazzyghost.alphavantage.indicator.response.SimpleIndicatorResponse, com.crazzyghost.alphavantage.indicator.response.PeriodicResponse, com.crazzyghost.alphavantage.indicator.response.PeriodicSeriesResponse, com.crazzyghost.alphavantage.indicator.response.SeriesResponse or com.crazzyghost.alphavantage.indicator.response.PriceOscillatorResponse — depends on which request parameters it takes, not on its output shape. Multi-field indicators such as BBANDS and STOCH are the exception: each defines its own *Response/*IndicatorUnit pair, one level deeper in a same-named subpackage such as indicator.response.bbands.

Types

Link copied to clipboard
public abstract class PeriodicResponse
Base response for indicators driven by com.crazzyghost.alphavantage.indicator.request.PeriodicRequest, a rolling time period with no chosen price series — WILLR, ADX, ADXR, CCI, AROONOSC, MFI, DX, MINUS_DI, PLUS_DI, MINUS_DM, PLUS_DM, MIDPRICE, ATR, and NATR.
Link copied to clipboard
public abstract class PeriodicSeriesResponse
Base response for indicators driven by com.crazzyghost.alphavantage.indicator.request.PeriodicSeriesRequest, a rolling time period applied to a chosen price series — SMA, EMA, WMA, DEMA, TEMA, TRIMA, KAMA, T3, RSI, MOM, CMO, ROC, ROCR, TRIX, and MIDPOINT.
Link copied to clipboard
public abstract class PriceOscillatorResponse
Base response for indicators driven by com.crazzyghost.alphavantage.indicator.request.PriceOscillatorRequest, the fast/slow moving-average difference oscillators APO and PPO.
Link copied to clipboard
public abstract class SeriesResponse
Base response for indicators driven by com.crazzyghost.alphavantage.indicator.request.SeriesRequest, a chosen price series with no rolling time-period parameter — the Hilbert transform studies HT_TRENDLINE, HT_TRENDMODE, HT_DCPERIOD, and HT_DCPHASE.
Link copied to clipboard
public abstract class SimpleIndicatorResponse
Base response for indicators driven by com.crazzyghost.alphavantage.indicator.request.SimpleIndicatorRequest, which take no parameters beyond symbol and intervalVWAP, BOP, TRANGE, AD, and OBV.
Link copied to clipboard
A single date/value pair for any indicator that reports one numeric value per date — every family built on PeriodicResponse, PeriodicSeriesResponse, SeriesResponse, SimpleIndicatorResponse, and PriceOscillatorResponse reuses this class rather than defining its own unit type, unlike multi-field indicators such as BBANDS or STOCH, which define their own *IndicatorUnit classes.