Skip to main content

Online Stoploss Trigger Response

FieldDetails
NameOnline Stoploss Trigger Response
DescriptionOnline Stoploss Trigger response sent to third‑party systems

📦 Online Stoploss Trigger Response Parameters

The ResponseObject contains a key named objJSONRows, which includes the following parameters:

Parameter (Key)Data TypeDescription
MessageTypevarchar(10)SL_TRIGGER
ManagerIDintManager ID
TradeNumberintTrade number
OrderNumbervarchar(50)Must be 0 for order entry; for modification/cancellation, this must be filled before sending
CliOrderNumberintGateway/Client order number (system‑generated)
Exchangevarchar(10)Exchange
ScripCodeintScrip code
Symbolvarchar(20)Exchange‑provided security symbol
Seriesvarchar(3)Exchange‑provided security series
InstrumentNamevarchar(20)Instrument name. Possible values:
• Equity = blank
• Future Index = FUTIDX
• Interest Rate Future = FUTINT
• Future Stock = FUTSTK
• Option Index = OPTIDX
• Option Stock = OPTSTK
• MCX/NCDEX Futures = FUTCOM
• MCX Spot = COM
• NCDEX Spot = COMDTY
• NSE Currency Future = FUTCUR, FUTIRD, FUTIRT, OPTCUR
• NSE Currency Spot = INDEX, UNDCUR, UNDIRD, UNDIRT
ExpiryDatevarchar(10)Expiry date (ddMMMyyyy, e.g., 24JUN2004). Applicable for F&O segment only.
StrikePriceintStrike price (multiples of 100). Applicable for options only.
Option_Typevarchar(2)Option type (applicable for options only).
Buy_SellintOrder direction:
1 → Buy
2 → Sell
TradeQtyintTraded quantity
TradedPriceintTrade price in paise (e.g., 45065)
OrderOriginalQtyintTotal order quantity (e.g., 12500)
PendingQtyintPending quantity
DQintDisclosed quantity (shown to the market)
DQRemainingintRemaining disclosed quantity
QuantityTradedTodayintTotal traded quantity for the day (including this trade)
OrderTypeintOrder type
DaysintNumber of days
ProCliintParticipant type:
2 → PRO
1 → Client
UserIDvarchar(16)Exchange user ID
PartCodevarchar(25)Participant ID
TradeTimedatetimeTrade timestamp (15Jun2019 15.25.15)
OrderTimedatetimeOrder entry timestamp (15Jun2019 15.25.15)
OrderLastModifiedTimedatetimeTime when the order was confirmed
CPIDvarchar(6)CP ID
UCCvarchar(6)Alias UCC code
Productvarchar(5)Product type of the order
InitiatedByvarchar(25)Application from which the order was initiated
ModifiedByvarchar(25)Application from which the order was modified
InitiatedByUserIdvarchar(25)User ID that initiated the order
ModifiedByUserIdvarchar(25)User ID that modified the order
LegIndicatorvarchar(25)Leg indicator values:
• Normal Order = blank
• Spread Order = blank
• Main Leg = 9
• SL Leg = 10
• Profit Leg = 11
UserRemarksvarchar(10)User remarks
Miscvarchar(10)Miscellaneous types:
SPO-LMT
SPO-MKT
PO-MKT
PO-LMT
SpreadFlagvarchar(10)Spread flag:
0 → Normal order
1 → Spread order
SpreadPriceintSpread price
MessageSequenceNumberint64Running message sequence number (use highest for latest state)
UniqueCodevarchar(12)Alphanumeric value with special characters