MetaData

public class MetaData

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

Constructors

Link copied to clipboard
public void MACDEXTResponse.MetaData(String symbol, String indicator, String lastRefreshed, String interval, double fastPeriod, double slowPeriod, double signalPeriod, double fastMaType, double slowMaType, double signalMaType, String seriesType, String timeZone)
Creates a populated metadata instance.
Creates an empty metadata instance, used for failed responses.

Properties

Link copied to clipboard
public double fastMaType
The requested moving-average type used for the fast component, as its wire value.
Link copied to clipboard
public double fastPeriod
The requested number of data points in the fast moving average.
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
The requested price series field MACD is computed from.
Link copied to clipboard
public double signalMaType
The requested moving-average type used for the signal line, as its wire value.
Link copied to clipboard
public double signalPeriod
The requested number of data points in the signal line's moving average.
Link copied to clipboard
public double slowMaType
The requested moving-average type used for the slow component, as its wire value.
Link copied to clipboard
public double slowPeriod
The requested number of data points in the slow moving average.
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 getFastMaType()
Returns the requested fast component's moving-average type wire value.
Link copied to clipboard
public double getFastPeriod()
Returns the requested number of data points in the fast moving average.
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
Returns the requested price series field MACD is computed from.
Link copied to clipboard
public double getSignalMaType()
Returns the requested signal line's moving-average type wire value.
Link copied to clipboard
public double getSignalPeriod()
Returns the requested number of data points in the signal line's moving average.
Link copied to clipboard
public double getSlowMaType()
Returns the requested slow component's moving-average type wire value.
Link copied to clipboard
public double getSlowPeriod()
Returns the requested number of data points in the slow moving average.
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()