Lean  $LEAN_TAG$
QuantConnect.Securities.MaintenanceMargin Class Reference

Result type for IBuyingPowerModel.GetMaintenanceMargin More...

Public Member Functions

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

Static Public Member Functions

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

Properties

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

Detailed Description

Result type for IBuyingPowerModel.GetMaintenanceMargin

Definition at line 21 of file MaintenanceMargin.cs.

Constructor & Destructor Documentation

◆ MaintenanceMargin()

QuantConnect.Securities.MaintenanceMargin.MaintenanceMargin ( decimal  value)

Initializes a new instance of the MaintenanceMargin class

Parameters
valueThe maintenance margin

Definition at line 37 of file MaintenanceMargin.cs.

Here is the caller graph for this function:

Member Function Documentation

◆ operator decimal()

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

Implicit operator MaintenanceMargin -> decimal

Definition at line 45 of file MaintenanceMargin.cs.

◆ operator MaintenanceMargin()

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

Implicit operator decimal -> MaintenanceMargin

Definition at line 53 of file MaintenanceMargin.cs.

Here is the call graph for this function:

Property Documentation

◆ Zero

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

Gets an instance of MaintenanceMargin with zero values.

Definition at line 26 of file MaintenanceMargin.cs.

◆ Value

decimal QuantConnect.Securities.MaintenanceMargin.Value
get

The maintenance margin value in account currency

Definition at line 31 of file MaintenanceMargin.cs.


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