Market

public class Market

The trading-hours status of one financial market, as reported by a MARKET_STATUS call.

Alpha Vantage reports every field of a market as plain text rather than a fixed set of codes; getCurrentStatus in particular is a String, not an enum, and the API has been observed to use open and closed as its wire values.

Author

Sylvester Sefa-Yeboah

Since

1.8.0

Constructors

Link copied to clipboard
public void Market()

Properties

Link copied to clipboard
@Json(name = "current_status")
public String currentStatus
Link copied to clipboard
@Json(name = "local_close")
public String localClose
Link copied to clipboard
@Json(name = "local_open")
public String localOpen
Link copied to clipboard
@Json(name = "market_type")
public String marketType
Link copied to clipboard
@Json(name = "notes")
public String notes
Link copied to clipboard
@Json(name = "primary_exchanges")
public String primaryExchanges
Link copied to clipboard
@Json(name = "region")
public String region

Functions

Link copied to clipboard
Gets whether this market is trading right now.
Link copied to clipboard
Gets the time this market closes for trading, in its own local time.
Link copied to clipboard
Gets the time this market opens for trading, in its own local time.
Link copied to clipboard
Gets the kind of market this is, such as Equity, Forex or Cryptocurrency.
Link copied to clipboard
public String getNotes()
Gets supplementary information about this market's status, such as an upcoming holiday closure.
Link copied to clipboard
Gets the exchanges this entry aggregates, as a comma-separated list such as NASDAQ, NYSE, CBOE, IEX.
Link copied to clipboard
public String getRegion()
Gets the geographic region this market covers, as in United States or Australia.
Link copied to clipboard
public String toString()