Skip to main content

Place cover order

This API lets you place a cover order, which includes a main market/limit order and stop loss in a single request.

🔑Header Parameters

FieldsTypeRequiredDescriptionExample/Enum
AuthorizationStringYesAccess token for authenticationaccess_token
x-api-keyStringYesAPI keyx-api-key
content_typeStringYesFormat of the dataapplication/json

📦Request Body Schema: application/json

FieldsTypeRequiredDescriptionExample/ENUM
Scrip_infoobjectYesExchange segmentsNSE_EQ
transactional_typestringYesWhether its a BUY or SELL orderBUY
main_legobjectYesDetails of the primary order.See below table
stoploss_legobjectYesDetails of the stop-loss (can include multiple legs)See below table
order_identifierstringNoOptional Identifier for users own tracking (max 10 Chars)"Myorder1"
part_codestringNoCustodian participant code  if any"P123"
algo_idstringNoAlgo ID for automated strategies"A001"
strategy_idstringNoStrategy ID"S001"
vendor_codestringNoIn-house vendor code"V123"

📝Scrip Info Object Fields

FieldsTypeRequiredDescriptionExample/ENUM
exchangestringYesExachange segmentNSE_EQ
scrip_tokenintegerNoUnique scrip token (required if symbol-based data is not give)10100001
symbolstringNoScrip symbolRELIANCE 
seriesstringNoSeries for equitiesEQ
expiry_datestringNoExpiry date for F&O (yyyy-mm-dd format)2025-06-27
strike_pricenumberNoStrike price for options (in paise)25000
option_typestringNoOption type- "CE" (Call) or "PE"(Put)CE

📝Main Leg Object Fields

FieldsTypeRequiredDescriptionExample/ENUM
order_typeStringYesOrder Types. Only RL-MKT is supportedRL-MKT
quantityintegerYesQuantity to transact100
pricenumberYesPrice for the order. Must be 0 for RL-MKT type.0

📝Stoploss Leg Object Fields

FieldsTypeRequiredDescriptionExample/ENUM
LegsArrayYesArray of stop loss order legsSee below tablle

📝Array of objects fields

FieldsTypeRequiredDescriptionExample/Enum
quantityintegerNoQuantity of SL leg (currently ignored by system).100
pricenumberConditionalPrice at which SL should execute (used only for "SL" type)1478.00
trigger_pricenumberYesPrice at which stop-loss should trigger and place the order1480.50

🟢Success Response - 200k

FieldsTypeRequiredDescriptionExample/Enum
StatusStringyesStatus of API Callsuccess
Codestringyescode indicating results-101
messagestringyesHuman-readable message"order Entry Sent to OMS"
datastringyesDetailed result for each cancelled order"NWSYF00006>3"
post/transactional/v1/orders/cover