
1. Cost Price
Starting from 2025-02-27, we will be rolling out the cost price feature for spot account assets in phases. As the feature will be launched in phases, you may not see it immediately. Don’t worry, it will be gradually released in upcoming updates for all users. Thank you for your patience!
Average Cost Price | Cumulative Cost Price | |
Definition | Average cost price for spot crypto bought | Cumulative cost price for spot crypto bought and sold |
Cost Price | Average Cost Price = (Previous Average Cost Price × Quantity + Most Recent Buy Price × Quantity) / Total Position Quantity | Cumulative Cost Price = (Total Buy Value - Total Sell Value) / Total Position Quantity |
Profit | (Last Price - Cost Price) × Position Amount | (Last Price - Cost Price) × Position Amount |
Return on Investment (ROI) | (Last Price - Cost Price) / Cost Price | (Last Price - Cost Price) / Cost Price |
2. Calculation Example
Assume you did not hold any BTC before:
1) Day 1: Buy 5 BTC at a price of 5,000, the last price is 5,500.
Average Cost Price
- Cost Price = (0 + 5,000 * 5) / 5 = 5,000
- Profit = (5,500 - 5,000) * 5 = 2,500
- ROI = (5,500 - 5,000) / 5,000 = 10%
Cumulative Cost Price
- Cost Price = (5,000 * 5 - 0) / 5 = 5,000
- Profit = (5,500 - 5,000) * 5 = 2,500
- ROI = (5,500 - 5,000) / 5,000 = 10%
2) Day 2: Sell 2 BTC at a price of 5,500, the last price is 6,000.
Average Cost Price
- Cost Price = 5,000
- Profit = (6,000 - 5,000) * 3 = 3,000
- ROI = (6,000 - 5,000) / 5,000 = 20%
Cumulative Cost Price
- Cost Price = (5,000 * 5 - 5,500 * 2) / 3 = 4,667
- Profit = (6,000 - 4,667) * 3 = 3,999
- ROI = (6,000 - 4,667) / 4,667 = 28.56%
3. Important Notes
- Average and cumulative cost prices apply to spot trading (buy&sell).
- Stablecoins and fiat currencies are not included in cost price calculations.
- If the asset value is under 1 USDT, average cost price, cumulative cost price, and PnL will show as “--”.
- If the asset quantity is 0, average cost price, cumulative cost price, and PnL will show as “--”.
- Cumulative cost price can become negative. This happens when the amount received from selling part of a position exceeds the initial investment, leading to a floating profit. If the cumulative cost price is negative, PnL will show as “--”.
- After the token swap, as the asset value becomes zero, the cost price and PnL will show as "--".
- You can manually adjust the cost price if it doesn't match your actual cost. Once adjusted, it will be recalculated with new trades.
Special Note: Due to the complexity of relevant data, there may be calculation errors or delays. The data is for reference only. Thank you for your understanding.