diff --git a/mobile/lib/features/trade/trade_bottom_sheet_tab.dart b/mobile/lib/features/trade/trade_bottom_sheet_tab.dart index 98ad32005..24b1456de 100644 --- a/mobile/lib/features/trade/trade_bottom_sheet_tab.dart +++ b/mobile/lib/features/trade/trade_bottom_sheet_tab.dart @@ -86,7 +86,7 @@ class _TradeBottomSheetTabState extends State final tradeValues = provider.fromDirection(position.direction.opposite()); tradeValues.openQuantity = position.quantity; - tradeValues.updateQuantity(tradeValues.maxQuantity - tradeValues.openQuantity); + tradeValues.updateQuantity(Usd.zero()); // by default the contracts are set to the amount of open contracts of the current position. tradeValues.updateContracts(tradeValues.openQuantity);