Investor Dan Niles says he’s sold out of his favorite tech stock ahead of earnings. Here's why

Investor Daniel Niles.
John Chiala | CNBC

Hedge fund manager Dan Niles told CNBC on Friday he's sold one of his favorite technology stocks before the company reports earnings next week, characterizing the trade as a way to reduce risk.