Stocks advanced today, led by defensive shares as investors made moves in secret before the weekend when sources say Spain is expected to request aid for its troubled banks.