We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7c8d6 commit f544a91Copy full SHA for f544a91
backtesting/_stats.py
@@ -67,6 +67,7 @@ def compute_stats(
67
'SL': [t.sl for t in trades],
68
'TP': [t.tp for t in trades],
69
'PnL': [t.pl for t in trades],
70
+ 'Commissions': [t._commissions for t in trades],
71
'ReturnPct': [t.pl_pct for t in trades],
72
'EntryTime': [t.entry_time for t in trades],
73
'ExitTime': [t.exit_time for t in trades],
0 commit comments