Hi,
For backtest, I can use 'lean report --backtest-data-source-file FILE' to get the beautiful graph backtest report.
I tried similar for paper testing with command 'lean reportĀ --live-data-source-file FILE', but it always fail with below information (which seems for backtest only)
Error: Missing option '--backtest-data-source-file'.
What is the good way to get paper trading performance and portfolio change? When I begin paper trading like 'lean live paper-test-2 live-paper', it will keep running until I ctrl-C to quit. Then from where (there seem multiple json files under live folders while only one main.jsaon under backtest folder) I can measure the algorithm is good or not.
Same question for live trading.
Thanks,
henry
Jasper van Merle
Hi Henry,
The LEAN Report Creator can also generate reports of live results, but only alongside backtest results. If you want to use it to plot live results, you need to use both theĀ --backtest-data-source-fileĀ and theĀ --live-data-source-fileĀ options, the former pointing to a JSON file containing backtest results and the latter pointing to one containing live results. The live file that you need is the one ending in "_minute.json".
Henry111
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!