Lean  $LEAN_TAG$
QuantConnect.Messages.PortfolioTarget Class Reference

Provides user-facing messages for the Algorithm.Framework.Portfolio.PortfolioTarget class and its consumers or related classes More...

Static Public Member Functions

static string InvalidTargetPercent (IAlgorithm algorithm, decimal percent)
 Returns a string message saying the portfolio target percent is invalid More...
 
static string SymbolNotFound (QuantConnect.Symbol symbol)
 Returns a string message saying the given symbol was not found in the portfolio More...
 
static string UnableToComputeOrderQuantityDueToNullResult (QuantConnect.Symbol symbol, GetMaximumLotsResult result)
 Returns a string message saying it was impossible to compute the order quantity of the given symbol. It also explains the reason why it was impossible More...
 
static string ToString (Algorithm.Framework.Portfolio.PortfolioTarget portfolioTarget)
 Parses the given portfolio target into a string message containing basic information about it More...
 

Detailed Description

Provides user-facing messages for the Algorithm.Framework.Portfolio.PortfolioTarget class and its consumers or related classes

Definition at line 33 of file Messages.Algorithm.Framework.Portfolio.cs.

Member Function Documentation

◆ InvalidTargetPercent()

static string QuantConnect.Messages.PortfolioTarget.InvalidTargetPercent ( IAlgorithm  algorithm,
decimal  percent 
)
static

Returns a string message saying the portfolio target percent is invalid

Definition at line 39 of file Messages.Algorithm.Framework.Portfolio.cs.

Here is the caller graph for this function:

◆ SymbolNotFound()

static string QuantConnect.Messages.PortfolioTarget.SymbolNotFound ( QuantConnect.Symbol  symbol)
static

Returns a string message saying the given symbol was not found in the portfolio

Definition at line 51 of file Messages.Algorithm.Framework.Portfolio.cs.

Here is the caller graph for this function:

◆ UnableToComputeOrderQuantityDueToNullResult()

static string QuantConnect.Messages.PortfolioTarget.UnableToComputeOrderQuantityDueToNullResult ( QuantConnect.Symbol  symbol,
GetMaximumLotsResult  result 
)
static

Returns a string message saying it was impossible to compute the order quantity of the given symbol. It also explains the reason why it was impossible

Definition at line 61 of file Messages.Algorithm.Framework.Portfolio.cs.

Here is the caller graph for this function:

◆ ToString()

static string QuantConnect.Messages.PortfolioTarget.ToString ( Algorithm.Framework.Portfolio.PortfolioTarget  portfolioTarget)
static

Parses the given portfolio target into a string message containing basic information about it

Definition at line 70 of file Messages.Algorithm.Framework.Portfolio.cs.

Here is the caller graph for this function:

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