PnL Explained
How Lexor calculates your unrealized profit and loss — the methodology, limitations, and what the numbers mean.
Unrealized vs Realized PnL
Unrealized PnL is the profit or loss on a position you still hold. It's what you would make (or lose) if you sold right now at the current price.
Realized PnL is the profit or loss from positions you've already fully exited — money you've already made or lost.
Lexor currently displays unrealized PnL only — the live P&L on your open positions.
How Lexor Calculates Unrealized PnL
For each token you've traded through Lexor, the calculation works as follows:
Step 1: Determine your cost basis
Your cost basis is the total USD amount you spent buying a token through Lexor. If you bought in multiple transactions:
Cost Basis = sum of all buy trade USD valuesFor example: you bought $50 USDC worth, then another $100 USDC worth. Cost basis = $150.
Step 2: Calculate average buy price
Average Buy Price = Cost Basis / Total Tokens BoughtThis is the average price per token across all your buys.
Step 3: Account for sells
If you've partially sold some of your position, Lexor adjusts the cost basis proportionally:
Proportional Cost Basis = Cost Basis × (Tokens Still Held / Total Tokens Bought)For example: you bought 1,000,000 tokens with a $150 cost basis, then sold 500,000 (50%). Your proportional cost basis for the remaining 500,000 tokens is $75.
Step 4: Calculate unrealized PnL
Current Value = Tokens Held × Current Price (USD)
Unrealized PnL (USD) = Current Value − Proportional Cost Basis
Unrealized PnL (%) = (Unrealized PnL / Proportional Cost Basis) × 100Example
| Value | |
|---|---|
| Total tokens bought | 1,000,000 |
| Total USD spent | $150 |
| Tokens sold | 200,000 |
| Tokens still held | 800,000 |
| Current price | $0.00025 |
| Current value | $200 |
| Proportional cost basis | $120 (80% of $150) |
| Unrealized PnL | +$80 (+66.7%) |
Why PnL Only Shows for Some Tokens
Unrealized PnL requires a known cost basis — which means Lexor needs a record of when and how much you bought.
PnL is only calculated for tokens you bought through Lexor. If you hold a token that you purchased on Phantom, Raydium, or any other platform, Lexor has no record of your entry price and cannot calculate PnL for it.
Those tokens will still appear in your holdings with a live balance and USD value — there just won't be a PnL badge.
Important Caveats
- Not financial advice — PnL figures are informational only. Past performance does not indicate future results.
- USD-denominated — PnL is calculated in USD, not SOL. Price movements in SOL itself affect the USD value of SOL-denominated positions.
- Unrealized means not locked in — until you sell, these gains or losses can change. A +200% position can become -50% quickly in volatile markets.
- Trade responsibly — memecoin and DeFi markets are extremely volatile. Only risk what you can afford to lose.