Wrong, tax code specifies that for stock and bonds, the trade date is the date to be put down on the Schedule D. See IRS instructions.
I think that many years ago the IRS required year-end losses to be reported as of the settlement date, which might be January __, but gains on the trade date.