A portfolio position


The following tables list the members exposed by Position.

Public Properties

  Name Description
Public property Amount Gets position amount
Public property Debt Gets position debt
Public property EntryDate Gets entry date of this position
Public property EntryPrice Gets entry price of this position
Public property EntryQty Gets entry quantity of this position
Public property Instrument Gets position instrument
Public property Margin Gets position margin
Public property Qty Gets position quantity
Public property QtyBought Gets position bought quantity
Public property QtySold Gets position sold quantity
Public property QtySoldShort Gets position sold short quantity
Public property Side Gets position side
Public property Transactions Gets a list of position transactions
Top

Public Methods

  Name Description
Public method GetCashFlow Returns positon cash flow
Public method GetDebtValue Returns marked to market position debt value
Public method GetDuration Returns position duration
Public method GetLeverage Returns marked to market position leverage
Public method GetMarginValue Returns marked to market position margin value
Public method GetNetCashFlow Returns position net cash flow
Public method GetNetPnL Returns marked to market position net PnL (profit and loss)
Public method GetNetPnLPercent Returns marked to market position net PnL (profit and loss) in %
Public method GetPnL Returns marked to market position PnL (profit and loss)
Public method GetPnLPercent Returns marked to market position PnL (profit and loss) in %
Public method GetPrice Returns marked to market position price
Public method GetUnrealizedPnL Returns marked to market position unrealized PnL (profit and loss)
Public method GetValue Returns marked to market position value
Top

See Also