Source: https://money.stackexchange.com/questions/68134/partial-exclusion-from-short-term-capital-gain-due-to-change-of-job