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 992b0ef commit c05b257Copy full SHA for c05b257
investing_algorithm_framework/services/metrics/win_rate.py
@@ -55,7 +55,6 @@ def get_win_rate(trades: List[Trade]) -> float:
55
trades = [
56
trade for trade in trades if TradeStatus.CLOSED.equals(trade.status)
57
]
58
- print(len(trades))
59
positive_trades = sum(1 for trade in trades if trade.net_gain > 0)
60
total_trades = len(trades)
61
0 commit comments