Hi!
I've recently started my journey with Lean. Following documentation, I want to create a report of a backtest that is not the most recent one
https://www.quantconnect.com/docs/v2/lean-cli/reports
So as presented in the doc, I typed in powershell “lean --backtest-results” and the path of the backtest's Json file. The whole commend looks as follows:
“lean --backtest-results C:\Users\Name\LeanCLI\Mean Reversion TP SL\optimizations\2022-09-23_10-55-26\81428560-36d7-46c6-aa86-9b180d506c86”
Unfortunately instead of the report, I receive this error “Error: No such option: --backtest-results”
Do you know what could be the reason of it? I updated Lean to the latest version.
Derek Melchin
Hi Sebastian,
The command above is missing report. Try:
lean report --backtest-results “C:\Users\Name\LeanCLI\Mean Reversion TP SL\optimizations\2022-09-23_10-55-26\81428560-36d7-46c6-aa86-9b180d506c86\81428560-36d7-46c6-aa86-9b180d506c86.json”
Best,
Derek Melchin
Want to invest in QuantConnect as we build the Linux of quant finance? Checkout our Wefunder campaign to join the revolution.
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.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!