Get your taxes done using TurboTax

Sorry you have to report it and pay tax on it.  But capital gains are taxed at a lower rate.  

 

You say "retirement"?  You don't get a 1099Div for retirement accounts and don't report gains or losses in retirement accounts.  You only report distributions.   Retirement accounts are 401K and IRA accounts.