Merge pull request #5935 from freqtrade/short_buy_tag_compat

Short buy tag compat
This commit is contained in:
Matthias
2021-11-26 06:29:56 +01:00
committed by GitHub
22 changed files with 153 additions and 105 deletions

View File

@@ -494,7 +494,7 @@ class Backtesting:
fee_open=self.fee,
fee_close=self.fee,
is_open=True,
buy_tag=row[ENTER_TAG_IDX] if has_enter_tag else None,
enter_tag=row[ENTER_TAG_IDX] if has_enter_tag else None,
exchange=self._exchange_name,
is_short=(direction == 'short'),
leverage=leverage,