From f5a660f845163369659855883a3982bc06fc1816 Mon Sep 17 00:00:00 2001 From: kevinjulian Date: Wed, 21 Jul 2021 20:19:56 +0700 Subject: [PATCH] caps BUY_TAG_IDX --- freqtrade/optimize/backtesting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index 5099c07ef..fdf341e21 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -43,7 +43,7 @@ CLOSE_IDX = 3 SELL_IDX = 4 LOW_IDX = 5 HIGH_IDX = 6 -buy_tag_IDX = 7 +BUY_TAG_IDX = 7 class Backtesting: @@ -370,7 +370,7 @@ class Backtesting: fee_open=self.fee, fee_close=self.fee, is_open=True, - buy_tag=row[buy_tag_IDX], + buy_tag=row[BUY_TAG_IDX], exchange='backtesting', ) return trade