Position Class
[DataContract()]
public class Position
This language is not supported or no code example is available.
[DataContract()]
public ref class Position
This language is not supported or no code example is available.
Name | Description | |
---|---|---|
![]() |
Position() | |
![]() |
Position(Portfolio, Instrument) | Initializes a new instance of the Position class. |
Name | Description | |
---|---|---|
![]() |
Amount | Gets the amount. |
![]() |
AvgPx | |
![]() |
Commissions | Gets the commissions. |
![]() |
EntryDate | |
![]() |
EntryPrice | |
![]() |
EntryQty | |
![]() |
Fills | Gets the fills. |
![]() |
Id | |
![]() |
Instrument | Gets the instrument. |
![]() |
InstrumentId | |
![]() |
LongPositionQty | Gets the qty of long sub position. |
![]() |
OpenValue | |
![]() |
PnL | Gets the realized PnL |
![]() |
Portfolio | Gets the portfolio. |
![]() |
PortfolioId | |
![]() |
Price | Gets the price. |
![]() |
Qty | Gets the qty. |
![]() |
QtyBought | Gets the qty bought. |
![]() |
QtySold | Gets the qty sold. |
![]() |
ShortPositionQty | Gets the qty of short sub position. |
![]() |
Side | Gets the side. |
![]() |
UPnL | Gets the unrealized PnL |
![]() |
Value | Gets the value. |
Name | Description | |
---|---|---|
![]() |
Add(Fill) | Adds the specified fill. |
![]() |
GetSideAsString() | |
![]() |
ToString() |