Don't call amount_to_precision twice on entry

This commit is contained in:
Matthias
2022-02-27 15:57:44 +01:00
parent fdbd75501f
commit 0ebf40f390
3 changed files with 7 additions and 8 deletions

View File

@@ -542,7 +542,6 @@ class FreqtradeBot(LoggingMixin):
entry_tag=buy_tag):
logger.info(f"User requested abortion of buying {pair}")
return False
amount = self.exchange.amount_to_precision(pair, amount)
order = self.exchange.create_order(pair=pair, ordertype=order_type, side="buy",
amount=amount, rate=enter_limit_requested,
time_in_force=time_in_force)