|
Lean
$LEAN_TAG$
|
Provides scope into Lean that is convenient for managing a lean instance More...
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... | |
Provides scope into Lean that is convenient for managing a lean instance
Definition at line 28 of file ILeanManager.cs.
| void QuantConnect.Lean.Engine.Server.ILeanManager.Initialize | ( | LeanEngineSystemHandlers | systemHandlers, |
| LeanEngineAlgorithmHandlers | algorithmHandlers, | ||
| AlgorithmNodePacket | job, | ||
| AlgorithmManager | algorithmManager | ||
| ) |
Initialize the ILeanManager implementation
| systemHandlers | Exposes lean engine system handlers running LEAN |
| algorithmHandlers | Exposes the lean algorithm handlers running lean |
| job | The job packet representing either a live or backtest Lean instance |
| algorithmManager | The Algorithm manager |
Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.
| void QuantConnect.Lean.Engine.Server.ILeanManager.SetAlgorithm | ( | IAlgorithm | algorithm | ) |
Sets the IAlgorithm instance in the ILeanManager
| algorithm | The IAlgorithm instance being run |
Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.
| void QuantConnect.Lean.Engine.Server.ILeanManager.Update | ( | ) |
Update ILeanManager with the IAlgorithm instance
Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.
| void QuantConnect.Lean.Engine.Server.ILeanManager.OnAlgorithmStart | ( | ) |
This method is called after algorithm initialization
Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.
| void QuantConnect.Lean.Engine.Server.ILeanManager.OnAlgorithmEnd | ( | ) |
This method is called before algorithm termination
Implemented in QuantConnect.Lean.Engine.Server.LocalLeanManager.
| 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.