mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
chore: fix minor type gotcha
This commit is contained in:
parent
7adc3c2ef5
commit
dba7f9968b
|
@ -260,7 +260,7 @@ class Hyperopt:
|
|||
result["max_open_trades"] = {"max_open_trades": strategy.max_open_trades}
|
||||
return result
|
||||
|
||||
def print_results(self, results) -> None:
|
||||
def print_results(self, results: Dict[str, Any]) -> None:
|
||||
"""
|
||||
Log results if it is better than any previous evaluation
|
||||
TODO: this should be moved to HyperoptTools too
|
||||
|
@ -271,7 +271,7 @@ class Hyperopt:
|
|||
print(
|
||||
HyperoptTools.get_result_table(
|
||||
self.config,
|
||||
results,
|
||||
[results],
|
||||
self.total_epochs,
|
||||
self.print_all,
|
||||
self.print_colorized,
|
||||
|
|
Loading…
Reference in New Issue
Block a user