Suppose I bought 10 shares of an ETF at 100$ and another 10 shares of that same ETF at 90$ at a later point of time. The average right now is 95$ for 20 shares.
A) Now if I sell 10 shares at 97$, will it be considered as a profit or a loss? Is the buying price considered or average price...