Trading question and answer

If i have bought share for 1500/share yesterday and sell today 1600/share and again i bought the same share for 1200/share. Whether i got both the profite while selling and buying the same shre. Or what will be the profit. Pl. Explain
Thank you

Selling and buying the shares (or vice versa) on the same day is considered as intraday (1600-1200= 400 profit). Holdings remain as it is with Rs 1500 buy average.