MetaData

public class MetaData

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

Constructors

Link copied to clipboard
public void STOCHResponse.MetaData(String symbol, String indicator, String lastRefreshed, String interval, double fastKPeriod, double slowKPeriod, double slowKMaType, double slowDPeriod, double slowDMaType, String timeZone)
Creates a populated metadata instance.
public void STOCHResponse.MetaData()
Creates an empty metadata instance, used for failed responses.

Properties

Link copied to clipboard
public double fastKPeriod
The requested raw %K look-back period.
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 double slowDMaType
The requested moving-average type used to smooth slow %D, as its wire value.
Link copied to clipboard
public double slowDPeriod
The requested slow %D smoothing period.
Link copied to clipboard
public double slowKMaType
The requested moving-average type used to smooth slow %K, as its wire value.
Link copied to clipboard
public double slowKPeriod
The requested slow %K smoothing period.
Link copied to clipboard
public String symbol
The requested symbol.
Link copied to clipboard
The time zone the response's timestamps are expressed in.

Functions

Link copied to clipboard
public double getFastKPeriod()
Returns the requested raw %K look-back period.
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 double getSlowDMaType()
Returns the requested slow %D moving-average type's wire value.
Link copied to clipboard
public double getSlowDPeriod()
Returns the requested slow %D smoothing period.
Link copied to clipboard
public double getSlowKMaType()
Returns the requested slow %K moving-average type's wire value.
Link copied to clipboard
public double getSlowKPeriod()
Returns the requested slow %K smoothing period.
Link copied to clipboard
public String getSymbol()
Returns the requested symbol.
Link copied to clipboard
Returns the time zone the response's timestamps are expressed in.
Link copied to clipboard
public String toString()