Convert to real amount before placing order

to keep the correct amount in the database
This commit is contained in:
Matthias 2020-07-15 20:28:07 +02:00
parent c1c018d8fe
commit 3721736aaf

View File

@ -523,7 +523,7 @@ class FreqtradeBot:
time_in_force=time_in_force):
logger.info(f"User requested abortion of buying {pair}")
return False
amount = self.exchange.amount_to_precision(pair, amount)
order = self.exchange.buy(pair=pair, ordertype=order_type,
amount=amount, rate=buy_limit_requested,
time_in_force=time_in_force)