InitialMarginParameters
QuantConnect.Securities.InitialMarginParameters
InitialMarginParameters(
security: Security, quantity: float
)
Bases: Object
Parameters for IBuyingPowerModel.get_initial_margin_requirement
Initializes a new instance of the InitialMarginParameters class
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
security
|
Security
|
The security |
required |
quantity
|
float
|
The quantity |
required |
quantity
quantity: float
Gets the quantity
for_underlying
for_underlying() -> InitialMarginParameters
Creates a new instance of InitialMarginParameters for the security's underlying