Hi,

I am trying to set up parameter optimization in Lean localy. I am using VS Code and Dbug in container option.

If I use normal (non-parametrized) strategy, it seems the algorithm is started using the commad (I split it to be more readible):

"docker run --rm --mount type=bind,source=C:\Users\Mislav\Documents\GitHub\Lean/Launcher/config.json,target=/Lean/Launcher/config.json,readonly -v C:\Users\Mislav\Documents\GitHub\Lean/Data:/Data:ro -v C:\Users\Mislav\Documents\GitHub\Lean/Results:/Results --name LeanEngine -p 5678:5678 --expose 6000 --mount type=bind,source=C:\Users\Mislav\Documents\GitHub\Lean\Launcher\bin\Debug\QuantConnect.Algorithm.CSharp.dll,target=/Lean/Launcher/bin/Debug/QuantConnect.Algorithm.CSharp.dll --mount type=bind,source=C:\Users\Mislav\Documents\GitHub\Lean\Launcher\bin\Debug\QuantConnect.Algorithm.CSharp.pdb,target=/Lean/Launcher/bin/Debug/QuantConnect.Algorithm.CSharp.pdb -v C:\Users\Mislav\Documents\GitHub\Lean/Algorithm.Python:/Lean/Algorithm.Python -p 55555:55555 --entrypoint mono quantconnect/lean:latest --debug --debugger-agent=transport=dt_socket,server=y,address=0.0.0.0:55555,suspend=y QuantConnect.Lean.Launcher.exe --data-folder /Data --results-destination-folder /Results --config /Lean/Launcher/config.json"

If I set up config.json file in Optimizer.Launcher and used self.Parameter in my algo, how can I start Optimizer.LAuncher instead of Launcher

My try:

"docker run --rm --mount type=bind,source=C:\Users\Mislav\Documents\GitHub\Lean/Optimizer.Launcher/config.json,target=/Lean/Optimizer.Launcher/config.json,readonly -v C:\Users\Mislav\Documents\GitHub\Lean/Data:/Data:ro -v C:\Users\Mislav\Documents\GitHub\Lean/Results:/Results --name LeanEngine -p 5678:5678 --expose 6000 --mount type=bind,source=C:\Users\Mislav\Documents\GitHub\Lean\Launcher\bin\Debug\QuantConnect.Algorithm.CSharp.dll,target=/Lean/Launcher/bin/Debug/QuantConnect.Algorithm.CSharp.dll --mount type=bind,source=C:\Users\Mislav\Documents\GitHub\Lean\Launcher\bin\Debug\QuantConnect.Algorithm.CSharp.pdb,target=/Lean/Launcher/bin/Debug/QuantConnect.Algorithm.CSharp.pdb -v C:\Users\Mislav\Documents\GitHub\Lean/Algorithm.Python:/Lean/Algorithm.Python -p 55555:55555 --entrypoint mono quantconnect/lean:latest --debug --debugger-agent=transport=dt_socket,server=y,address=0.0.0.0:55555,suspend=y QuantConnect.Lean.Launcher.exe --data-folder /Data --results-destination-folder /Results --config /Lean/Launcher/config.json"