Fix fee-calculation for dry-run orders

This commit is contained in:
Matthias 2020-05-01 19:51:35 +02:00
parent 40d4949f06
commit 6b33d5af1e

View File

@ -494,7 +494,7 @@ class Exchange:
'remaining': 0,
'fee': {
'currency': self.get_pair_quote_currency(pair),
'cost': dry_order['amount'] * self.get_fee(pair),
'cost': dry_order['cost'] * self.get_fee(pair),
'rate': self.get_fee(pair)
}
})