Skip to content

Commit c05b257

Browse files
committed
Remove debug
1 parent 992b0ef commit c05b257

File tree

1 file changed

+0
-1
lines changed
  • investing_algorithm_framework/services/metrics

1 file changed

+0
-1
lines changed

investing_algorithm_framework/services/metrics/win_rate.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ def get_win_rate(trades: List[Trade]) -> float:
5555
trades = [
5656
trade for trade in trades if TradeStatus.CLOSED.equals(trade.status)
5757
]
58-
print(len(trades))
5958
positive_trades = sum(1 for trade in trades if trade.net_gain > 0)
6059
total_trades = len(trades)
6160

0 commit comments

Comments
 (0)