definition#

API documentation for tradeexecutor.strategy.chart.definition Python module in Trading Strategy.

Module description#

Chart definition for the trade executor strategy.

Classes#

ChartCallback

One function serving chats.

ChartFunction

Chart rendering protocol definition.

ChartInput

Input state and choises needed to render a chart.

ChartKind

What kind of charts we can define

ChartParameters

ChartParameters(width: int = 1200, height: int = 800, format: Literal['png', 'svg'] = 'png')

ChartRegistry

Registry for charts.

ChartRenderingResult

Server-side rendered result, ready to send over a wire.