Skip to content

EstimatedCapacityReportElement

QuantConnect.Report.ReportElements.EstimatedCapacityReportElement

EstimatedCapacityReportElement(
    name: str,
    key: str,
    backtest: BacktestResult,
    live: LiveResult,
)

Bases: ReportElement

Capacity Estimation Report Element

Create a new capacity estimate

Parameters:

Name Type Description Default
name str

Name of the widget

required
key str

Location of injection

required
backtest BacktestResult

Backtest result object

required
live LiveResult

Live result object

required

name

name: str

Name of this report element

key

key: str

Template key code.

json_key

json_key: str

Normalizes the key into a JSON-friendly key

result

result: Object

Result of the render as an object for serialization to JSON

render

render() -> str

Render element