In this scenario the date of income is the date on which the contract has been signed, even if you received the actual money (settlement) later. Regardless of the NY special law for residency termination - that is the standard rule for recognition of income during a cash (not installments) sale. The fact that you got the actual money later doesn't matter, which is similar to selling stocks on a public exchange.
When you sell stocks through your broker on a public exchange - you still recognize the income on the day of the sale, not on the day of the settlement.
This is called "the Constructive Receipt doctrine".
The IRS publication 538 has this to say about the constructive receipt:
Constructive receipt. Income is constructively received when an
amount is credited to your account or made available to you without
restriction. You need not have possession of it. If you authorize
someone to be your agent and receive income for you, you are
considered to have received it when your agent receives it. Income is
not constructively received if your control of its receipt is subject
to substantial restrictions or limitations.
Once you signed the contract, the money has essentially been credited to your account with the counter-party, and unless they're bankrupt or otherwise insolvent - you have no restrictions over it.
And also (more specifically for your case):
You cannot hold checks or postpone taking possession of similar
property from one tax year to another to postpone paying tax on the
income. You must report the income in the year the property is
received or made available to you without restriction.
Timing wire transfer is akin to holding and not depositing a check, from this perspective. So unless there was a restriction that was lifted after you moved out of New York, I doubt you can claim that you couldn't have received it before moving out, i.e.: you have, in fact, constructively received it.
trade date
is the date when the income (capital gain/loss) occurs.