visualise_single_pair_strategy_state#
API documentation for tradeexecutor.visual.strategy_state.visualise_single_pair_strategy_state Python function.
- visualise_single_pair_strategy_state(state, target_pair_candles, start_at=None, end_at=None, pair_id=None, height=512, technical_indicators=True, title=False)[source]#
Produces a visualisation of the strategy state for a single pair.
- Parameters:
state (State) – The strategy state
target_pair_candles – The candles for the pair
height – The height of the image
technical_indicators – Whether to draw technical indicators or not
- Returns:
The strategy state visualisation as Plotly figure
- Return type:
Figure