diff --git a/freqtrade/data/btanalysis.py b/freqtrade/data/btanalysis.py index 2b4a63441..10dba8683 100644 --- a/freqtrade/data/btanalysis.py +++ b/freqtrade/data/btanalysis.py @@ -162,8 +162,6 @@ def load_backtest_data(filename: Union[Path, str], strategy: Optional[str] = Non raise OperationalException( "Backtest-results with only trades data are no longer supported.") if not df.empty: - if 'profit_ratio' not in df.columns: - df['profit_ratio'] = df['profit_percent'] df = df.sort_values("open_date").reset_index(drop=True) return df