Each parcel you buy or sell is treated separately for the purposes of CGT - the buy and sell dates are the clock