Fix fee-calculation for dry-run orders
This commit is contained in:
parent
40d4949f06
commit
6b33d5af1e
@ -494,7 +494,7 @@ class Exchange:
|
|||||||
'remaining': 0,
|
'remaining': 0,
|
||||||
'fee': {
|
'fee': {
|
||||||
'currency': self.get_pair_quote_currency(pair),
|
'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)
|
'rate': self.get_fee(pair)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user