Order validity defines how long an order remains active before it is executed, cancelled, or expires. The available validity options depend on the order type you select in FYERS.
For Regular orders, the current order window provides Day, IOC, and Smart Limit under Advanced → Validity. GTT orders use a separate order type and have their validity applied automatically.
Day is the default validity option wherever validity is applicable. The order remains active for the same trading day and expires automatically if it is not executed by the end of the applicable market session.
Day validity is available for Regular orders such as Intraday, Delivery/Overnight, and MTF, where applicable.
IOC (Immediate or Cancel) attempts to execute the order immediately. The order may be executed fully or partially, and any quantity that cannot be executed immediately is cancelled.
Smart Limit is available under the Validity section of the current order window. When you select Smart Limit, you need to configure an End Time.
If the order remains unexecuted, it stays active only until the configured End Time and then expires based on the Smart Limit setup.
GTT (Good Till Triggered) orders do not use the Day or IOC validity options shown under Advanced. To place a GTT order, change the order type from Regular to GTT.
The validity period is applied automatically, so a separate validity dropdown is not displayed for GTT orders.
Smart Orders are generally valid for the same trading day, except where the selected Smart Order type defines its own schedule or validity condition.