From 443a36dd62008eec9bfb41b2eed7f63966f96813 Mon Sep 17 00:00:00 2001 From: orehunt Date: Thu, 30 Apr 2020 12:11:08 +0200 Subject: [PATCH] rename to profitperc --- freqtrade/data/btanalysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/data/btanalysis.py b/freqtrade/data/btanalysis.py index 10cc575a1..966e12c78 100644 --- a/freqtrade/data/btanalysis.py +++ b/freqtrade/data/btanalysis.py @@ -261,7 +261,7 @@ def calculate_outstanding_balance( open_time = pair_trades.index.values close_time = pair_trades["close_time"].values close = pair_candles["close"].values - profits = pair_trades["profit_percent"].values - slippage + profits = pair_trades["profitperc"].values - slippage # at the open_time candle, the balance is matched to the close of the candle pair_balance = np.where( # only the rows with actual trades