Skip to content

ReservedBuyingPowerForPositionParameters

QuantConnect.Securities.ReservedBuyingPowerForPositionParameters

ReservedBuyingPowerForPositionParameters(
    security: Security,
)

Bases: Object

Defines the parameters for IBuyingPowerModel.get_reserved_buying_power_for_position

Initializes a new instance of the ReservedBuyingPowerForPositionParameters class

Parameters:

Name Type Description Default
security Security

The security

required

security

security: Security

Gets the security

result_in_account_currency

result_in_account_currency(
    reserved_buying_power: float,
) -> ReservedBuyingPowerForPosition

Creates the result using the specified reserved buying power in units of the account currency

Parameters:

Name Type Description Default
reserved_buying_power float

The reserved buying power in units of the account currency

required

Returns:

Type Description
ReservedBuyingPowerForPosition

The reserved buying power.