The PositionStats type exposes the following members.

Properties

  NameDescription
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.

See Also