When I'm inside src, I execute lean backtest PumpDetector.
Expected result: backtest runs successfully
Actual result: The error is returned in backtest output:
20230630 19:20:32.784 ERROR:: API.GetExtendedTypeNames(): No types found in assembly.
20230630 19:20:32.785 ERROR:: Loader.TryCreateILAlgorithm(): Types array empty, no algorithm type found.
20230630 19:20:32.799 ERROR:: Engine.Run(): QuantConnect.Lean.Engine.Setup.AlgorithmSetupException: During the algorithm initialization, the following
exception has occurred: Algorithm type was not found.
at QuantConnect.Lean.Engine.Setup.BacktestingSetupHandler.CreateAlgorithmInstance(AlgorithmNodePacket algorithmNodePacket, String assemblyPath) in
/LeanCLI/Lean/Engine/Setup/BacktestingSetupHandler.cs:line 103
at QuantConnect.Lean.Engine.Engine.Run(AlgorithmNodePacket job, AlgorithmManager manager, String assemblyPath, WorkerThread workerThread) in
/LeanCLI/Lean/Engine/Engine.cs:line 116
Also, I've noticed the following changes in my directory:
Hi!
I have the following directory structure for my project:
When I'm inside
src
, I executelean backtest PumpDetector
.Expected result: backtest runs successfully
Actual result: The error is returned in backtest output:
Also, I've noticed the following changes in my directory:
If I rename the solution file so that it doesn't have
.sln
extension, the backtest would succeed as soon as I remove those two directories.