Lean  $LEAN_TAG$
QuantConnect.Securities.InitialMarginParameters Class Reference

Parameters for IBuyingPowerModel.GetInitialMarginRequirement More...

Public Member Functions

 InitialMarginParameters (Security security, decimal quantity)
 Initializes a new instance of the InitialMarginParameters class More...
 
InitialMarginParameters ForUnderlying ()
 Creates a new instance of InitialMarginParameters for the security's underlying More...
 

Properties

Security Security [get]
 Gets the security More...
 
decimal Quantity [get]
 Gets the quantity More...
 

Detailed Description

Constructor & Destructor Documentation

◆ InitialMarginParameters()

QuantConnect.Securities.InitialMarginParameters.InitialMarginParameters ( Security  security,
decimal  quantity 
)

Initializes a new instance of the InitialMarginParameters class

Parameters
securityThe security
quantityThe quantity

Definition at line 40 of file InitialMarginParameters.cs.

Here is the caller graph for this function:

Member Function Documentation

◆ ForUnderlying()

InitialMarginParameters QuantConnect.Securities.InitialMarginParameters.ForUnderlying ( )

Creates a new instance of InitialMarginParameters for the security's underlying

Definition at line 49 of file InitialMarginParameters.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

Property Documentation

◆ Security

Security QuantConnect.Securities.InitialMarginParameters.Security
get

Gets the security

Definition at line 28 of file InitialMarginParameters.cs.

◆ Quantity

decimal QuantConnect.Securities.InitialMarginParameters.Quantity
get

Gets the quantity

Definition at line 33 of file InitialMarginParameters.cs.


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