Stocks rise on AI optimism; Nvidia, Microsoft gain | PiQ Markets