render_chart#
API documentation for tradeexecutor.strategy.chart.renderer.render_chart Python function.
- render_chart(registry, chart_id, parameters, input)[source]#
Render a chart using the provided registry and parameters.
Call from the web API endpoint
In backtesting use
ChartBackt estRenderingSetup
- Parameters:
registry (ChartRegistry) – The chart registry containing available charts.
chart_id (str) – The name of the chart to render.
parameters (ChartParameters) – Parameters for rendering the chart.
input (ChartInput) – Input data required for rendering the chart.
- Returns:
ChartOutput containing the rendered chart data or an error message.
- Return type: