The PositionInfo type exposes the following members.

Properties

  NameDescription
Public propertyBarsHeld
The number of bars the position has been or was open for.
Public propertyCloseDate
The date of the last trade for the position, or MaxValue if the position is not closed, or there are no trades.
Public propertyCurrentStats
The PositionStats object representing the current state of the position.
Public propertyCustomString
A string that can be used to store additional user-defined data related to the position.
Public propertyDescription
A description for the position. This can be specified in the open position order.
Public propertyEntryTransType
The TransactionType used to open or add to this position.
Public propertyExitTransType
The TransactionType used to close this position or reduce its size.
Public propertyOpenDate
The date of the first trade for the position, or MaxValue if there are no trades.
Public propertyPosID
The unique ID for the position.
Public propertyStatList
A list of PositionStats objects corresponding to the statistics after each trade in Trades.
Public propertySymbol
The symbol this position was established for.

See Also