profitdistribution#

tradingstrategy.analysis.profitdistribution module.

Module description#

Show histograms how many trades were profitable or not.

Warning

This module is deprecated and replaced by tradeexecutor analysis modules.

Functions#

plot_trade_profit_distribution(df[, bins, ...])

Create a histogram of won and lost trades based on trade analyzer expanded timeline output.