Lean  $LEAN_TAG$
QuantConnect.Messages.PositionGroup Class Reference

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

Static Public Member Functions

static string InvalidQuantity (decimal quantity, IEnumerable< IPosition > positions)
 Returns a string message saying the given quantity is invalid. It also contains the quantities from the given positions as well as the unit quantities More...
 

Detailed Description

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

Definition at line 33 of file Messages.Securities.Positions.cs.

Member Function Documentation

◆ InvalidQuantity()

static string QuantConnect.Messages.PositionGroup.InvalidQuantity ( decimal  quantity,
IEnumerable< IPosition positions 
)
static

Returns a string message saying the given quantity is invalid. It also contains the quantities from the given positions as well as the unit quantities

Definition at line 40 of file Messages.Securities.Positions.cs.

Here is the caller graph for this function:

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