The Tax Cuts and Jobs Act, enacted on Dec. 22, 2017, established new tax codes that provide significant tax deferral opportunities for recently realized capital gains when they are invested in a Qualified Opportunity Fund (QOF or O Fund) for at least five years.