Lean  $LEAN_TAG$
QuantConnect.Securities.Positions.PositionGroupBuyingPowerParameters Class Reference

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...
 

Detailed Description

Constructor & Destructor Documentation

◆ PositionGroupBuyingPowerParameters()

QuantConnect.Securities.Positions.PositionGroupBuyingPowerParameters.PositionGroupBuyingPowerParameters ( SecurityPortfolioManager  portfolio,
IPositionGroup  positionGroup,
OrderDirection  direction 
)

Initializes a new instance of the PositionGroupBuyingPowerParameters class

Parameters
portfolioThe algorithm's portfolio manager
positionGroupThe position group
directionThe direction to compute buying power in

Definition at line 46 of file PositionGroupBuyingPowerParameters.cs.

Member Function Documentation

◆ operator ReservedBuyingPowerForPositionGroupParameters()

static implicit QuantConnect.Securities.Positions.PositionGroupBuyingPowerParameters.operator ReservedBuyingPowerForPositionGroupParameters ( PositionGroupBuyingPowerParameters  parameters)
static

Implicit operator to dependent function to remove noise

Definition at line 60 of file PositionGroupBuyingPowerParameters.cs.

Property Documentation

◆ PositionGroup

IPositionGroup QuantConnect.Securities.Positions.PositionGroupBuyingPowerParameters.PositionGroup
get

Gets the position group

Definition at line 28 of file PositionGroupBuyingPowerParameters.cs.

◆ Portfolio

SecurityPortfolioManager QuantConnect.Securities.Positions.PositionGroupBuyingPowerParameters.Portfolio
get

Gets the algorithm's portfolio manager

Definition at line 33 of file PositionGroupBuyingPowerParameters.cs.

◆ Direction

OrderDirection QuantConnect.Securities.Positions.PositionGroupBuyingPowerParameters.Direction
get

Gets the direction in which buying power is to be computed

Definition at line 38 of file PositionGroupBuyingPowerParameters.cs.


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