Trade date controls
When determining what year you sold your stock, the trade date is what matters. This is the day the transaction took place on the stock exchange. If you contact your broker on the last trading day of the year, you can complete a sale in the current year if your broker executes the trade that day. On major exchanges, the last trading day is December 31 unless that day falls on a weekend.
Settlement date
Stock market trades generally settle a few days after the trade date. This is the day shares and cash actually change hands. But the settlement date doesn't matter for purposes of determining when your sale took place. If your trade date is in the current year and your settlement date is in the following year, the tax law says you made the sale in the current year (year of the trade date).
http://www.fairmark.com/capgain/lastday.htm
This post is an opinion and should not be considered reason to buy or sell any security, or to besmirch, belittle or berate any person, religion, cult, creed, race, sex, political party, company or company representative of any age or appearance.