diff --git a/screens/Trading/components/Table.tsx b/screens/Trading/components/Table.tsx index 89c27b03..285f74bb 100644 --- a/screens/Trading/components/Table.tsx +++ b/screens/Trading/components/Table.tsx @@ -290,7 +290,7 @@ const TradingTable = ({ const sortList = { close_timestamp: "Close time", open_timestamp: "Opening time", - pnl: "PNL & ROE", + pnl: "PNL", }; return (
- {getSymbolById(assetC.token_id, assetC.metadata?.symbol)} -
- {getSymbolById(assetC.token_id, assetC.metadata?.symbol)} -
- {getSymbolById(assetC.token_id, assetC.metadata?.symbol)} -
*/}{record.close_type}
0 ? "text-green-150" : record.pnl < 0 ? "text-red-150" : "" diff --git a/screens/Trading/components/Table/PositionRow.tsx b/screens/Trading/components/Table/PositionRow.tsx index 772f3b63..c0521abb 100644 --- a/screens/Trading/components/Table/PositionRow.tsx +++ b/screens/Trading/components/Table/PositionRow.tsx @@ -98,7 +98,7 @@ const PositionRow = ({ const netValue = parseTokenValue(item.token_c_info.balance, decimalsC) * (priceC || 0); const collateral = parseTokenValue(item.token_c_info.balance, decimalsC); - const assetLabel = positionType.label === "Long" ? symbolD : symbolP; + const assetLabel = positionType.label === "Long" ? symbolP : symbolD; const indexPrice = positionType.label === "Long" ? priceP / priceD : priceD / priceP; const openTime = new Date(Number(item.open_ts) / 1e6); const uahpi: any = isMainStream @@ -144,7 +144,10 @@ const PositionRow = ({
{beautifyPrice(size)}
++ {" "} + {beautifyPrice(size)} {assetLabel} +
({beautifyPrice(sizeValue, true, 3, 3)}){beautifyPrice(size)}
++ {" "} + {beautifyPrice(size)} {assetLabel} +
({beautifyPrice(sizeValue, true, 3, 3)})Size
@@ -291,9 +293,7 @@ const PositionRow = ({Entry Price
{entryPrice !== null ? ( - - {beautifyPrice(entryPrice)} {assetLabel} - + {beautifyPrice(entryPrice)} ) : ( - )} @@ -301,9 +301,7 @@ const PositionRow = ({
Index Price
-- {beautifyPrice(indexPrice)} {assetLabel} -
+{beautifyPrice(indexPrice)}
Liq. Price
@@ -314,7 +312,7 @@ const PositionRow = ({{new Date(openTime).toLocaleString()}
0 ? "text-green-150" : pnl < 0 ? "text-red-150" : "text-gray-400"