Investing in quality companies listed on the stock market has certainly paid off for my ISA and pension accounts this year.