MetaData

public class MetaData

Metadata describing the request that produced a BBANDSResponse, echoed back by the API alongside the indicator values themselves.

Constructors

Link copied to clipboard
Creates an empty metadata instance, used for failed responses.
public void BBANDSResponse.MetaData(String symbol, String indicator, String lastRefreshed, String interval, int timePeriod, int nbdevup, int nbdevdn, int maType, String seriesType, String timeZone)
Creates a populated metadata instance.

Properties

Link copied to clipboard
The name of the indicator, as reported by the API.
Link copied to clipboard
The requested time interval between data points.
Link copied to clipboard
The timestamp of the most recent data point.
Link copied to clipboard
public int maType
The requested moving-average type, as its com.crazzyghost.alphavantage.parameters.MAType wire value.
Link copied to clipboard
public int nbdevdn
The requested number of standard deviations below the middle band.
Link copied to clipboard
public int nbdevup
The requested number of standard deviations above the middle band.
Link copied to clipboard
The requested price series field the bands are computed from.
Link copied to clipboard
public String symbol
The requested symbol.
Link copied to clipboard
public int timePeriod
The requested number of data points in the middle moving average.
Link copied to clipboard
The time zone the response's timestamps are expressed in.

Functions

Link copied to clipboard
Returns the indicator's name, as reported by the API.
Link copied to clipboard
Returns the requested time interval between data points.
Link copied to clipboard
Returns the timestamp of the most recent data point.
Link copied to clipboard
public int getMaType()
Returns the requested moving-average type's wire value.
Link copied to clipboard
public int getNbdevdn()
Returns the requested lower-band standard deviation multiplier.
Link copied to clipboard
public int getNbdevup()
Returns the requested upper-band standard deviation multiplier.
Link copied to clipboard
Returns the requested price series field the bands are computed from.
Link copied to clipboard
public String getSymbol()
Returns the requested symbol.
Link copied to clipboard
public int getTimePeriod()
Returns the requested number of data points in the middle moving average.
Link copied to clipboard
Returns the time zone the response's timestamps are expressed in.
Link copied to clipboard
public String toString()