strategy_state#

API documentation for tradeexecutor.visual.strategy_state Python module in Trading Strategy.

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#

adjust_legend(f)

draw_multi_pair_strategy_state(*args, **kwargs)

draw_single_pair_strategy_state(*args, **kwargs)

visualise_single_pair_strategy_state(state, ...)

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