Wall Street stocks finished mostly higher, with one analyst saying the market “still shows its muscles” and remains “very resilient”.