The PositionStats type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PositionStats | Initializes a new instance of the PositionStats class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (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 | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Commission |
The commission costs paid so far for a position.
| |
| CurrentSize |
The current size (in shares or contracts) of a position.
| |
| EntryPrice |
The weighted average of the entry price for the shares or contracts that
currently make up this position.
| |
| ExitPrice |
The position exit price, as a weighted average.
| |
| GrossEntryPrice |
The position gross entry price, as a weighted average.
| |
| GrossSize |
The gross size of a position.
| |
| Interest |
The amount of interest earned or paid on this position.
| |
| Margin |
The value of the margin account corresponding to this position.
| |
| MaxSize |
The maximum size of a position.
| |
| RealizedEntryPrice |
The weighted average of the entry price on the portion of this position which has been exited.
| |
| RealizedProfit |
The realized profit for this position.
| |
| ShortedCash |
The amount of cash received from short selling.
|