PlotShape#
tradeexecutor.state.visualisation.PlotShape class.
- class PlotShape[source]#
Bases:
Enum
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
- __init__()#
Attributes
Standard linear line.
Is the line horizontal-vertical.
- linear = 'linear'#
Standard linear line. Used in most cases.
- horizontal_vertical = 'hv'#
Is the line horizontal-vertical. Used for stop loss line. See https://plotly.com/python/line-charts/?_ga=2.83222870.1162358725.1672302619-1029023258.1667666588#interpolation-with-line-plots