diff --git a/utils/prove-backtesting.py b/utils/prove-backtesting.py index ac412a8..57e2d16 100644 --- a/utils/prove-backtesting.py +++ b/utils/prove-backtesting.py @@ -607,7 +607,7 @@ def parse_backtesting_line( "max_profit_on_clean_wins", ]: # drop any results containing losses, stales, or holds - if 0 not in [l, s, h] or w == 0: + if sum([l, s, h]) > 0 or w == 0: return (False, {}) blob: Dict[str, Any] = json.loads(_cfg)