Enum Class Enums.BarSizeType

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

public static enum Enums.BarSizeType extends Enum<Enums.BarSizeType>
Describes the type of BarSize.
  • Enum Constant Details

    • LINEAR

      public static final Enums.BarSizeType LINEAR
      Linear bars (in number of minutes).
    • BID_ASK

      public static final Enums.BarSizeType BID_ASK
      Bid/Ask Lines.
    • TICK

      public static final Enums.BarSizeType TICK
      Based on the number of ticks per bar.
    • CONSTANT_VOLUME

      public static final Enums.BarSizeType CONSTANT_VOLUME
      Each bar has a set associated volume.
    • RANGE

      public static final Enums.BarSizeType RANGE
      Base on price range.
    • RENKO

      public static final Enums.BarSizeType RENKO
      Japanese Renko (Brick) bars.
    • HYBRID_RENKO

      public static final Enums.BarSizeType HYBRID_RENKO
      Hybrid version of Japanese Renko (Brick) bars.
    • NT_RENKO

      public static final Enums.BarSizeType NT_RENKO
      Specialized Renko version developed by Newbie Trader.
    • POINT_AND_FIGURE

      public static final Enums.BarSizeType POINT_AND_FIGURE
      Point and Figure Bars.
    • REVERSAL

      public static final Enums.BarSizeType REVERSAL
      Reversal Bars.
    • OFA

      public static final Enums.BarSizeType OFA
      Order Flow Analytics Bars.
    • OFA_LINEAR

      public static final Enums.BarSizeType OFA_LINEAR
      Order Flow Analytics Linear Bars.
  • Method Details

    • values

      public static Enums.BarSizeType[] 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.BarSizeType 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
    • supportsHistoricalBars

      public boolean supportsHistoricalBars()
    • supportsRestartDaily

      public boolean supportsRestartDaily()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Enums.BarSizeType>
    • getShortCode

      public String getShortCode()
    • fromCode

      public static Enums.BarSizeType fromCode(String code)