Lean  $LEAN_TAG$
QuantConnect.Securities.ICurrencyConverter Interface Reference

Provides the ability to convert cash amounts to the account currency More...

Inheritance diagram for QuantConnect.Securities.ICurrencyConverter:
[legend]

Public Member Functions

CashAmount ConvertToAccountCurrency (CashAmount cashAmount)
 Converts a cash amount to the account currency More...
 

Properties

string AccountCurrency [get]
 Gets account currency More...
 

Detailed Description

Provides the ability to convert cash amounts to the account currency

Definition at line 21 of file ICurrencyConverter.cs.

Member Function Documentation

◆ ConvertToAccountCurrency()

CashAmount QuantConnect.Securities.ICurrencyConverter.ConvertToAccountCurrency ( CashAmount  cashAmount)

Converts a cash amount to the account currency

Parameters
cashAmountThe CashAmount instance to convert
Returns
A new CashAmount instance denominated in the account currency

Implemented in QuantConnect.Securities.CashBook, QuantConnect.Securities.ErrorCurrencyConverter, and QuantConnect.Securities.IdentityCurrencyConverter.

Here is the caller graph for this function:

Property Documentation

◆ AccountCurrency

string QuantConnect.Securities.ICurrencyConverter.AccountCurrency
get

Gets account currency

Definition at line 26 of file ICurrencyConverter.cs.


The documentation for this interface was generated from the following file: