Melt the margarine in a large skillet. Add onions, shallot, and celery and saute until onions are golden. Add bread cubes, cranberries, apples, parsley, and pecans and mix well with a fork. Add just enough stock to make a moist stuffing. Place in a nonstick baking pan, cover and bake at 350 degrees for 20 minutes. If stuffing dries out while baking add more stock. Makes 8 cups.