When running a Deep Reinforcement Learning algorithm on the research environment, the kernel constantly dies after some episodes using the attached notebook (or see my github):

https://github.com/localhorst87/trading_rl.git

My guess was that it's most likely a memory issue, so I tried to run it offline, using the LEAN engine.

I followed all required installation steps. Importing everythin works well, but trying to call the QuantBook there's the following error:

Exception Traceback (most recent call last)
<ipython-input-1-928c9a85d91c> in <module>
19
20 # Create an instance
---> 21 qb = QuantBook()
22
23 # Select asset data

Exception: QuantBook.Main(): System.ArgumentException: Unable to locate any exports matching the requested typeName: QuantConnect.Lean.Engine.Results.BacktestingResultHandler
Parametername: typeName
bei QuantConnect.Util.Composer.GetExportedValueByTypeName[T](String typeName) in C:\Users\Maurizio\Documents\Programming\python\finance\Lean\Common\Util\Composer.cs:Zeile 205.
bei QuantConnect.Lean.Engine.LeanEngineAlgorithmHandlers.FromConfiguration(Composer composer) in C:\Users\Maurizio\Documents\Programming\python\finance\Lean\Engine\LeanEngineAlgorithmHandlers.cs:Zeile 171.
bei QuantConnect.Jupyter.QuantBook..ctor() in C:\Users\Maurizio\Documents\Programming\python\finance\Lean\Jupyter\QuantBook.cs:Zeile 68.
bei QuantConnect.Jupyter.QuantBook..ctor() in C:\Users\Maurizio\Documents\Programming\python\finance\Lean\Jupyter\QuantBook.cs:Zeile 101.

There's another user with the problem, but the issue remained unresolved until now...See the last answer of the following thread:

https://www.quantconnect.com/forum/discussion/2847/running-a-local-research-environment/p1

Did anybody had the same issue?

Thanks, Maurizio 

 

I'm using Windows 10, Python 3.6

Author