|
Lean
$LEAN_TAG$
|
A cash amount that can easily be converted into account currency More...
Public Member Functions | |
| ConvertibleCashAmount (decimal amount, Cash cash) | |
| Creates a new instance More... | |
Static Public Member Functions | |
| static implicit | operator decimal (ConvertibleCashAmount convertibleCashAmount) |
| The amount in account currency More... | |
| static implicit | operator CashAmount (ConvertibleCashAmount convertibleCashAmount) |
| The amount in account currency More... | |
Public Attributes | |
| decimal | InAccountCurrency => Amount * Cash.ConversionRate |
| The amount in account currency More... | |
Properties | |
| decimal | Amount [get] |
| The amount More... | |
| Cash | Cash [get] |
| The cash associated with the amount More... | |
A cash amount that can easily be converted into account currency
Definition at line 21 of file ConvertibleCashAmount.cs.
| QuantConnect.Securities.ConvertibleCashAmount.ConvertibleCashAmount | ( | decimal | amount, |
| Cash | cash | ||
| ) |
Creates a new instance
Definition at line 41 of file ConvertibleCashAmount.cs.
|
static |
The amount in account currency
Definition at line 50 of file ConvertibleCashAmount.cs.
|
static |
The amount in account currency
Definition at line 58 of file ConvertibleCashAmount.cs.
| decimal QuantConnect.Securities.ConvertibleCashAmount.InAccountCurrency => Amount * Cash.ConversionRate |
The amount in account currency
Definition at line 36 of file ConvertibleCashAmount.cs.
|
get |
The amount
Definition at line 26 of file ConvertibleCashAmount.cs.
|
get |
The cash associated with the amount
Definition at line 31 of file ConvertibleCashAmount.cs.