Lean  $LEAN_TAG$
QuantConnect.Orders.Slippage.NullSlippageModel Class Reference

Null slippage model, which provider no slippage More...

Inheritance diagram for QuantConnect.Orders.Slippage.NullSlippageModel:
[legend]

Public Member Functions

decimal GetSlippageApproximation (Security asset, Order order)
 Will return no slippage More...
 

Properties

static NullSlippageModel Instance = new() [get]
 The null slippage model instance More...
 

Detailed Description

Null slippage model, which provider no slippage

Definition at line 23 of file NullSlippageModel.cs.

Member Function Documentation

◆ GetSlippageApproximation()

decimal QuantConnect.Orders.Slippage.NullSlippageModel.GetSlippageApproximation ( Security  asset,
Order  order 
)

Will return no slippage

Implements QuantConnect.Orders.Slippage.ISlippageModel.

Definition at line 33 of file NullSlippageModel.cs.

Property Documentation

◆ Instance

NullSlippageModel QuantConnect.Orders.Slippage.NullSlippageModel.Instance = new()
staticget

The null slippage model instance

Definition at line 28 of file NullSlippageModel.cs.


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