Fix rounding issue with contract-sized pairs for dry-run orders

This commit is contained in:
Matthias
2022-04-27 19:58:19 +02:00
parent 2c0a7c5d74
commit 46855221aa
2 changed files with 3 additions and 2 deletions

View File

@@ -585,7 +585,6 @@ class FreqtradeBot(LoggingMixin):
Executes a limit buy for the given pair
:param pair: pair for which we want to create a LIMIT_BUY
:param stake_amount: amount of stake-currency for the pair
:param leverage: amount of leverage applied to this trade
:return: True if a buy order is created, false if it fails.
"""
time_in_force = self.strategy.order_time_in_force['entry']