Lean
$LEAN_TAG$
|
Defines the parameters for DefaultMarginCallModel.GenerateMarginCallOrders More...
Public Member Functions | |
MarginCallOrdersParameters (IPositionGroup positionGroup, decimal totalPortfolioValue, decimal totalUsedMargin) | |
Initializes a new instance of the MarginCallOrdersParameters class More... | |
Properties | |
IPositionGroup | PositionGroup [get] |
Gets the position group More... | |
decimal | TotalPortfolioValue [get] |
Gets the algorithm's total portfolio value More... | |
decimal | TotalUsedMargin [get] |
Gets the total used margin More... | |
Defines the parameters for DefaultMarginCallModel.GenerateMarginCallOrders
Definition at line 23 of file MarginCallOrdersParameters.cs.
QuantConnect.Securities.MarginCallOrdersParameters.MarginCallOrdersParameters | ( | IPositionGroup | positionGroup, |
decimal | totalPortfolioValue, | ||
decimal | totalUsedMargin | ||
) |
Initializes a new instance of the MarginCallOrdersParameters class
positionGroup | The position group |
totalPortfolioValue | The algorithm's total portfolio value |
totalUsedMargin | The total used margin |
Definition at line 46 of file MarginCallOrdersParameters.cs.
|
get |
Gets the position group
Definition at line 28 of file MarginCallOrdersParameters.cs.
|
get |
Gets the algorithm's total portfolio value
Definition at line 33 of file MarginCallOrdersParameters.cs.
|
get |
Gets the total used margin
Definition at line 38 of file MarginCallOrdersParameters.cs.