PlotShape#
API documentation for tradeexecutor.state.visualisation.PlotShape Python class in Trading Strategy framework.
- class PlotShape[source]#
- Bases: - Enum- What kind of shape is this plot. - Describes the various shapes that a line can take in a plot. See discussion: https://github.com/tradingstrategy-ai/trade-executor/pull/156#discussion_r1058819823 - See - Visualisation.plot_indicator().- __init__(*args, **kwds)#
 - Attributes - Standard linear line. - Is the line horizontal-vertical. - Individually specified points. - linear = 'linear'#
- Standard linear line. Used in most cases. 
 - horizontal_vertical = 'hv'#
- Is the line horizontal-vertical. Used for stop loss line. 
 - markers = 'markers'#
- Individually specified points. - Typically used for event indicators e.g. cross over of two lines.