Understanding your cryptocurrency investments requires precise tracking of gains and losses. This guide explores TokenPocket's single-asset P&L analysis framework to help you make data-driven decisions.
Core Types of Single-Asset Profit/Loss Metrics
1. Time-Based P&L (7-Day/30-Day)
This analysis evaluates performance within specific periods using two key indicators:
Profit/Loss Amount Calculation
- Formula:
Total P&L = Σ(Daily P&L) Daily P&L aggregates all individual sale profits/losses:
Single Trade P&L = (Sell Price - Average Holding Price) × Sold Quantity
Average Holding Price reflects your cost basis:
(Current Buy Amount + Previous Buy Total) / (Previous Quantity + Current Buy Quantity)
Profit/Loss Rate
- Formula:
P&L Rate = P&L Amount / Total Buy Cost During Period - Example: $500 profit on $5,000 invested = 10% return
👉 Master crypto portfolio tracking with these pro tips
2. Account/Token Aggregate P&L
Assesses overall performance across your entire holding period:
Total P&L Amount
- Cumulative sum of all realized gains/losses
Total P&L Rate
Total P&L / Lifetime Buy Cost- Example: $2,000 profit on $10,000 invested = 20% ROI
Data Calculation Methodology
Key Reference Points
Statistics begin from the later of:
- Feature launch date
- Your first TokenPocket usage date
Ensuring data integrity through transaction-based (not arbitrary) starting points.
Core Calculation Metrics
| Metric | Formula | Purpose |
|---|---|---|
| Average Buy Cost | Total Buy Amount / Total Quantity | Cost basis for P&L calculations |
| Average Sell Price | Total Sell Amount / Total Quantity | Measures selling performance |
| Realized P&L | Σ(Single Trade P&L) | Actualized gains/losses |
| Realized P&L Rate | Realized P&L / Period Buy Cost | Investment efficiency ratio |
Special Case: Transferred Assets
Current version excludes externally transferred assets from buy cost calculations. Future updates will incorporate these for complete financial visibility.
👉 Optimize your trading strategy with these insights
Frequently Asked Questions
Q: Why doesn't my P&L match my wallet balance?
A: P&L analyzes trade performance, while wallet balances include untraded holdings and potential unrealized gains.
Q: How often is P&L data updated?
A: Calculations refresh in real-time with each recorded transaction.
Q: Can I export P&L data for tax purposes?
A: Currently unavailable, but export functionality is planned for future releases.
Q: Why exclude transferred assets from calculations?
A: This prevents cost basis distortion when assets originate outside TokenPocket's tracked transactions.
Q: What if I disagree with my calculated average buy price?
A: The system precisely tracks all on-chain buy transactions. Discrepancies may indicate missed transactions or timing differences.
Q: Are DeFi yield earnings included in P&L?
A: Currently no—only direct buy/sell trades through TokenPocket's integrated DEXs are counted.