visualise_positions_with_duration_and_slippage#
- 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:
fig (Figure) –
candles (DataFrame) –
positions (Collection[TradingPosition]) –