Skip to content

Commit

Permalink
Fix camel case bug (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinovsky authored Oct 28, 2024
1 parent 9f8f2b9 commit a9cba3c
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 a9cba3c

Please sign in to comment.