display_slippage#
API documentation for tradeexecutor.analysis.slippage.display_slippage Python function.
- display_slippage(trades)[source]#
Format trade slippage details for Jupyter Notebook table output.
Display in one table :return:
DataFrame containing positions and trades, values as string formatted
- Parameters:
trades (Iterable[TradeExecution]) –
- Return type:
DataFrame