Lean  $LEAN_TAG$
QuantConnect.Lean.Engine.Server.ILeanManager Interface Reference

Provides scope into Lean that is convenient for managing a lean instance More...

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

Public Member Functions

void Initialize (LeanEngineSystemHandlers systemHandlers, LeanEngineAlgorithmHandlers algorithmHandlers, AlgorithmNodePacket job, AlgorithmManager algorithmManager)
 Initialize the ILeanManager implementation More...
 
void SetAlgorithm (IAlgorithm algorithm)
 Sets the IAlgorithm instance in the ILeanManager More...
 
void Update ()
 Update ILeanManager with the IAlgorithm instance More...
 
void OnAlgorithmStart ()
 This method is called after algorithm initialization More...
 
void OnAlgorithmEnd ()
 This method is called before algorithm termination More...
 
void OnSecuritiesChanged (SecurityChanges changes)
 Callback fired each time that we add/remove securities from the data feed More...
 

Detailed Description

Provides scope into Lean that is convenient for managing a lean instance

Definition at line 28 of file ILeanManager.cs.

Member Function Documentation

◆ Initialize()

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

Initialize the ILeanManager implementation

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

Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.

◆ SetAlgorithm()

void QuantConnect.Lean.Engine.Server.ILeanManager.SetAlgorithm ( IAlgorithm  algorithm)

Sets the IAlgorithm instance in the ILeanManager

Parameters
algorithmThe IAlgorithm instance being run

Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.

◆ Update()

void QuantConnect.Lean.Engine.Server.ILeanManager.Update ( )

Update ILeanManager with the IAlgorithm instance

Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.

◆ OnAlgorithmStart()

void QuantConnect.Lean.Engine.Server.ILeanManager.OnAlgorithmStart ( )

This method is called after algorithm initialization

Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.

◆ OnAlgorithmEnd()

void QuantConnect.Lean.Engine.Server.ILeanManager.OnAlgorithmEnd ( )

This method is called before algorithm termination

Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.

◆ OnSecuritiesChanged()

void QuantConnect.Lean.Engine.Server.ILeanManager.OnSecuritiesChanged ( SecurityChanges  changes)

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

Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.


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