MACDResponse.MetaData

public void MACDResponse.MetaData(String symbol, String indicator, String lastRefreshed, String interval, double fastPeriod, double slowPeriod, double signalPeriod, String seriesType, String timeZone)

Creates a populated metadata instance.

Parameters

symbol

the requested symbol

indicator

the indicator's name, as reported by the API

lastRefreshed

the timestamp of the most recent data point

interval

the requested time interval between data points

fastPeriod

the requested number of data points in the fast EMA

slowPeriod

the requested number of data points in the slow EMA

signalPeriod

the requested number of data points in the signal line's EMA

seriesType

the requested price series field MACD is computed from

timeZone

the time zone the response's timestamps are expressed in


public void MACDResponse.MetaData()

Creates an empty metadata instance, used for failed responses.