Lean  $LEAN_TAG$
QuantConnect.Messages.Cash Class Reference

Provides user-facing messages for the Securities.Cash class and its consumers or related classes More...

Static Public Member Functions

static string NoTradablePairFoundForCurrencyConversion (string cashCurrencySymbol, string accountCurrency, IEnumerable< KeyValuePair< SecurityType, string >> marketMap)
 Returns a string message saying no tradeable pair was found for the given currency symbol. It also mentions that the given account currency will be set to zero More...
 
static string AddingSecuritySymbolForCashCurrencyFeed (QuantConnect.Symbol symbol, string cashCurrencySymbol)
 Returns a string message saying the security symbol is being added for cash currency feed (this comes from the given cash currency symbol) More...
 
static string ToString (Securities.Cash cash, string accountCurrency)
 Parses the given Cash object into a string containing basic information about it More...
 

Static Public Attributes

static string NullOrEmptyCashSymbol = "Cash symbols cannot be null or empty."
 String message saying: Cash symbols cannot be null or empty More...
 

Detailed Description

Provides user-facing messages for the Securities.Cash class and its consumers or related classes

Definition at line 223 of file Messages.Securities.cs.

Member Function Documentation

◆ NoTradablePairFoundForCurrencyConversion()

static string QuantConnect.Messages.Cash.NoTradablePairFoundForCurrencyConversion ( string  cashCurrencySymbol,
string  accountCurrency,
IEnumerable< KeyValuePair< SecurityType, string >>  marketMap 
)
static

Returns a string message saying no tradeable pair was found for the given currency symbol. It also mentions that the given account currency will be set to zero

Definition at line 235 of file Messages.Securities.cs.

Here is the caller graph for this function:

◆ AddingSecuritySymbolForCashCurrencyFeed()

static string QuantConnect.Messages.Cash.AddingSecuritySymbolForCashCurrencyFeed ( QuantConnect.Symbol  symbol,
string  cashCurrencySymbol 
)
static

Returns a string message saying the security symbol is being added for cash currency feed (this comes from the given cash currency symbol)

Definition at line 247 of file Messages.Securities.cs.

Here is the caller graph for this function:

◆ ToString()

static string QuantConnect.Messages.Cash.ToString ( Securities.Cash  cash,
string  accountCurrency 
)
static

Parses the given Cash object into a string containing basic information about it

Definition at line 256 of file Messages.Securities.cs.

Here is the caller graph for this function:

Member Data Documentation

◆ NullOrEmptyCashSymbol

string QuantConnect.Messages.Cash.NullOrEmptyCashSymbol = "Cash symbols cannot be null or empty."
static

String message saying: Cash symbols cannot be null or empty

Definition at line 228 of file Messages.Securities.cs.


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