build_trade_analysis#

build_trade_analysis(portfolio)[source]#

Build a trade analysis from list of positions.

  • Read positions from backtesting or live state

  • Create TradeAnalysis instance that can be used to display Jupyter notebook data on the performance

Parameters

portfolio (Portfolio) –

Return type

TradeAnalysis