mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
chore: remove unused kwargs
This commit is contained in:
parent
e9d9ebf156
commit
0a91189e6a
|
@ -30,9 +30,6 @@ TARGET_TRADE_AMOUNT variable sets the minimum number of trades required to avoid
|
||||||
If the trade amount falls below this threshold, the penalty is applied.
|
If the trade amount falls below this threshold, the penalty is applied.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from datetime import datetime
|
|
||||||
from typing import Any
|
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from pandas import DataFrame
|
from pandas import DataFrame
|
||||||
|
|
||||||
|
@ -60,11 +57,7 @@ class MultiMetricHyperOptLoss(IHyperOptLoss):
|
||||||
def hyperopt_loss_function(
|
def hyperopt_loss_function(
|
||||||
results: DataFrame,
|
results: DataFrame,
|
||||||
trade_count: int,
|
trade_count: int,
|
||||||
min_date: datetime,
|
|
||||||
max_date: datetime,
|
|
||||||
config: Config,
|
config: Config,
|
||||||
processed: dict[str, DataFrame],
|
|
||||||
backtest_stats: dict[str, Any],
|
|
||||||
**kwargs,
|
**kwargs,
|
||||||
) -> float:
|
) -> float:
|
||||||
total_profit = results["profit_abs"].sum()
|
total_profit = results["profit_abs"].sum()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user