Lean  $LEAN_TAG$
QuantConnect.Lean.Engine.Server.LocalLeanManager Class Reference

NOP implementation of the ILeanManager interface More...

Inheritance diagram for QuantConnect.Lean.Engine.Server.LocalLeanManager:
[legend]

Public Member Functions

virtual void Initialize (LeanEngineSystemHandlers systemHandlers, LeanEngineAlgorithmHandlers algorithmHandlers, AlgorithmNodePacket job, AlgorithmManager algorithmManager)
 Empty implementation of the ILeanManager interface More...
 
virtual void SetAlgorithm (IAlgorithm algorithm)
 Sets the IAlgorithm instance in the ILeanManager More...
 
virtual void Update ()
 Execute the commands using the IAlgorithm instance More...
 
virtual void OnAlgorithmStart ()
 This method is called after algorithm initialization More...
 
virtual void OnAlgorithmEnd ()
 This method is called before algorithm termination More...
 
virtual void OnSecuritiesChanged (SecurityChanges changes)
 Callback fired each time that we add/remove securities from the data feed More...
 
virtual void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Properties

IAlgorithm Algorithm [get, set]
 The current algorithm More...
 
LeanEngineSystemHandlers SystemHandlers [get, set]
 The system handlers More...
 
LeanEngineAlgorithmHandlers AlgorithmHandlers [get, set]
 The algorithm handlers More...
 

Detailed Description

NOP implementation of the ILeanManager interface

Definition at line 28 of file LocalLeanManager.cs.

Member Function Documentation

◆ Initialize()

virtual void QuantConnect.Lean.Engine.Server.LocalLeanManager.Initialize ( LeanEngineSystemHandlers  systemHandlers,
LeanEngineAlgorithmHandlers  algorithmHandlers,
AlgorithmNodePacket  job,
AlgorithmManager  algorithmManager 
)
virtual

Empty implementation of the ILeanManager interface

Parameters
systemHandlersExposes lean engine system handlers running LEAN
algorithmHandlersExposes the lean algorithm handlers running lean
jobThe job packet representing either a live or backtest Lean instance
algorithmManagerThe Algorithm manager

Implements QuantConnect.Lean.Engine.Server.ILeanManager.

Definition at line 55 of file LocalLeanManager.cs.

◆ SetAlgorithm()

virtual void QuantConnect.Lean.Engine.Server.LocalLeanManager.SetAlgorithm ( IAlgorithm  algorithm)
virtual

Sets the IAlgorithm instance in the ILeanManager

Parameters
algorithmThe IAlgorithm instance being run

Implements QuantConnect.Lean.Engine.Server.ILeanManager.

Definition at line 66 of file LocalLeanManager.cs.

Here is the call graph for this function:

◆ Update()

virtual void QuantConnect.Lean.Engine.Server.LocalLeanManager.Update ( )
virtual

Execute the commands using the IAlgorithm instance

Implements QuantConnect.Lean.Engine.Server.ILeanManager.

Definition at line 76 of file LocalLeanManager.cs.

Here is the call graph for this function:

◆ OnAlgorithmStart()

virtual void QuantConnect.Lean.Engine.Server.LocalLeanManager.OnAlgorithmStart ( )
virtual

This method is called after algorithm initialization

Implements QuantConnect.Lean.Engine.Server.ILeanManager.

Definition at line 90 of file LocalLeanManager.cs.

Here is the call graph for this function:

◆ OnAlgorithmEnd()

virtual void QuantConnect.Lean.Engine.Server.LocalLeanManager.OnAlgorithmEnd ( )
virtual

This method is called before algorithm termination

Implements QuantConnect.Lean.Engine.Server.ILeanManager.

Definition at line 102 of file LocalLeanManager.cs.

◆ OnSecuritiesChanged()

virtual void QuantConnect.Lean.Engine.Server.LocalLeanManager.OnSecuritiesChanged ( SecurityChanges  changes)
virtual

Callback fired each time that we add/remove securities from the data feed

Implements QuantConnect.Lean.Engine.Server.ILeanManager.

Definition at line 110 of file LocalLeanManager.cs.

◆ Dispose()

virtual void QuantConnect.Lean.Engine.Server.LocalLeanManager.Dispose ( )
virtual

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Definition at line 118 of file LocalLeanManager.cs.

Property Documentation

◆ Algorithm

IAlgorithm QuantConnect.Lean.Engine.Server.LocalLeanManager.Algorithm
getsetprotected

The current algorithm

Definition at line 33 of file LocalLeanManager.cs.

◆ SystemHandlers

LeanEngineSystemHandlers QuantConnect.Lean.Engine.Server.LocalLeanManager.SystemHandlers
getsetprotected

The system handlers

Definition at line 41 of file LocalLeanManager.cs.

◆ AlgorithmHandlers

LeanEngineAlgorithmHandlers QuantConnect.Lean.Engine.Server.LocalLeanManager.AlgorithmHandlers
getsetprotected

The algorithm handlers

Definition at line 46 of file LocalLeanManager.cs.


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