draw_single_pair_strategy_state#

API documentation for tradeexecutor.visual.strategy_state.draw_single_pair_strategy_state Python function.

draw_single_pair_strategy_state(state, universe, width=512, height=512, candle_count=64, start_at=None, end_at=None, technical_indicators=True)[source]#

Draw a mini price chart image.

See also

  • manual-visualisation-test.py

  • tradeeexecutor.strategy.pandas_runner.PandasTraderRunner.report_strategy_thinking().

Parameters:
Returns:

The strategy state visualisation as Plotly figure

Return type:

Figure