Position Class

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

In this article

Definition