Run Lean report creator via Docker

Back

Hello,

I'm trying to run the Report creator via Docker, but unfortunately, I keep returning errors. This is what I have so far:

docker run --rm \
--mount type=bind,source=$(pwd)/Launcher/config.json,target=/Lean/Launcher/config.json,readonly \
--mount type=bind,source=$(pwd)/Data,target=/Data,readonly \
--mount type=bind,source=$(pwd)/Results,target=/Results \
-it \
--entrypoint="mono QuantConnect.Lean.Report.exe" \
quantconnect/lean:latest --backtest-data-source-file /Results/BasicTemplateFrameworkAlgorithm.json

The error is: `exec: \"mono QuantConnect.Lean.Report.exe\": executable file not found in $PATH": unknown.`

I'm pretty new to this project so not even sure whether the report creator is even part of the Docker image.

Can anyone help me out here? Thanks!

Update Backtest







 
0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Hi Nick; it might be easier to package up the arguments into a bash script and run the bash script as a single entry point vs passing in the args to the command-line.

0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed