From 925e18368a8eb0f36f50d08dc15af22fb78c66a0 Mon Sep 17 00:00:00 2001 From: froggleston Date: Sat, 2 Sep 2023 15:05:34 +0100 Subject: [PATCH] Fix linting a.k.a. Maybe one day, flake8 will like me --- freqtrade/data/entryexitanalysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/data/entryexitanalysis.py b/freqtrade/data/entryexitanalysis.py index fff051f1c..ac5893585 100644 --- a/freqtrade/data/entryexitanalysis.py +++ b/freqtrade/data/entryexitanalysis.py @@ -121,7 +121,7 @@ def _do_group_table_output(bigdf, glist, csv_path: Path, to_csv=False, ): new['exp_ratio'] = ( ( - (1 + (new['avg_win'] / abs(new['avg_loss']))) * (new['wl_ratio_pct']/100) + (1 + (new['avg_win'] / abs(new['avg_loss']))) * (new['wl_ratio_pct'] / 100) ) - 1).fillna(0) new.columns = ['total_num_buys', 'wins', 'losses',