Click or drag to resize

Position Class

Algorithmic position of a strategy. You will never create this object.
Inheritance Hierarchy
SystemObject
  ViewModelBase
    MZpack.NT8.AlgoPosition

Namespace:  MZpack.NT8.Algo
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
[SerializableAttribute]
public class Position : ViewModelBase

The Position type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAttemptsLeft
Number of attempts to enter position after canceling/rejecting orders.
Public propertyEntries
Entries of the position.
Public propertyState
Logical state of the position.
Public propertyStrategy
MZpack Algo strategy.
Top
Methods
  NameDescription
Public methodCancelClose
Public methodCancelPendingOrders
Public methodClose
Public methodEnter
Public methodHasPendingLimitOrders
True if the position has pending limit orders.
Public methodHasTrailedEntries
True if the position has currently trailed entries.
Public methodIsEntryOrder
Public methodOnExecution
Public methodOnMarketDepth
Public methodOnOrderUpdate
Public methodOnPositionUpdate
Public methodResetAttempts
Public methodSetStopLossProfitTarget
Public methodStatic memberStateToSignalDirection
Converts position state to direction of signal. E.g. PositionState.Long => SignalDirection.Long.
Top
Fields
See Also