Lean  $LEAN_TAG$
QuantConnect.Messages.PositionGroupBuyingPowerModel Class Reference

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

Static Public Member Functions

static string ComputedZeroInitialMargin (IPositionGroup positionGroup)
 Returns a string message saying the zero initial margin requirement was computed for the given position group More...
 
static string PositionGroupQuantityRoundedToZero (decimal targetOrderMargin)
 Returns a string message saying the position group order quantity has been rounded to zero More...
 
static string FailedToConvergeOnTargetMargin (decimal targetMargin, decimal positionGroupQuantity, decimal orderFees, GetMaximumLotsForTargetBuyingPowerParameters parameters)
 Returns a string message saying the process to converge on the given target margin failed More...
 

Static Public Attributes

static string DeltaCannotBeApplied = "No buying power used, delta cannot be applied"
 String message saying: No buying power used, delta cannot be applied More...
 

Detailed Description

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

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

Member Function Documentation

◆ ComputedZeroInitialMargin()

static string QuantConnect.Messages.PositionGroupBuyingPowerModel.ComputedZeroInitialMargin ( IPositionGroup  positionGroup)
static

Returns a string message saying the zero initial margin requirement was computed for the given position group

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

Here is the caller graph for this function:

◆ PositionGroupQuantityRoundedToZero()

static string QuantConnect.Messages.PositionGroupBuyingPowerModel.PositionGroupQuantityRoundedToZero ( decimal  targetOrderMargin)
static

Returns a string message saying the position group order quantity has been rounded to zero

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

Here is the caller graph for this function:

◆ FailedToConvergeOnTargetMargin()

static string QuantConnect.Messages.PositionGroupBuyingPowerModel.FailedToConvergeOnTargetMargin ( decimal  targetMargin,
decimal  positionGroupQuantity,
decimal  orderFees,
GetMaximumLotsForTargetBuyingPowerParameters  parameters 
)
static

Returns a string message saying the process to converge on the given target margin failed

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

Here is the caller graph for this function:

Member Data Documentation

◆ DeltaCannotBeApplied

string QuantConnect.Messages.PositionGroupBuyingPowerModel.DeltaCannotBeApplied = "No buying power used, delta cannot be applied"
static

String message saying: No buying power used, delta cannot be applied

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


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