Skip to content

Commit

Permalink
Fix camel case bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinovsky committed Oct 24, 2024
1 parent a7236c1 commit cf2588c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lean/commands/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ def optimize(project: Path,
created=datetime.now(),
completed=True,
progress=1.0,
runtimeStatistics=optimal_results["RuntimeStatistics"],
statistics=optimal_results["Statistics"])
runtimeStatistics=optimal_results["runtimeStatistics"],
statistics=optimal_results["statistics"])

logger.info(f"Optimal parameters: {optimal_parameters.replace(':', ': ').replace(',', ', ')}")
logger.info(f"Optimal backtest results:")
Expand Down

0 comments on commit cf2588c

Please sign in to comment.