Table of Contents

Enum Direction

Namespace
DxFeed.Graal.Net.Events.Market
Assembly
DxFeed.Graal.Net.dll

Direction of the price movement. For example tick direction for last trade price.
For more details see Javadoc.

public enum Direction

Fields

Down = 1

Current price is lower than previous price.

Undefined = 0

Direction is undefined, unknown or inapplicable. It includes cases with undefined price value or when direction computation was not performed.

Up = 5

Current price is higher than previous price.

Zero = 3

Current 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 = 2

Current price is the same as previous price and is lower than the last known price of different value.

ZeroUp = 4

Current price is the same as previous price and is higher than the last known price of different value.