Enum Class Market

java.lang.Object
java.lang.Enum<Market>
markets.alpaca.client.openapi.broker.model.Market
All Implemented Interfaces:
Serializable, Comparable<Market>, Constable

public enum Market extends Enum<Market> implements Serializable
The market identifier (MIC, BIC, or acronym).
  • Enum Constant Details

    • BMO

      public static final Market BMO
    • BNYM

      public static final Market BNYM
    • BOATS

      public static final Market BOATS
    • CEUX

      public static final Market CEUX
    • CHIX

      public static final Market CHIX
    • HKEX

      public static final Market HKEX
    • IEX

      public static final Market IEX
    • IEXG

      public static final Market IEXG
    • ISE

      public static final Market ISE
    • LSE

      public static final Market LSE
    • MTA

      public static final Market MTA
    • MTAA

      public static final Market MTAA
    • NASDAQ

      public static final Market NASDAQ
    • NYSE

      public static final Market NYSE
    • OCEA

      public static final Market OCEA
    • OPRA

      public static final Market OPRA
    • OTC

      public static final Market OTC
    • OTCM

      public static final Market OTCM
    • SIFMA

      public static final Market SIFMA
    • TADAWUL

      public static final Market TADAWUL
    • XAMS

      public static final Market XAMS
    • XBRU

      public static final Market XBRU
    • XDUB

      public static final Market XDUB
    • XETR

      public static final Market XETR
    • XETRA

      public static final Market XETRA
    • XHKG

      public static final Market XHKG
    • XLIS

      public static final Market XLIS
    • XLON

      public static final Market XLON
    • XNAS

      public static final Market XNAS
    • XNYS

      public static final Market XNYS
    • XPAR

      public static final Market XPAR
    • XSAU

      public static final Market XSAU
  • Method Details

    • values

      public static Market[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Market valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Market>
    • fromValue

      public static Market fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException