Lean
$LEAN_TAG$
|
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... | |
Holding of an asset at a point in time
Definition at line 105 of file PointInTimePortfolio.cs.
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
symbol | Symbol of the holding |
holdingsValue | Value of the holding |
holdingsQuantity | Quantity of the holding |
Definition at line 140 of file PointInTimePortfolio.cs.
decimal QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.AbsoluteHoldingsValue => Math.Abs(HoldingsValue) |
Absolute value of the holdings.
Definition at line 126 of file PointInTimePortfolio.cs.
decimal QuantConnect.Report.PointInTimePortfolio.PointInTimeHolding.AbsoluteHoldingsQuantity => Math.Abs(Quantity) |
Absolute value of the quantity
Definition at line 132 of file PointInTimePortfolio.cs.
|
get |
Symbol of the holding
Definition at line 110 of file PointInTimePortfolio.cs.
|
get |
Value of the holdings of the asset. Can be negative if shorting an asset
Definition at line 115 of file PointInTimePortfolio.cs.
|
get |
Quantity of the asset. Can be negative if shorting an asset
Definition at line 120 of file PointInTimePortfolio.cs.