The PositionStats type exposes the following members.
The commission costs paid so far for a position.
The current size (in shares or contracts) of a position.
The weighted average of the entry price for the shares or contracts that currently make up this position.
The position exit price, as a weighted average.
The position gross entry price, as a weighted average.
The gross size of a position.
The amount of interest earned or paid on this position.
The maximum size of a position.
The weighted average of the entry price on the portion of this position which has been exited.
The realized profit for this position.