diff --git a/pages/portfolio.tsx b/pages/portfolio.tsx
index fb6b769a..57bf519e 100644
--- a/pages/portfolio.tsx
+++ b/pages/portfolio.tsx
@@ -15,29 +15,29 @@ const mockedAccounts = [
{
id: 2,
label: "Subaccount 2",
- networth: 100000,
- totalPositionValue: 150000,
- debt: 50000,
- profit: 25000,
- leverage: 3,
- maxLeverage: 5,
+ networth: 33000,
+ totalPositionValue: 11000,
+ debt: 20000,
+ profit: -11366,
+ leverage: 2,
+ maxLeverage: 10,
},
{
id: 3,
label: "Subaccount 3",
- networth: 100000,
- totalPositionValue: 150000,
- debt: 50000,
- profit: 25000,
+ networth: 0,
+ totalPositionValue: 12938129,
+ debt: 9999999999,
+ profit: -99999999,
leverage: 3,
maxLeverage: 5,
},
{
id: 4,
label: "Subaccount 4",
- networth: 100000,
- totalPositionValue: 150000,
- debt: 50000,
+ networth: 33653.22,
+ totalPositionValue: 100000,
+ debt: 50001.9,
profit: 25000,
leverage: 3,
maxLeverage: 5,
@@ -50,7 +50,41 @@ const Portfolio = () => {
{account.label}
+{formatCurrency(account.networth)}
+Net worth
+{formatCurrency(account.totalPositionValue)}
+Total Position Value
+{formatCurrency(account.debt)}
+Debt
+0 ? "text-green-400" : "text-red-500" + }`} + > + {formatCurrency(account.profit)} +
+P&L
+{account.leverage}
+Current Leverage
+{account.maxLeverage}
+Max Leverage
+