kieran-mackle / AutoTrader

A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
https://kieran-mackle.github.io/AutoTrader/
GNU General Public License v3.0
937 stars 215 forks source link

Display statistics in backtesting mode #83

Open ziyedbe opened 1 year ago

ziyedbe commented 1 year ago

I saw that in earlier versions we had more statistics displayed but are now commented :

# print("Win rate:                {}%".format(round(win_rate, 1)))
# print("Max win:                 ${}".format(round(max_win, 2)))
# print("Average win:             ${}".format(round(avg_win, 2)))
# print("Max loss:                -${}".format(round(max_loss, 2)))
# print("Average loss:            -${}".format(round(avg_loss, 2)))

Is it possible to bring back those statistics ? and is it possible to have stats over every single trade (Like profit made for each trade)

Thank you!