QuantConnect / lean-cli

CLI for running the LEAN engine locally and in the cloud
https://www.lean.io/cli
Apache License 2.0
194 stars 99 forks source link

Include parameters in report and statistics #349

Closed Marinovsky closed 1 year ago

Marinovsky commented 1 year ago

This change is related to issue PR #7401 on LEAN. The main purpose of this change is to enable the user to provide a CSS file as an optional argument in the Lean CLI command lean report. This CSS file, if provided, will override the default CSS template in QuantConnect.Report.

To cover this changes, there was created a backtest from LEAN CLI and then it was generated its report with different optional arguments. Below you can find the examples that were run to generate the report as well as a snapshot of the report generated and the content of the CSS override file (if provided):