Manages positions and orders.

The PositionManager..::.PositionData type exposes the following members.

Constructors

  NameDescription
PositionManager..::.PositionData
Constructs a new PositionData object.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a string representation of this position.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
BarCountExit
The number of bars before this position will be closed automatically. If this value is less than zero, the position will not be automatically closed.
ProfitTarget
The profit target for the position.
ProfitTargetType
The type of profit target for the position.
StopLoss
The stop loss for the position.
StopLossType
The type of stop loss for the position.
TrailingStop
Gets the current trailing stop for this position.
TrailingStopType
Indicates whether the trailing stop is specified as a percentage or a fixed price offset for a trailing stop order.

See Also