Lean  $LEAN_TAG$
QuantConnect.Messages.SecurityPortfolioManager Class Reference

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

Static Public Member Functions

static string AccountCurrencyAlreadySet (Securities.CashBook cashBook, string newAccountCurrency)
 Returns a string message saying the AccountCurrency has already been set and that the new value for this property will be ignored More...
 
static string SettingAccountCurrency (string accountCurrency)
 Returns a string message saying the AccountCurrency is being set to the given account currency More...
 
static string TotalMarginInformation (decimal totalMarginUsed, decimal marginRemaining)
 Returns a string message saying the total margin information, this is, the total margin used as well as the margin remaining More...
 
static string OrderRequestMarginInformation (decimal marginUsed, decimal marginRemaining)
 Returns a string message saying the order request margin information, this is, the margin used and the margin remaining More...
 

Static Public Attributes

static string DictionaryAddNotImplemented
 Returns a string message saying Portfolio object is an adaptor for Security Manager and that to add a new asset the required data should added during initialization More...
 
static string DictionaryClearNotImplemented = "Portfolio object is an adaptor for Security Manager and cannot be cleared."
 Returns a string message saying the Portfolio object object is an adaptor for Security Manager and cannot be cleared More...
 
static string DictionaryRemoveNotImplemented = "Portfolio object is an adaptor for Security Manager and objects cannot be removed."
 Returns a string message saying the Portfolio object is an adaptor for Security Manager and objects cannot be removed More...
 
static string CannotChangeAccountCurrencyAfterAddingSecurity
 Returns a string message saying the AccountCurrency cannot be changed after adding a Security and that the method SetAccountCurrency() should be moved before AddSecurity() More...
 
static string CannotChangeAccountCurrencyAfterSettingCash
 Returns a string message saying the AccountCurrency cannot be changed after setting cash and that the method SetAccountCurrency() should be moved before SetCash() More...
 

Detailed Description

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

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

Member Function Documentation

◆ AccountCurrencyAlreadySet()

static string QuantConnect.Messages.SecurityPortfolioManager.AccountCurrencyAlreadySet ( Securities.CashBook  cashBook,
string  newAccountCurrency 
)
static

Returns a string message saying the AccountCurrency has already been set and that the new value for this property will be ignored

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

Here is the caller graph for this function:

◆ SettingAccountCurrency()

static string QuantConnect.Messages.SecurityPortfolioManager.SettingAccountCurrency ( string  accountCurrency)
static

Returns a string message saying the AccountCurrency is being set to the given account currency

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

Here is the caller graph for this function:

◆ TotalMarginInformation()

static string QuantConnect.Messages.SecurityPortfolioManager.TotalMarginInformation ( decimal  totalMarginUsed,
decimal  marginRemaining 
)
static

Returns a string message saying the total margin information, this is, the total margin used as well as the margin remaining

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

Here is the caller graph for this function:

◆ OrderRequestMarginInformation()

static string QuantConnect.Messages.SecurityPortfolioManager.OrderRequestMarginInformation ( decimal  marginUsed,
decimal  marginRemaining 
)
static

Returns a string message saying the order request margin information, this is, the margin used and the margin remaining

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

Here is the caller graph for this function:

Member Data Documentation

◆ DictionaryAddNotImplemented

string QuantConnect.Messages.SecurityPortfolioManager.DictionaryAddNotImplemented
static
Initial value:
=
"Portfolio object is an adaptor for Security Manager. To add a new asset add the required data during initialization."

Returns a string message saying Portfolio object is an adaptor for Security Manager and that to add a new asset the required data should added during initialization

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

◆ DictionaryClearNotImplemented

string QuantConnect.Messages.SecurityPortfolioManager.DictionaryClearNotImplemented = "Portfolio object is an adaptor for Security Manager and cannot be cleared."
static

Returns a string message saying the Portfolio object object is an adaptor for Security Manager and cannot be cleared

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

◆ DictionaryRemoveNotImplemented

string QuantConnect.Messages.SecurityPortfolioManager.DictionaryRemoveNotImplemented = "Portfolio object is an adaptor for Security Manager and objects cannot be removed."
static

Returns a string message saying the Portfolio object is an adaptor for Security Manager and objects cannot be removed

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

◆ CannotChangeAccountCurrencyAfterAddingSecurity

string QuantConnect.Messages.SecurityPortfolioManager.CannotChangeAccountCurrencyAfterAddingSecurity
static
Initial value:
=
"Cannot change AccountCurrency after adding a Security. Please move SetAccountCurrency() before AddSecurity()."

Returns a string message saying the AccountCurrency cannot be changed after adding a Security and that the method SetAccountCurrency() should be moved before AddSecurity()

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

◆ CannotChangeAccountCurrencyAfterSettingCash

string QuantConnect.Messages.SecurityPortfolioManager.CannotChangeAccountCurrencyAfterSettingCash
static
Initial value:
=
"Cannot change AccountCurrency after setting cash. Please move SetAccountCurrency() before SetCash()."

Returns a string message saying the AccountCurrency cannot be changed after setting cash and that the method SetAccountCurrency() should be moved before SetCash()

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


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