NEW YORK (AP) — Stocks ended lower on Wall Street, giving up their gains for the week. The S&P still managed to end July higher, marking six monthly gains in a row, the longest such streak since 2018. It fell 0.5% Friday, with a big drag coming from Amazon. The online retail giant slumped 7.6% after it reported sales growth that was big but not as big as Wall Street expected. Its sales forecast also disappointed investors. The Dow lost 0.4% and the Nasdaq fell 0.7%.