Calculations for the position's Profit and Loss (PnL) data and cryptocurrency cost price are now available in the Spot Account. Here's how it's calculated:
1. Profit and Loss (PnL) of Positions
Total Position PnL Amount: (Last Price - Average Cost Price) * Available Balance
Total Unrealized PnL Ratio: (Last Price - Average Cost Price) / Average Cost Price
2. Cost Price of Cryptocurrency
Cryptocurrency Cost Price = Total Cost Value / Available Balance
Total Cost Value = Net Deposit Value + Net Transfer-in Value + Net Buying Value
Details:
Net Deposit Value: Sum of all deposits - sum of all withdrawals
Net Transfer-in Value: Sum of all transfer-ins - sum of all transfer-outs
Net Buying Value: Sum of all buy orders in Spot - sum of all sell orders in Spot
Notes:
1. Historical cost price calculations include only the average filled price for Spot trades. If you have not made any Spot trades, the cost price will be determined using the open price.
2. You can manually adjust your cost price if it does not match your actual cost.
Additional Note: There might be some discrepancies and delays in calculations due to complexity of the relevant data. The data should be used as reference only. We appreciate your understanding.