Enum Class Enums.BarSizeType
- All Implemented Interfaces:
Serializable
,Comparable<Enums.BarSizeType>
,Constable
- Enclosing interface:
Enums
Describes the type of BarSize.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBid/Ask Lines.Each bar has a set associated volume.Hybrid version of Japanese Renko (Brick) bars.Linear bars (in number of minutes).Specialized Renko version developed by Newbie Trader.Order Flow Analytics Bars.Order Flow Analytics Linear Bars.Point and Figure Bars.Base on price range.Japanese Renko (Brick) bars.Reversal Bars.Based on the number of ticks per bar. -
Method Summary
Modifier and TypeMethodDescriptionstatic Enums.BarSizeType
boolean
boolean
toString()
static Enums.BarSizeType
Returns the enum constant of this class with the specified name.static Enums.BarSizeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINEAR
Linear bars (in number of minutes). -
BID_ASK
Bid/Ask Lines. -
TICK
Based on the number of ticks per bar. -
CONSTANT_VOLUME
Each bar has a set associated volume. -
RANGE
Base on price range. -
RENKO
Japanese Renko (Brick) bars. -
HYBRID_RENKO
Hybrid version of Japanese Renko (Brick) bars. -
NT_RENKO
Specialized Renko version developed by Newbie Trader. -
POINT_AND_FIGURE
Point and Figure Bars. -
REVERSAL
Reversal Bars. -
OFA
Order Flow Analytics Bars. -
OFA_LINEAR
Order Flow Analytics Linear Bars.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
supportsHistoricalBars
public boolean supportsHistoricalBars() -
supportsRestartDaily
public boolean supportsRestartDaily() -
toString
- Overrides:
toString
in classEnum<Enums.BarSizeType>
-
getShortCode
-
fromCode
-