US stocks rose to finish a wild July for Wall Street as Amazon leaped, Apple sank and rising oil prices worsened worries about inflation staying high.

Amazon's profit tripled while Apple's supply crunch spooked investors, as oil and inflation fears kept Wall Street on edge all July.

US stocks rose Friday to finish a wild July for Wall Street as Amazon leaped, Apple sank and rising oil prices worsened worries about inflation staying high. The S&P 500 climbed…