So frustrated with how Binance updates the average price and profits and losses

When the market spikes, the coin I bought is profitable but still shows a loss. Even when selling, the amount received is still a loss even though that coin has increased by 10 to 20%.