Enum Class Enums.BarData

java.lang.Object
java.lang.Enum<Enums.BarData>
com.motivewave.platform.sdk.common.Enums.BarData
All Implemented Interfaces:
Serializable, Comparable<Enums.BarData>, Constable
Enclosing interface:
Enums

public static enum Enums.BarData extends Enum<Enums.BarData>
Source of the data described in the historical price bars.
  • Enum Constant Details

    • PRICE

      public static final Enums.BarData PRICE
      Historically traded prices.
    • BID

      public static final Enums.BarData BID
      Historical bid prices.
    • ASK

      public static final Enums.BarData ASK
      Historical ask prices.
    • MIDPOINT

      public static final Enums.BarData MIDPOINT
      Historical midpoint between the bid and ask prices (bid + ask)/2
  • Method Details

    • values

      public static Enums.BarData[] 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 Enums.BarData 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Enums.BarData>