Lean
$LEAN_TAG$
|
Defines the parameters for IPositionGroupBuyingPowerModel.GetPositionGroupBuyingPower More...
Public Member Functions | |
PositionGroupBuyingPowerParameters (SecurityPortfolioManager portfolio, IPositionGroup positionGroup, OrderDirection direction) | |
Initializes a new instance of the PositionGroupBuyingPowerParameters class More... | |
Static Public Member Functions | |
static implicit | operator ReservedBuyingPowerForPositionGroupParameters (PositionGroupBuyingPowerParameters parameters) |
Implicit operator to dependent function to remove noise More... | |
Properties | |
IPositionGroup | PositionGroup [get] |
Gets the position group More... | |
SecurityPortfolioManager | Portfolio [get] |
Gets the algorithm's portfolio manager More... | |
OrderDirection | Direction [get] |
Gets the direction in which buying power is to be computed More... | |
Defines the parameters for IPositionGroupBuyingPowerModel.GetPositionGroupBuyingPower
Definition at line 23 of file PositionGroupBuyingPowerParameters.cs.
QuantConnect.Securities.Positions.PositionGroupBuyingPowerParameters.PositionGroupBuyingPowerParameters | ( | SecurityPortfolioManager | portfolio, |
IPositionGroup | positionGroup, | ||
OrderDirection | direction | ||
) |
Initializes a new instance of the PositionGroupBuyingPowerParameters class
portfolio | The algorithm's portfolio manager |
positionGroup | The position group |
direction | The direction to compute buying power in |
Definition at line 46 of file PositionGroupBuyingPowerParameters.cs.
|
static |
Implicit operator to dependent function to remove noise
Definition at line 60 of file PositionGroupBuyingPowerParameters.cs.
|
get |
Gets the position group
Definition at line 28 of file PositionGroupBuyingPowerParameters.cs.
|
get |
Gets the algorithm's portfolio manager
Definition at line 33 of file PositionGroupBuyingPowerParameters.cs.
|
get |
Gets the direction in which buying power is to be computed
Definition at line 38 of file PositionGroupBuyingPowerParameters.cs.