US stocks rebound on Amazon results ahead of Fed, election finale