build_trade_analysis#

API documentation for tradeexecutor.analysis.trade_analyser.build_trade_analysis Python function.

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 IPython notebook data on the performance

Parameters:

portfolio (Portfolio) –

Return type:

TradeAnalysis