mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
chore: Update to new code standard
This commit is contained in:
parent
660af7ec70
commit
1a85dc9b99
|
@ -18,7 +18,7 @@ Possible to change:
|
|||
"""
|
||||
|
||||
from datetime import datetime
|
||||
from typing import Any, Dict
|
||||
from typing import Any
|
||||
|
||||
import numpy as np
|
||||
from pandas import DataFrame
|
||||
|
@ -50,8 +50,8 @@ class MultiMetricHyperOptLoss(IHyperOptLoss):
|
|||
min_date: datetime,
|
||||
max_date: datetime,
|
||||
config: Config,
|
||||
processed: Dict[str, DataFrame],
|
||||
backtest_stats: Dict[str, Any],
|
||||
processed: dict[str, DataFrame],
|
||||
backtest_stats: dict[str, Any],
|
||||
**kwargs,
|
||||
) -> float:
|
||||
total_profit = results["profit_abs"].sum()
|
||||
|
|
Loading…
Reference in New Issue
Block a user