Enum Direction
Direction of the price movement. For example tick direction for last trade price.
For more details see Javadoc.
public enum Direction
Fields
Down = 1Current price is lower than previous price.
Undefined = 0Direction is undefined, unknown or inapplicable. It includes cases with undefined price value or when direction computation was not performed.
Up = 5Current price is higher than previous price.
Zero = 3Current price is equal to the only known price value suitable for price direction computation. Unlike Undefined the Zero direction implies that current price is defined and direction computation was duly performed but has failed to detect any upward or downward price movement. It is also reported for cases when price sequence was broken and direction computation was restarted anew.
ZeroDown = 2Current price is the same as previous price and is lower than the last known price of different value.
ZeroUp = 4Current price is the same as previous price and is higher than the last known price of different value.