In the US, the trade date, not the settlement date (T+2) locks in the loss or profit of a sale meaning 12/31 is the last day to lock in losses by selling for tax harvesting purposes. The exception is losses resulting from closing a short position, which go off of settlement date (closing a short for profit follows trade date norms for long sells). One can close a short position for a loss tomorrow 12/29 and utilize the tax loss for 2020. This is relatively moot given what appears to be a minuscule short position: