Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Backtest: Winner & Loser trades

Porfolio.pnl shows me the Profit and Losses for the whole portfolio. How could I get the Profit and Losses for each trade and then analyze these results after backtesting?

  • Max winner trade
  • Max loser trade
  • Average profit for trade
  • Stoploss executed N times