Dry Market orders should update "remaining"

This commit is contained in:
Matthias 2022-08-10 07:12:56 +02:00
parent 53251e7140
commit 573964b19f

View File

@ -849,6 +849,7 @@ class Exchange:
dry_order.update({ dry_order.update({
'average': average, 'average': average,
'filled': _amount, 'filled': _amount,
'remaining': 0.0,
'cost': (dry_order['amount'] * average) / leverage 'cost': (dry_order['amount'] * average) / leverage
}) })
# market orders will always incurr taker fees # market orders will always incurr taker fees