Stocks edge higher after record-setting week