STOCHResponse

public class STOCHResponse

Response for the stochastic oscillator (STOCH), which compares a closing price to its recent high-low range and reports a smoothed %K and %D line.

STOCH does not extend one of the package's shared response bases: its two-line reading needs STOCHIndicatorUnit 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 MetaData
Metadata describing the request that produced a STOCHResponse, echoed back by the API alongside the indicator values themselves.
Link copied to clipboard
Parser for STOCHResponse.

Properties

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