Skip to content

MaintenanceMargin

QuantConnect.Securities.MaintenanceMargin

MaintenanceMargin(value: float)

Bases: Object

Result type for IBuyingPowerModel.get_maintenance_margin

Initializes a new instance of the MaintenanceMargin class

Parameters:

Name Type Description Default
value float

The maintenance margin

required

ZERO

Gets an instance of MaintenanceMargin with zero values.

value

value: float

The maintenance margin value in account currency

__add__

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

__ge__

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

__gt__

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

__le__

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

__lt__

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

__mul__

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

__sub__

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

__truediv__

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