|
Lean
$LEAN_TAG$
|
Common interface for template elements of the report More...
Public Member Functions | |
| abstract string | Render () |
| The generated output string to be injected More... | |
Public Attributes | |
| string | JsonKey => Key.Replace("KPI-", "").Replace("$", "").Replace("{", "").Replace("}", "") .ToLowerInvariant() |
| Normalizes the key into a JSON-friendly key More... | |
Properties | |
| virtual string | Name [get, protected set] |
| Name of this report element More... | |
| virtual string | Key [get, protected set] |
| Template key code. More... | |
| virtual object | Result [get, protected set] |
| Result of the render as an object for serialization to JSON More... | |
Common interface for template elements of the report
Definition at line 21 of file ReportElement.cs.
|
pure virtual |
The generated output string to be injected
Implemented in QuantConnect.Report.ReportElements.SharpeRatioReportElement, QuantConnect.Report.ReportElements.ParametersReportElement, and QuantConnect.Report.ReportElements.EstimatedCapacityReportElement.
| string QuantConnect.Report.ReportElements.ReportElement.JsonKey => Key.Replace("KPI-", "").Replace("$", "").Replace("{", "").Replace("}", "") .ToLowerInvariant() |
Normalizes the key into a JSON-friendly key
Definition at line 36 of file ReportElement.cs.
|
getprotected set |
Name of this report element
Definition at line 26 of file ReportElement.cs.
|
getprotected set |
Template key code.
Definition at line 31 of file ReportElement.cs.
|
getprotected set |
Result of the render as an object for serialization to JSON
Definition at line 41 of file ReportElement.cs.