The average price is calculated on the selling price of a currency instead of a buy price. There is always a difference between the sell and buy price to the market gap.
You can refer to the below article to understand this difference better:
https://coinswitch.co/kuberverse/difference-buy-sell-prices-coinswitch-kuber/