diff --git a/webapp/frontend/lib/trade/order_and_position_table.dart b/webapp/frontend/lib/trade/order_and_position_table.dart index 5cecd2db7..b9f111843 100644 --- a/webapp/frontend/lib/trade/order_and_position_table.dart +++ b/webapp/frontend/lib/trade/order_and_position_table.dart @@ -117,7 +117,9 @@ class OpenPositionTable extends StatelessWidget { for (var position in positions) TableRow( children: [ - buildTableCell(Text(position.quantity.toString())), + buildTableCell(Text(position.direction == "short" + ? "-${position.quantity}" + : "+${position.quantity}")), buildTableCell(Text(position.averageEntryPrice.toString())), buildTableCell(Text(position.liquidationPrice.toString())), buildTableCell(Text(position.collateral.toString())),