We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca9d6d5 commit d0d8eccCopy full SHA for d0d8ecc
app/components/Positions.tsx
@@ -39,7 +39,10 @@ export const Positions: FC<{ symbol: API.Symbol }> = ({ symbol }) => {
39
<Table.Cell>{baseFormatter.format(position.position_qty)}</Table.Cell>
40
<Table.Cell>{usdFormatter.format(position.average_open_price)}</Table.Cell>
41
<Table.Cell>{usdFormatter.format(position.mark_price)}</Table.Cell>
42
- <Table.Cell>{usdFormatter.format(position.unrealized_pnl)}</Table.Cell>
+ <Table.Cell>
43
+ {usdFormatter.format(position.unrealized_pnl)} (
44
+ {usdFormatter.format(position.unrealized_pnl_ROI * 100)}%)
45
+ </Table.Cell>
46
<Table.Cell>
47
{position.est_liq_price ? usdFormatter.format(position.est_liq_price) : '-'}
48
</Table.Cell>
0 commit comments