ProjectedHoldings
QuantConnect.Securities.ProjectedHoldings
ProjectedHoldings(
holdings_quantity: float, open_orders_quantity: float
)
Bases: Object
DTO for the projected holdings of a security
Initializes a new instance of the ProjectedHoldings class.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
holdings_quantity
|
float
|
The current holdings quantity |
required |
open_orders_quantity
|
float
|
The currently open orders quantity for the security |
required |
holdings_quantity
holdings_quantity: float
The current holdings for the security
open_orders_quantity
open_orders_quantity: float
The currently open orders quantity for the security
projected_quantity
projected_quantity: float
Gets the projected holdings for the specified security, which is the sum of the current holdings plus the sum of the open orders quantity.