Skip to content

Commit

Permalink
add long short
Browse files Browse the repository at this point in the history
  • Loading branch information
vipineth committed Dec 5, 2023
1 parent 3869402 commit 3b30270
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/GlobalLeaderboards/TopPositions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export default function TopPositions({ positions, search }: TopPositionsProps) {
Account: item.account,
"Unrealized PnL": formatDelta(item.unrealizedPnlAfterFees, { signed: true, prefix: "$" }),
"Index Token": item.marketInfo.indexToken.symbol,
Side: item.isLong ? "Long" : "Short",
"Entry Price": formatPrice(item.entryPrice, chainId, item.marketInfo.indexToken.symbol),
Size: formatUsd(item.sizeInUsd),
Leverage: formatLeverage(item.leverage),
Expand Down

0 comments on commit 3b30270

Please sign in to comment.