MarketStatusResponse

The per-market trading status returned by a MARKET_STATUS call, or the message the API returned in place of it.

A response carries results or an error, never both. On success getErrorMessage is null and getMarkets holds one entry per market Alpha Vantage tracks; on failure the message is set and the market list is empty.

Author

Sylvester Sefa-Yeboah

Since

1.7.0

Properties

Link copied to clipboard
public final String errorMessage
Link copied to clipboard
public final List<Market> markets

Functions

Link copied to clipboard
Gets the reason the request failed, as reported by the API.
Link copied to clipboard
Gets the trading status of every market Alpha Vantage tracks.
Link copied to clipboard
public static MarketStatusResponse of(Map<String, Object> data)
Builds a response from a decoded MARKET_STATUS payload.
Link copied to clipboard
public String toString()