What does the "market is closed" error mean?
The "market is closed" error means you're trying to trade outside the product's trading hours. You can't place or change orders on weekends, market holidays, or when the market is generally closed.
To check a product's trading session, right-click on the product in the market watch window and select "specifications," which will display the trading hours for that product.