Skip to content

Commit 42c0df2

Browse files
authored
Merge pull request #215 from Azulinho/neve_skip_runs
never skip optimized backtesting runs
2 parents 983df6e + cb3d17a commit 42c0df2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

utils/prove-backtesting.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -696,11 +696,6 @@ def run_optimized_config(self, s_investment: float) -> float:
696696
"""runs optimized config"""
697697
with open(f"configs/optimized.{self.strategy}.yaml") as cf:
698698
_tickers: Dict[str, Any] = yaml.safe_load(cf.read())["TICKERS"]
699-
if not _tickers:
700-
log_msg(
701-
f"automated-backtesting: no tickers in {self.strategy} yaml, skipping run"
702-
)
703-
return float(s_investment)
704699

705700
wrap_subprocessing(f"optimized.{self.strategy}.yaml")
706701
with open(

0 commit comments

Comments
 (0)