visualisation#

tradeexecutor.state.visualisation module.

Module description#

Visualisation of a strategy.

The visualisation part of the state shows “how strategy is thinking.” All information stored is dianogtics information and is not consumed in the actual decision making - the data is just derivates for decision making process and raw data.

Visualisation data is filled by the backtest, or by timepoint-by-timepoint by a live strategy. Visualisation includes

  • Debug messages

  • Technical indicators on a graph

Classes#

Plot

Plot(name: str, kind: tradeexecutor.state.visualisation.PlotKind, colour: Optional[str] = None, points: Dict[int, float] = <factory>)

PlotKind

What different plots a strategy can output.

Visualisation

This object is returned from the strategy execution cycle.