diff --git a/freqtrade/data/metrics.py b/freqtrade/data/metrics.py index 09dd60208..f08e2693d 100644 --- a/freqtrade/data/metrics.py +++ b/freqtrade/data/metrics.py @@ -197,7 +197,7 @@ def calculate_cagr(days_passed: int, starting_balance: float, final_balance: flo def calculate_expectancy(trades: pd.DataFrame) -> float: """ Calculate expectancy - :param trades: DataFrame containing trades (requires columns close_date and profit_ratio) + :param trades: DataFrame containing trades (requires columns close_date and profit_abs) :return: expectancy """ if len(trades) == 0: