web_chart#

API documentation for tradeexecutor.visual.web_chart Python module in Trading Strategy.

Module description#

Chart generation for the web frontend.

Classes#

TimeWindow

If frontend asks for a specific history period.

WebChart

JSONnable chart reply.

WebChartSource

Are we rendering backtest or live trading

WebChartType

Different charts we can generate for frontend rendering.

Functions#

export_time_series(series)

Export Pandas series for web frontend rendering.

render_web_chart(state, type, source)

Render one of various web charts.