diff --git a/src/dexorder/order/orderstate.py b/src/dexorder/order/orderstate.py index 803f022..b913854 100644 --- a/src/dexorder/order/orderstate.py +++ b/src/dexorder/order/orderstate.py @@ -308,7 +308,11 @@ class Order: ''' for i in range(len(self.order.tranches)): tranche = self.order.tranches[i] - msg += f' {tranche} filled {await adjust_decimals(amount_token, self.tranche_filled(i))}\n' + msg += f' {tranche}' + filled_amount = self.tranche_filled(i) + if filled_amount: + msg += f' filled {await adjust_decimals(amount_token, filled_amount)}' + msg += '\n' return msg # ORDER STATE