This part of GOV.UK is being rebuilt – find out what beta means

HMRC internal manual

Capital Gains Manual

Targeted anti-gain buying rule - effect of the new legislation

The effect of TCGA92/S184B in relation to gain buying is that losses may not be set against gains except in certain very limited circumstances. See CG47335 for those exceptions.