Purely from a tax perspective, best to worst: short term losses, long term losses, long term gains, short term gains.
So if you want to fund an IRA on 1/1/2020, maybe last week of Dec 2019 you look to harvest losses. If you have none, then wait until after 1/1 and sell and incur the least amount of long term gains. Never short term gains.