Wall Street ended in the green, with the electronic technology sector leading, as the S&P 500, Nasdaq, and the Dow Jones saw over 0.5% gains amid strong earnings and a flurry of mergers and acquisitions. But oil saw a close to 1% drop as Iraq's oil minister said that his country should be exempt from OPEC production cuts due to its war with Islamic State militants. TD Ameritrade's (AMTD) - Get Report stock fell after it said that it entered into a "definitive agreement" to purchase online brokerage firm Scottrade Financial Services in a cash-and-stock deal valued at $4 billion. TheStreet's Jim Cramer says he applauds the deal. Finally, VF Corp. (VFC) - Get Report , an apparel and footwear company with brands including North Face, Vans and Timberland slumped after beating third-quarter estimates, but sales for the quarter fell 1% from a year ago and the company cut its full-year revenue outlook. TheStreet's Valerie Young reports from Wall Street.