SectorResponse

public final class SectorResponse

A sector performance response, holding one SectorUnit per trailing time window keyed by that window's name, alongside the response metadata.

Author

Sylvester Sefa-Yeboah

Since

1.4.0

Types

Link copied to clipboard
public final class MetaData
The metadata that accompanies a SectorResponse.
Link copied to clipboard
public class SectorParser extends Parser<SectorResponse>
Turns a decoded SECTOR payload into a SectorResponse.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Returns the error message the API returned, if the request failed.
Link copied to clipboard
Returns sector performance over the trailing five trading days.
Link copied to clipboard
Returns sector performance over the trailing five years.
Link copied to clipboard
Returns the metadata that accompanies this response.
Link copied to clipboard
Returns sector performance over the trailing one trading day.
Link copied to clipboard
Returns sector performance over the trailing one month.
Link copied to clipboard
Returns sector performance over the trailing one year.
Link copied to clipboard
Returns sector performance measured against the most recent real-time trade.
Link copied to clipboard
Returns sector performance over the trailing ten years.
Link copied to clipboard
Returns sector performance over the trailing three months.
Link copied to clipboard
Returns sector performance over the trailing three years.
Link copied to clipboard
Returns sector performance since the start of the calendar year.
Link copied to clipboard
public static SectorResponse of(Map<String, Object> stringObjectMap)
Turns a decoded SECTOR payload into a SectorResponse.
Link copied to clipboard
public String toString()