Skip to main content

Place GTT Order

GTT (Good Till Triggered) orders let you place buy or sell orders that remain active until a specified trigger price is hit, without an expiry tied to a single trading session.

note

Access to GTT orders requires specific criteria. For more details or to get this feature enabled, please get in touch with your SIPL Support representative.

This API allows you to place a fresh GTT buy or sell order.

🛣️ Endpoint

POST {{hosturl}}/transactional/v1/orders/regular

🔑 Header Parameters

FieldsTypeRequiredDescriptionExample/Enum
AuthorizationstringYesBearer token for authenticationaccess_token
x-api-keystringYesAPI key provided by brokerx-api-key
Content-TypestringYesMust be application/jsonapplication/json

📦 Request Body Schema

FieldsTypeRequiredDescriptionExample/Enum
scrip_infoobjectYesInstrument detailsSee below table
transaction_typestringYesDirection of the tradeBUY / SELL
product_typestringYesProduct categoryDELIVERY / INTRADAY
order_typestringYesOrder TypesRL / SL / RL-MKT
quantitystringYesNumber of units to trade"1"
pricenumberYesLimit price for the order1721.75
trigger_pricenumberYesPrice that activates the GTT order1724.75
disclosed_quantityintegerNoQuantity to disclose publicly0
validitystringYesOrder validity type. Must be GTT for GTT ordersGTT
validity_daysintegerNoNumber of days the order stays valid0
is_amobooleanNoWhether this is an After Market Orderfalse
order_identifierstringNoCustom identifier for the order""
freeze_quantityintegerNoFreeze quantity limit0

📘 Scrip Info Object Fields

FieldsTypeRequiredDescriptionExample/Enum
exchangestringYesExchange segmentsBSE_EQ
scrip_tokenintegerYesUnique token for the instrument500410
symbolstringYesTicker symbol of the instrumentACC
seriesstringYesSeries of the instrumentA
expiry_datestringNoExpiry date for derivatives.""
strike_pricestringNoStrike price for options.""
option_typestringNoOption type (CE/PE).""

📋 Sample Request Body

{
"scrip_info": {
"exchange": "BSE_EQ",
"scrip_token": 500410,
"symbol": "ACC",
"series": "A",
"expiry_date": "",
"strike_price": "",
"option_type": ""
},
"transaction_type": "BUY",
"product_type": "DELIVERY",
"order_type": "RL",
"quantity": "1",
"price": 1721.75,
"trigger_price": 1724.75,
"disclosed_quantity": 0,
"validity": "GTT",
"validity_days": 0,
"is_amo": false,
"order_identifier": "",
"freeze_quantity": 0
}

🟢 Success Response – 200 OK

FieldsTypeDescriptionExample/Enum
statusstringAPI call statussuccess
codestringResponse codes-101
messagestringSuccess messageOrder Entry is acknowledged by the Server
dataobjectContains the placed order detailsSee below table

📘 Data Object Fields

FieldsTypeDescriptionExample/Enum
orderIdstringSystem-generated Order ID"NYMKL00015;<"
resp_statusstringResponse status code"237"

📋 Sample Response

{
"status": "success",
"code": "s-101",
"message": "Order Entry is acknowledged by the Server",
"data": {
"orderId": "NYMKL00015;<",
"resp_status": "237"
}
}