The PositionInfo type exposes the following members.


Public methodClone
Creates a copy of this position.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetClosedPosition
Returns a copy of the position with an additional trade to close the position.
Public methodGetCloseStats
Calculates what the position statistics would be if the position was closed at a given price.
Public methodGetCurrentValue
Calculates the value of this position.
Public methodGetExposure
Gets the exposure for this position.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetPositionTypeText
Provides the textual representation of the PositionType enumeration.
Public methodGetRealizedProfitPct
Gets the percent profit for a position.
Public methodGetTargetPrice
Gets the price at which the position will hit a stop loss or profit target
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnrealizedProfit
Calculates the unrealized profit for a position.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string representation of this position.
(Overrides Object..::..ToString()()()().)

See Also