backtesting.py
backtesting.py copied to clipboard
Add monetary Average Trade
Enhancement description
Is it possible to add the average trade in monetary terms?
Code sample
stats = bt.run()
avg_trade = stats._trades['PnL'].mean()
Additional info, images
No response
Ok ... But why add it when you can compute it so easily yourself? 😳
You're probably right 👍