SectorUnit

public final class SectorUnit

The performance of each of the eleven market sectors over a single time window, as percentage-change strings exactly as the API returns them.

Author

Sylvester Sefa-Yeboah

Since

1.4.0

Constructors

Link copied to clipboard
public void SectorUnit(String informationTechnology, String consumerDiscretionary, String healthCare, String communicationServices, String realEstate, String utilities, String financials, String materials, String industrials, String consumerStaples, String energy)
Creates the performance breakdown for a single time window, one percentage-change string per sector, exactly as the API returns them.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public String energy
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Returns the change for the Communication Services sector.
Link copied to clipboard
Returns the change for the Consumer Discretionary sector.
Link copied to clipboard
Returns the change for the Consumer Staples sector.
Link copied to clipboard
public String getEnergy()
Returns the change for the Energy sector.
Link copied to clipboard
Returns the change for the Financials sector.
Link copied to clipboard
Returns the change for the Health Care sector.
Link copied to clipboard
Returns the change for the Industrials sector.
Link copied to clipboard
Returns the change for the Information Technology sector.
Link copied to clipboard
Returns the change for the Materials sector.
Link copied to clipboard
Returns the change for the Real Estate sector.
Link copied to clipboard
Returns the change for the Utilities sector.
Link copied to clipboard
public String toString()