We may need use classes and methods that are stored in other files in the directory (like we do in the C# Algorithms project)
Also, we need all Python Algorithms in the correspondent DLL to run unit tests of all the algorithms in a row
The dll is now copied to the Tests project
build.bat (batch.sh in Linux) includes the code inside the file with the desired algorithm (set in config.json by "algorithm-type-name") in the python DLL (QuantConnect.Algorithm.Python.dll) via IronPython.
In the AlgorithmFactory, Loader.TryCreatePythonAlgorithm imports the module with the algorithm name instead of "main".
Closes#289
build.bat (batch.sh in Linux) includes the code inside the file with the desired algorithm (set in config.json by "algorithm-type-name") in the python DLL (QuantConnect.Algorithm.Python.dll) via IronPython.
In the AlgorithmFactory, Loader.TryCreatePythonAlgorithm imports the module with the algorithm name instead of "main".
In order to account that since 30 Nov 2015 Lean executable is Lean.Launcher.exe QuantConnect.Algorithm.Python.dll must be copied into Lean.Launcher project.