MACDEXTResponse

public class MACDEXTResponse

Response for MACD with controllable moving-average type (MACDEXT), a variant of MACD that lets the fast, slow, and signal components each use a different moving-average type instead of the fixed EMA the plain MACD function uses.

MACDEXT does not extend one of the package's shared response bases: like MACD, its three-value reading needs MACDIndicatorUnit rather than the single-value SimpleTechnicalIndicatorUnit the shared bases use. Its extra moving-average-type parameters live only in MACDEXTResponse.MetaData, not in the shared MACDIndicatorUnit.

Author

Sylvester Sefa-Yeboah

Since

1.1.0

Types

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

Properties

Link copied to clipboard
The API's error message, or null if the request succeeded.
Link copied to clipboard
The indicator's MACD/signal/histogram readings, 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 MACD/signal/histogram readings.
Link copied to clipboard
Returns the response's metadata.
Link copied to clipboard
public static MACDEXTResponse of(Map<String, Object> stringObjectMap)
Parses a raw API response into a MACDEXTResponse.
Link copied to clipboard
public String toString()