Skip to content

ReservedBuyingPowerForPositionGroup

QuantConnect.Securities.Positions.ReservedBuyingPowerForPositionGroup

ReservedBuyingPowerForPositionGroup(
    reserved_buying_power_for_position: float,
)

Bases: Object

Defines the result for IBuyingPowerModel.get_reserved_buying_power_for_position

Initializes a new instance of the ReservedBuyingPowerForPosition class

Parameters:

Name Type Description Default
reserved_buying_power_for_position float

The reserved buying power for the security's holdings

required

absolute_used_buying_power

absolute_used_buying_power: float

Gets the reserved buying power

__add__

__add__(
    other: ReservedBuyingPowerForPositionGroup,
) -> float
__add__(other: float) -> float

__ge__

__ge__(other: ReservedBuyingPowerForPositionGroup) -> bool
__ge__(other: float) -> bool

__gt__

__gt__(other: ReservedBuyingPowerForPositionGroup) -> bool
__gt__(other: float) -> bool

__le__

__le__(other: ReservedBuyingPowerForPositionGroup) -> bool
__le__(other: float) -> bool

__lt__

__lt__(other: ReservedBuyingPowerForPositionGroup) -> bool
__lt__(other: float) -> bool

__mul__

__mul__(
    other: ReservedBuyingPowerForPositionGroup,
) -> float
__mul__(other: float) -> float

__sub__

__sub__(
    other: ReservedBuyingPowerForPositionGroup,
) -> float
__sub__(other: float) -> float

__truediv__

__truediv__(
    other: ReservedBuyingPowerForPositionGroup,
) -> float
__truediv__(other: float) -> float

__float__

__float__() -> float

__int__

__int__() -> int

__neg__

__neg__() -> float

__radd__

__radd__(other: float) -> float

__rmul__

__rmul__(other: float) -> float

__rsub__

__rsub__(other: float) -> float

__rtruediv__

__rtruediv__(other: float) -> float