Let's say I hold 100 shares of stock XYZ overnight. The next day, I buy 100 more shares of stock XYZ. Later that day, I decide to sell the 100 shares of stock XYZ that I held overnight. Do the IRS and the SEC honor the same first-in-first-out rules when it comes to day trades? In other words, is this considered a day trade?