A limit-on-close (LOC) order is an order to buy or sell a security in an exchange's closing auction, to be executed at the official closing price only if that price is at or better than a limit set by the trader. A buy order is filled if the close is at or below the limit, and a sell order if it is at or above. If the close is outside the limit, the order is cancelled unfilled.
The order suits investors who want the closing price, which is the reference for fund valuations and index tracking, but with protection against a sharp late move. Each exchange sets a cut-off time before the close after which such orders cannot be entered, changed or cancelled except to offset a published imbalance. The main risk is non-execution. It is the end-of-day counterpart of the limit-on-open order and a variant of the ordinary limit order.