Skip to content

ConvertibleCashAmount

QuantConnect.Securities.ConvertibleCashAmount

ConvertibleCashAmount(amount: float, cash: Cash)

Bases: Object

A cash amount that can easily be converted into account currency

Creates a new instance

amount

amount: float

The amount

cash

cash: Cash

The cash associated with the amount

in_account_currency

in_account_currency: float

The amount in account currency

__add__

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

__ge__

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

__gt__

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

__le__

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

__lt__

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

__mul__

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

__sub__

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

__truediv__

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