Lean
$LEAN_TAG$
|
Capacity Estimation Report Element More...
Public Member Functions | |
EstimatedCapacityReportElement (string name, string key, BacktestResult backtest, LiveResult live) | |
Create a new capacity estimate More... | |
override string | Render () |
Render element More... | |
Additional Inherited Members | |
Public Attributes inherited from QuantConnect.Report.ReportElements.ReportElement | |
string | JsonKey => Key.Replace("KPI-", "").Replace("$", "").Replace("{", "").Replace("}", "") .ToLowerInvariant() |
Normalizes the key into a JSON-friendly key More... | |
Properties inherited from QuantConnect.Report.ReportElements.ReportElement | |
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... | |
Capacity Estimation Report Element
Definition at line 25 of file EstimatedCapacityReportElement.cs.
QuantConnect.Report.ReportElements.EstimatedCapacityReportElement.EstimatedCapacityReportElement | ( | string | name, |
string | key, | ||
BacktestResult | backtest, | ||
LiveResult | live | ||
) |
Create a new capacity estimate
name | Name of the widget |
key | Location of injection |
backtest | Backtest result object |
live | Live result object |
Definition at line 37 of file EstimatedCapacityReportElement.cs.
|
virtual |
Render element
Implements QuantConnect.Report.ReportElements.ReportElement.
Definition at line 48 of file EstimatedCapacityReportElement.cs.