How is the buy average affected when shares from holdings are sold and bought back on the same day?

Estimated reading: 1 minute 1164 views

it will considered as Intraday. In trade for trade groups stocks then the buy avg. will be effected as cal. is based on FIFO method