Hi, what is the docker command that "lean backtest" command runs? I'm trying to run it manually so I can configure it with other docker services. I tried to get the "docker run" command with the tool mentioned here which gives me the following, but it didn't give the same output.

  1. docker run `
  2. --name=lean_cli_vsdbg `
  3. --hostname=COMPUTER-01 `
  4. --mac-address=02:a2:cf:81:00:02 `
  5. --env=DOTNET_NOLOGO=true `
  6. --env=DOTNET_CLI_TELEMETRY_OPTOUT=true `
  7. --env=PATH=/opt/miniconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin `
  8. --env=DEBIAN_FRONTEND=teletype `
  9. --env=LANG=en_US.UTF-8 `
  10. --env=LANGUAGE=en_US:en `
  11. --env=LC_ALL=en_US.UTF-8 `
  12. --env=CONDA=Miniconda3-4.5.12-Linux-x86_64.sh `
  13. --env=PIP_DEFAULT_TIMEOUT=120 `
  14. --env=PYTHONNET_PYDLL=/opt/miniconda3/lib/libpython3.6m.so `
  15. --volume='C:\Projects\lean-cloud\data:/Lean/Data:rw' `
  16. --volume='C:\Projects\lean-cloud\proj\backtests\2021-06-08_21-38-27:/Results:rw' `
  17. --volume='C:\Projects\lean-cloud\proj\storage:/Storage:rw' `
  18. --volume='C:\Users\user\AppData\Local\Temp\lean-cli-chpf547q:/LeanCLI:rw' `
  19. --volume=lean_cli_nuget:/root/.nuget/packages:rw `
  20. --volume=/Lean/Data `
  21. --volume=/LeanCLI `
  22. --volume=/Results `
  23. --volume=/Storage `
  24. --volume=/root/.nuget/packages `
  25. --workdir=/Lean/Launcher/bin/Debug `
  26. --detach=true `
  27. -t quantconnect/lean:latest
+ Expand

One suggestion: If you can include the "docker run" command in the --verbose switch that would be great.

 

Thanks,
Omid

Author

Omid Rad

June 2021