Skip to content

Commit

Permalink
Correctly wrap opt_result, do not have raw value
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jul 20, 2024
1 parent 8cbb880 commit 438322c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradeexecutor/backtest/optimiser.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def __call__(
opt_result = OptimiserSearchResult(self.filtered_result_value, negative=False)

opt_result.combination = combination
logger.info("Optimiser for combination %s resulted to %s, exiting child process", combination, opt_result.value)
logger.info("Optimiser for combination %s resulted to %s, exception is %s, exiting child process", combination, opt_result.value, result.exception)
return opt_result


Expand Down

0 comments on commit 438322c

Please sign in to comment.