Stocks powered ahead to notch their best week since the November presidential election just ahead of Donald Trump’s inauguration.