ReservedBuyingPowerImpactParameters
QuantConnect.Securities.Positions.ReservedBuyingPowerImpactParameters
ReservedBuyingPowerImpactParameters(
portfolio: SecurityPortfolioManager,
contemplated_changes: IPositionGroup,
orders: List[Order],
)
Bases: Object
Parameters for the IPositionGroupBuyingPowerModel.get_reserved_buying_power_impact
Initializes a new instance of the ReservedBuyingPowerImpactParameters class
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
portfolio
|
SecurityPortfolioManager
|
The algorithm's portfolio manager |
required |
contemplated_changes
|
IPositionGroup
|
The position changes being contemplated |
required |
orders
|
List[Order]
|
The orders associated with this request |
required |
contemplated_changes
contemplated_changes: IPositionGroup
Gets the position changes being contemplated