The PositionStats type exposes the following members.

Constructors

  NameDescription
Public methodPositionStats
Initializes a new instance of the PositionStats class

Methods

  NameDescription
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCommission
The commission costs paid so far for a position.
Public propertyCurrentSize
The current size (in shares or contracts) of a position.
Public propertyEntryPrice
The weighted average of the entry price for the shares or contracts that currently make up this position.
Public propertyExitPrice
The position exit price, as a weighted average.
Public propertyGrossEntryPrice
The position gross entry price, as a weighted average.
Public propertyGrossSize
The gross size of a position.
Public propertyInterest
The amount of interest earned or paid on this position.
Public propertyMaxSize
The maximum size of a position.
Public propertyRealizedEntryPrice
The weighted average of the entry price on the portion of this position which has been exited.
Public propertyRealizedProfit
The realized profit for this position.

See Also