ULTOSCResponse

public class ULTOSCResponse

Response for the ultimate oscillator (ULTOSC), a momentum oscillator that combines buying pressure across three time periods to reduce the false-divergence signals a single-period oscillator produces.

Unlike most single-output indicators, ULTOSC does not extend one of the package's shared response bases: its metadata carries three separate time periods that none of the shared MetaData shapes accommodate, so it defines its own MetaData and parser instead.

Author

Sylvester Sefa-Yeboah

Since

1.1.0

Types

Link copied to clipboard
public class MetaData
Metadata describing the request that produced a ULTOSCResponse, echoed back by the API alongside the indicator values themselves.
Link copied to clipboard
Parser for ULTOSCResponse.

Properties

Link copied to clipboard
The API's error message, or null if the request succeeded.
Link copied to clipboard
The indicator's values, one unit per date in the requested series.
Link copied to clipboard
The response's metadata, echoing the request's parameters.

Functions

Link copied to clipboard
Returns the API's error message.
Link copied to clipboard
Returns the indicator's values.
Link copied to clipboard
Returns the response's metadata.
Link copied to clipboard
public static ULTOSCResponse of(Map<String, Object> stringObjectMap)
Parses a raw API response into a ULTOSCResponse.
Link copied to clipboard
public String toString()