MAMAResponse

public class MAMAResponse

Response for the MESA adaptive moving average (MAMA), an adaptive moving average that adjusts its own smoothing speed to price movement using the Hilbert transform, reported alongside its slower-following companion, FAMA.

MAMA does not extend one of the package's shared response bases: its two-value reading needs MAMAIndicatorUnit rather than the single-value SimpleTechnicalIndicatorUnit the shared bases use.

Author

Sylvester Sefa-Yeboah

Since

1.1.0

Types

Link copied to clipboard
public class MAMAParser extends DefaultParser<MAMAResponse>
Parser for MAMAResponse.
Link copied to clipboard
public class MetaData
Metadata describing the request that produced a MAMAResponse, 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 MAMA/FAMA 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 MAMA/FAMA readings.
Link copied to clipboard
Returns the response's metadata.
Link copied to clipboard
public static MAMAResponse of(Map<String, Object> stringObjectMap)
Parses a raw API response into a MAMAResponse.
Link copied to clipboard
public String toString()