Source: https://money.stackexchange.com/questions/67046/how-are-taxes-tracked-on-investments-which-have-already-had-tax-paid-on-them