Lean  $LEAN_TAG$
QuantConnect.Securities.InitialMargin Class Reference

Result type for IBuyingPowerModel.GetInitialMarginRequirement and IBuyingPowerModel.GetInitialMarginRequiredForOrder More...

Inheritance diagram for QuantConnect.Securities.InitialMargin:
[legend]

Public Member Functions

 InitialMargin (decimal value)
 Initializes a new instance of the InitialMargin class More...
 

Static Public Member Functions

static implicit operator decimal (InitialMargin margin)
 Implicit operator InitialMargin -> decimal More...
 
static implicit operator InitialMargin (decimal margin)
 Implicit operator decimal -> InitialMargin More...
 

Properties

static InitialMargin Zero = new InitialMargin(0m) [get]
 Gets an instance of InitialMargin with zero values More...
 
decimal Value [get]
 The initial margin value in account currency More...
 

Detailed Description

Constructor & Destructor Documentation

◆ InitialMargin()

QuantConnect.Securities.InitialMargin.InitialMargin ( decimal  value)

Initializes a new instance of the InitialMargin class

Parameters
valueThe initial margin

Definition at line 38 of file InitialMargin.cs.

Here is the caller graph for this function:

Member Function Documentation

◆ operator decimal()

static implicit QuantConnect.Securities.InitialMargin.operator decimal ( InitialMargin  margin)
static

Implicit operator InitialMargin -> decimal

Definition at line 46 of file InitialMargin.cs.

◆ operator InitialMargin()

static implicit QuantConnect.Securities.InitialMargin.operator InitialMargin ( decimal  margin)
static

Implicit operator decimal -> InitialMargin

Definition at line 54 of file InitialMargin.cs.

Here is the call graph for this function:

Property Documentation

◆ Zero

InitialMargin QuantConnect.Securities.InitialMargin.Zero = new InitialMargin(0m)
staticget

Gets an instance of InitialMargin with zero values

Definition at line 27 of file InitialMargin.cs.

◆ Value

decimal QuantConnect.Securities.InitialMargin.Value
get

The initial margin value in account currency

Definition at line 32 of file InitialMargin.cs.


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