Skip to content

PositionGroupBuyingPower

QuantConnect.Securities.Positions.PositionGroupBuyingPower

PositionGroupBuyingPower(buying_power: float)

Bases: Object

Defines the result for IPositionGroupBuyingPowerModel.get_position_group_buying_power

Initializes a new instance of the PositionGroupBuyingPower class

Parameters:

Name Type Description Default
buying_power float

The buying power

required

value

value: float

Gets the buying power

__add__

__add__(other: PositionGroupBuyingPower) -> float
__add__(other: float) -> float

__ge__

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

__gt__

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

__le__

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

__lt__

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

__mul__

__mul__(other: PositionGroupBuyingPower) -> float
__mul__(other: float) -> float

__sub__

__sub__(other: PositionGroupBuyingPower) -> float
__sub__(other: float) -> float

__truediv__

__truediv__(other: PositionGroupBuyingPower) -> 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