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)
 
static string SettingAccountCurrency (string accountCurrency)
 
static string TotalMarginInformation (decimal totalMarginUsed, decimal marginRemaining)
 
static string OrderRequestMarginInformation (decimal marginUsed, decimal marginRemaining)
 

Static Public Attributes

static string DictionaryAddNotImplemented
 
static string DictionaryClearNotImplemented = "Portfolio object is an adaptor for Security Manager and cannot be cleared."
 
static string DictionaryRemoveNotImplemented = "Portfolio object is an adaptor for Security Manager and objects cannot be removed."
 
static string CannotChangeAccountCurrencyAfterAddingSecurity
 
static string CannotChangeAccountCurrencyAfterSettingCash
 

Detailed Description

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

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

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."

Definition at line 603 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()."

Definition at line 610 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()."

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


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