The nearest expiration date for NY Harbor ULSD Futures (Dec 2023) is Nov 30, 2023.
The best time to sell a futures contract is when you've already made money on the investment, but still have plenty of time left before the expiration date. Thus, a good option would be to sell NY Harbor ULSD Futures (Dec 2023) before Nov 30, 2023.