Does Lean CLI optimize metho save source code? I can't find it in the folder where backtests are saved.
If, not I would like to recommend saving source code. After some time and code changes, I forgot what code was ran in the first place.
QUANTCONNECT COMMUNITY
Does Lean CLI optimize metho save source code? I can't find it in the folder where backtests are saved.
If, not I would like to recommend saving source code. After some time and code changes, I forgot what code was ran in the first place.
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.
Jasper van Merle
Hi Mislav,
I've just released a new version of the CLI which copies the source code that is used when running `lean backtest`, `lean live` and `lean optimize` to the “code” directory in the corresponding output directory (respectively `<project>/backtests/<timestamp>/code`, `<project>/live/<timestamp>/code` and `<project>/optimizations/<timestamp>/code`). You can update using `pip install --upgrade lean`.
Mislav Sagovac
Jasper van Merle ,
You are really fast. I will update CLI and give it a try ASAP.
Thanks!
Mislav Sagovac
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!