Scenario
7 days ago I exited from some mutual funds where I had experienced significant gains. I came across information just today that shows my 2017 tax return will be a LOT more beneficial if I don't have to realize the mutual fund gains.
Question
If I reinvest the mutual fund gains within 30 days of when they were taken out can I avoid having to report the gains for 2017?