strategy_state#

tradeexecutor.visual.strategy_state Python module in Trading Strategy framework.

Module description#

Visualise the strategy state as an image.

  • Draw the latest price action start

  • Plot indicators on this

  • Make this available PNG for sharing

Functions#

draw_multi_pair_strategy_state(state, universe)

Draw mini price chart images for multiple pairs.

draw_single_pair_strategy_state(state, universe)

Draw a mini price chart image.

visualise_single_pair_strategy_state(state, ...)

Produces a visualisation of the strategy state for a single pair.