Report class
More...
|
| Report (string name, string description, string version, BacktestResult backtest, LiveResult live, string pointInTimePortfolioDestination=null, string cssOverride=null, string htmlCustom=null) |
| Create beautiful HTML and PDF Reports based on backtest and live data. More...
|
|
void | Compile (out string html, out string reportStatistics) |
| Compile the backtest data into a report More...
|
|
|
static string | GetRegexInInput (string pattern, string input) |
| Gets the regex pattern in the given input string More...
|
|
Report class
Definition at line 34 of file Report.cs.
◆ Report()
QuantConnect.Report.Report.Report |
( |
string |
name, |
|
|
string |
description, |
|
|
string |
version, |
|
|
BacktestResult |
backtest, |
|
|
LiveResult |
live, |
|
|
string |
pointInTimePortfolioDestination = null , |
|
|
string |
cssOverride = null , |
|
|
string |
htmlCustom = null |
|
) |
| |
Create beautiful HTML and PDF Reports based on backtest and live data.
- Parameters
-
name | Name of the strategy |
description | Description of the strategy |
version | Version number of the strategy |
backtest | Backtest result object |
live | Live result object |
pointInTimePortfolioDestination | Point in time portfolio json output base filename |
cssOverride | CSS file that overrides some of the default rules defined in report.css |
htmlCustom | Custom HTML file to replace the default template |
Definition at line 55 of file Report.cs.
◆ Compile()
void QuantConnect.Report.Report.Compile |
( |
out string |
html, |
|
|
out string |
reportStatistics |
|
) |
| |
Compile the backtest data into a report
- Returns
Definition at line 168 of file Report.cs.
◆ GetRegexInInput()
static string QuantConnect.Report.Report.GetRegexInInput |
( |
string |
pattern, |
|
|
string |
input |
|
) |
| |
|
static |
Gets the regex pattern in the given input string
- Parameters
-
pattern | Regex pattern to be find the input string |
input | Input string that may contain the regex pattern |
- Returns
- The regex pattern in the input string if found. Otherwise, null
Definition at line 197 of file Report.cs.
◆ StatisticsFileName
const string QuantConnect.Report.Report.StatisticsFileName = "report-statistics.json" |
|
static |
File name for statistics
Definition at line 42 of file Report.cs.
The documentation for this class was generated from the following file: