Lean
$LEAN_TAG$
|
Provides an implementation of ICurrencyConverter for use in tests that don't depend on this behavior. More...
Public Member Functions | |
CashAmount | ConvertToAccountCurrency (CashAmount cashAmount) |
Converts a cash amount to the account currency More... | |
Static Public Attributes | |
static ICurrencyConverter | Instance = new ErrorCurrencyConverter() |
Provides access to the single instance of ErrorCurrencyConverter. This is done this way to ensure usage is explicit. More... | |
Properties | |
string | AccountCurrency [get] |
Gets account currency More... | |
Properties inherited from QuantConnect.Securities.ICurrencyConverter | |
string | AccountCurrency [get] |
Gets account currency More... | |
Provides an implementation of ICurrencyConverter for use in tests that don't depend on this behavior.
Definition at line 24 of file ErrorCurrencyConverter.cs.
CashAmount QuantConnect.Securities.ErrorCurrencyConverter.ConvertToAccountCurrency | ( | CashAmount | cashAmount | ) |
Converts a cash amount to the account currency
cashAmount | The CashAmount instance to convert |
Implements QuantConnect.Securities.ICurrencyConverter.
Definition at line 52 of file ErrorCurrencyConverter.cs.
|
static |
Provides access to the single instance of ErrorCurrencyConverter. This is done this way to ensure usage is explicit.
Definition at line 41 of file ErrorCurrencyConverter.cs.
|
get |
Gets account currency
Definition at line 30 of file ErrorCurrencyConverter.cs.