I want to know the difference between triggered and complete in GTT order

| rules.status | string | Indicates the status of the rule.
Possible values: SCHEDULED, TRIGGERED, EXPIRED, OPEN, COMPLETED, CANCELLED, PENDING, FAILED and INACTIVE. |
|----|----|----|

in the below response ENTRY is Triggered or complete when entry is met and what about SL and target as well, after meeting entry that is GTT order has started and it met one of the 2 legrs SL or target what will be the status of that leg is it triggered or complete.
{
“status”: “success”,
“data”: [
{
“type”: “MULTIPLE”,
“exchange”: “NSE_EQ”,
“quantity”: 1,
“product”: “I”,
“rules”: [
{
“strategy”: “ENTRY”,
“status”: “FAILED”,
“trigger_type”: “IMMEDIATE”,
“trigger_price”: 7.7,
“transaction_type”: “BUY”,
“message”: “The price set should be within the circuit limits. Please modify your order price.”,
“order_id”: “250228010168535”
},
{
“strategy”: “STOPLOSS”,
“status”: “CANCELLED”,
“trigger_type”: “IMMEDIATE”,
“trigger_price”: 7.6,
“transaction_type”: “SELL”,
“message”: “”,
“order_id”: null
},
{
“strategy”: “TARGET”,
“status”: “CANCELLED”,
“trigger_type”: “IMMEDIATE”,
“trigger_price”: 7.64,
“transaction_type”: “SELL”,
“message”: “”,
“order_id”: null
}
],
“trading_symbol”: “IDEA”,
“instrument_token”: “NSE_EQ|INE669E01016”,
“gtt_order_id”: “GTT-CU25280200021010”,
“expires_at”: 1740767399000000,
“created_at”: 1740723100000000
}
],
“metadata”: {
“latency”: 58
}
}

Hi @Mohamed_49019149 , Below is the explanation of both the status:

TRIGGERED: This a intermediate state, which is reached after there is a price match and order is ready to be sent to exchange.

COMPLETED: This state is reached when we receives acknowledgement from the exchange, that order is successfully completed.

Thanks

1 Like