You can avoid paying any capital gains taxes by trading in an IRA account (until you take a distribution, of course).