display_positions#
- display_positions(positions)[source]#
Format trading positions for Jupyter Notebook table output.
Display in one table
All positions
Their underlying trades
- Returns:
DataFrame containing positions and trades, values as string formatted
- Parameters:
positions (Iterable[TradingPosition]) –
- Return type: