If you have a trade that is scheduled to execute on a holiday when the market is closed, it will be automatically executed on the next business day when the market reopens. The stock market operates on a T+2 settlement system, which means that trades are typically settled two business days after the trade execution.
So, if your trade is scheduled for a holiday, it will be processed on the next trading day, and you will see the results of the trade accordingly.