PlotKind#

API documentation for tradeexecutor.state.visualisation.PlotKind Python class in Trading Strategy framework.

class PlotKind[source]#

Bases: Enum

What different plots a strategy can output.

See Visualisation.plot_indicator().

__init__(*args, **kwds)#

Attributes

technical_indicator_on_price

This plot is drawn on the top of the price graph

technical_indicator_detached

This plot is drawn below the price graph as a separate chart.

technical_indicator_overlay_on_detached

This plot is overlaid on a detached indicator plot.

technical_indicator_on_price = 'technical_indicator_on_price'#

This plot is drawn on the top of the price graph

technical_indicator_detached = 'technical_indicator_detached'#

This plot is drawn below the price graph as a separate chart.

technical_indicator_overlay_on_detached = 'technical_indicator_overlay'#

This plot is overlaid on a detached indicator plot.