Actually you are both correct. Brokerage firms use settlement date to report sales for year end and accountants use the last day of the year for tax purposes.