Tech stocks led the charge on Friday, pushing all three of the major averages higher after stellar earnings from Apple, Facebook, Amazon and Google. The tech-heavy Nasdaq Composite, snapped a two-week losing streak, rising 1.5 percent, while the S&P 500 climbed 0.77 percent. The Dow Jones Industrial Average added 115 points, or 0.44 percent. All three indexes notched their fourth straight month of gains. Looking at stocks, Apple Inc. announced a 4-for-1 stock split after reporting record revenue and earnings growth for the three months through June. The tech giant’s revenue rose 11 percent during the quarter while earnings grew by 18 percent. CEO Tim Cook also told FOX Business he is confident in a “strong bounce back” for the U.S. economy. Apple shares settled at an all-time as the company approaches a $2 trillion value. Amazon Inc. reported quarterly revenue surged 40 percent year-over-year as the COVID-19 pandemic boosted its online shopping and cloud services businesses. The e-commerce behemoth’s profit doubled to a record $5.2 billion. Google-parent Alphabet Inc. beat Wall Street expectations on both the top and bottom lines, but advertising revenue fell 8 percent from a year ago, driven by weakness in its search business. Facebook Inc. revenue grew 11 percent from a year ago as user-engagement increased while Americans hunkered down at home to ride out the COVID-19 pandemic. Despite the better-than-expected results, some analysts made note of the slowdown in revenue growth, which had averaged gains of almost 25 percent over the previous four quarters. Elsewhere on the earnings front, Dow component Caterpillar Inc. reported its quarterly profit plunged 70 percent from a year ago, but managed to exceed Wall Street estimates. Oil giant Chevron Corp. booked a $2.6 billion writedown of its Venezuela operations and another $1.8 billion charge due to its forecast for lower commodities prices. Overall, the company lost $8.3 billion during the quarter as the COVID-19 pandemic zapped oil demand. Rival Exxon Mobil Corp., meanwhile, lost money for the second quarter in a row, recording a $1.1 billion loss. Ford Motor Co. saw its quarterly profit increase 11-fold versus last year to $1.1 billion, but warned it expects a loss for 2020. The automaker paid down $7.7 billion of $15.4 billion borrowed through revolving credit facilities and said it has plenty of cash on hand should COVID-19 cause more production to go offline. Athletic apparel maker Under Armour Inc. sales fell 41 percent as stay-at-home orders shuttered retailers across the country, but results topped expectations as online sales experienced “significant” growth. Looking at commodities, gold gained more than $169 for the month, wrapping its biggest monthly gain since January 2012. The precious metal ended July at $1,962.80 an ounce after earlier on Friday crossing $2,000 for the first time. Meanwhile, West Texas Intermediate crude oil rose $1 for the month to close at $40.27 per barrel. U.S. Treasurys were little changed with the yield on the 10-year note holding near 0.536 percent. In Europe, Germany’s DAX and France’s CAC fell 0.54 percent and 1.43 percent, respectively, after data showed European Union gross domestic product slumped by a record 11.9 percent from the prior quarter. Meanwhile, Britain’s FTSE was weaker by 1.54 percent. In Asia, Japan’s Nikkei fell 2.82 percent, Hong Kong’s Hang Seng lost 0.47 percent and China’s Shanghai Composite added 0.71 percent.