rename to profitperc
This commit is contained in:
parent
ceb697f54c
commit
443a36dd62
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user