 He defeated Andy Murray and Novak Djokovic in straight sets to win the <unk> Masters for the seventh time . This marked the first time that Federer had beaten the top 2 players in the world at the same tournament . At the US Open , he advanced to his first final there since 2009 without dropping a set , including a win over Stan Wawrinka in the semifinals . In the final , he was once again defeated by top seed Djokovic in four sets . At the Swiss Indoors tournament in Basel , Federer won his sixth singles title of the year , and his 88th ATP title , defeating his old rival Rafael Nadal in the final . It was the seventh time he had captured his hometown tournament . 
