
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
Q1: Where can I view the cost price and PnL data after trading in my Spot Account?
You can check the cost price and PnL data for your assets directly in your Spot Account.
Q2: Can I still trade the assets in the Fund Account after trading in my Spot Account?
Unfortunately, assets in the Fund Account can only be transferred or deposited/withdrawn. The cost price and PnL data for those assets will be reset to zero after trading in the Spot Account, but the total PnL in the Fund Account remains unaffected.
Q3: What types of trades are included in the calculation of average or cumulative cost price?
Only buy trades and sell trades in the Spot Account are included.
Q4: Will asset transfers or deposits/withdrawals between accounts affect the calculation of average or cumulative cost price?
No, transfers or deposits/withdrawals, such as moving assets from the Fund Account or Futures Account to the Spot Account, do not impact cost price calculations.
Q5: Are stablecoins and fiat currencies included in cost price calculations?
No, stablecoins and fiat currencies are not included in cost price calculations.
Q6: What happens to the cost price and PnL data if the asset value is less than 1 USDT?
When asset value falls below 1 USDT, the average cost price, cumulative cost price, and PnL will display as “--”.
Q7: What happens to the cost price and PnL data if the asset value is zero?
When the asset value is zero, the average cost price, cumulative cost price, and PnL will display as “--”.
Q8: Can the cumulative cost price be negative? What does it mean?
Yes, the cumulative cost price can be negative. This occurs when the proceeds from selling exceed the cost of buying, indicating that the position is already in profit. When the cumulative cost price is negative, the unrealized PnL will display as "--".
Q9: What happens to the cost price and unrealized PnL after a token swap?
After a token swap, as the asset balance for the token resets to zero, both the cost price and unrealized PnL will display as "--".
Q10: Can I adjust the cost price if I think it's inaccurate?
Yes, you can manually adjust the cost price. However, note that once new trading data is generated, the cost price will be recalculated.
Q11: What if I forget the historical cost price while adjusting?
You can contact customer support, and they will assist you in retrieving the historical cost price.
Note: Due to the complexity of related business data, there may be calculation discrepancies or delays. The data is for reference only. Thank you for your understanding.