visualise_positions_with_duration_and_slippage#

API documentation for tradeexecutor.visual.single_pair.visualise_positions_with_duration_and_slippage Python function.

visualise_positions_with_duration_and_slippage(fig, candles, positions)[source]#

Visualise trades as coloured area over time.

Add arrow indicators to point start and end duration, and slippage.

Parameters: