visualise_trades#

API documentation for tradeexecutor.visual.utils.visualise_trades Python function.

visualise_trades(fig, candles, trades_df, candlestick_row=None, column=None, include_credit_supply_positions=False)[source]#

Plot individual trades over the candlestick chart.

Parameters:
  • fig (Figure) –

  • candles (DataFrame) –

  • trades_df (DataFrame) –

  • candlestick_row (int | None) –

  • column (int | None) –

  • include_credit_supply_positions (bool) –