ADOSCResponse.MetaData

public void ADOSCResponse.MetaData()

Creates an empty metadata instance, used for failed responses.


public void ADOSCResponse.MetaData(String symbol, String indicator, String lastRefreshed, String interval, int fastPeriod, int slowPeriod, 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

timeZone

the time zone the response's timestamps are expressed in