Click or drag to resize

PositionState Enumeration

State of algorithmic position of a strategy.

Namespace:  MZpack.NT8.Algo
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
[FlagsAttribute]
public enum PositionState
Members
  Member nameValueDescription
Flat0
EntrySubmitting2 Entry market or limit order submitted
LongLimitPending4 There are pending buy limit orders. No orders have been filled.
ShortLimitPending8 There are pending sell limit orders. No orders have been filled.
Long32 Buy orders have been filled.
Short64 Sell orders have been filled.
LimitPending12 Long or short limit pending. if ((state.HasFlag(PositionState.LimitPending)) { ... }
LongMarketPending128
ShortMarketPending256
See Also