Lean  $LEAN_TAG$
QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding Class Reference

Holding of an asset at a point in time More...

Public Member Functions

 PointInTimeHolding (Symbol symbol, decimal holdingsValue, decimal holdingsQuantity)
 Creates an instance of PointInTimeHolding, representing a holding at a given point in time More...
 

Public Attributes

decimal AbsoluteHoldingsValue => Math.Abs(HoldingsValue)
 Absolute value of the holdings. More...
 
decimal AbsoluteHoldingsQuantity => Math.Abs(Quantity)
 Absolute value of the quantity More...
 

Properties

Symbol Symbol [get]
 Symbol of the holding More...
 
decimal HoldingsValue [get]
 Value of the holdings of the asset. Can be negative if shorting an asset More...
 
decimal Quantity [get]
 Quantity of the asset. Can be negative if shorting an asset More...
 

Detailed Description

Holding of an asset at a point in time

Definition at line 105 of file PointInTimePortfolio.cs.

Constructor & Destructor Documentation

◆ PointInTimeHolding()

QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.PointInTimeHolding ( Symbol  symbol,
decimal  holdingsValue,
decimal  holdingsQuantity 
)

Creates an instance of PointInTimeHolding, representing a holding at a given point in time

Parameters
symbolSymbol of the holding
holdingsValueValue of the holding
holdingsQuantityQuantity of the holding

Definition at line 140 of file PointInTimePortfolio.cs.

Member Data Documentation

◆ AbsoluteHoldingsValue

decimal QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.AbsoluteHoldingsValue => Math.Abs(HoldingsValue)

Absolute value of the holdings.

Definition at line 126 of file PointInTimePortfolio.cs.

◆ AbsoluteHoldingsQuantity

decimal QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.AbsoluteHoldingsQuantity => Math.Abs(Quantity)

Absolute value of the quantity

Definition at line 132 of file PointInTimePortfolio.cs.

Property Documentation

◆ Symbol

Symbol QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.Symbol
get

Symbol of the holding

Definition at line 110 of file PointInTimePortfolio.cs.

◆ HoldingsValue

decimal QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.HoldingsValue
get

Value of the holdings of the asset. Can be negative if shorting an asset

Definition at line 115 of file PointInTimePortfolio.cs.

◆ Quantity

decimal QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.Quantity
get

Quantity of the asset. Can be negative if shorting an asset

Definition at line 120 of file PointInTimePortfolio.cs.


The documentation for this class was generated from the following file: