Online GTD Order Response
| Field | Details |
|---|---|
| Name | Online GTD Order Response |
| Description | Online GTD (Good Till Date) order response sent to third‑party systems |
📝 Online GTD Order Response Parameters
The ResponseObject contains a key named objJSONRows, which includes the following parameters:
| Parameter (Key) | Data Type | Description |
|---|---|---|
| MessageType | varchar(10) | GTD_ORD_NRML |
| ManagerID | int | Manager ID |
| OrderNumber | varchar(50) | Must be 0 for order entry. For modification/cancellation, this must be filled before sending. |
| CliOrderNumber | int | Gateway/Client order number (system generated) |
| Exchange | varchar(10) | Exchange for which the order is placed |
| ScripCode | int | Scrip code |
| Symbol | varchar(20) | Exchange‑provided security symbol |
| Series | varchar(3) | Exchange‑provided security series |
| InstrumentName | varchar(20) | Instrument name. Valid 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 |
| ExpiryDate | varchar(10) | Expiry date (ddMMMyyyy, e.g., 24JUN2004). Applicable for Futures and Options only. |
| StrikePrice | int | Strike price (in multiples of 100). Applicable for options only. |
| Option_Type | varchar(2) | Option type (applicable for options only). |
| Buy_Sell | int | Buy/Sell flag: • 1 → Buy• 2 → Sell |
| OrderOriginalQty | int | Total order quantity (e.g., 12500) |
| PendingQty | int | Pending quantity |
| TradedQTY | int | Traded quantity |
| DQ | int | Disclosed quantity (e.g., 2500) |
| DQRemaining | int | Remaining disclosed quantity |
| OrderPrice | int | Order price in paise |
| TriggerPrice | int | Trigger price (for Stop‑Loss orders only) |
| OrderType | int | Order type |
| MarketType | int | Market type: • 1 → Normal• 2 → Auction• 3 → Pre‑Open |
| OrderStatus | int | Order status |
| Reason | varchar(255) | Rejection reason |
| OrderValidity | int | Order validity |
| Days | int | Number of days (GTD duration) |
| ProCli | int | Participant type: • 2 → PRO• 1 → Client |
| UserID | varchar(16) | Exchange user ID |
| PartCode | varchar(25) | Participant ID |
| OrderEntryTime | datetime | Timestamp (24‑hour format, e.g. 15Jun2019 15.25.15) |
| LastModifiedTime | datetime | Time when order was last confirmed |
| CPID | varchar(6) | CP ID |
| UCC | varchar(6) | Alias UCC code |
| Product | varchar(5) | Product type of the order |
| InitiatedBy | varchar(25) | Application from which the order was initiated |
| ModifiedBy | varchar(25) | Application from which the order was modified |
| InitiatedByUserId | varchar(25) | User ID that initiated the action |
| ModifiedByUserId | varchar(25) | User ID from which the order was modified |
| LegIndicator | varchar(25) | Blank value |
| UserRemarks | varchar(10) | Remarks provided by the user |
| Misc | varchar(10) | Miscellaneous values: • SPO-LMT• SPO-MKT• PO-MKT• PO-LMT |
| SpreadFlag | varchar(10) | Spread flag: • 0 → Normal order• 1 → Spread order |
| SpreadPrice | int | Spread price |
| AMOOrderID | varchar(30) | Order ID for AMO / EQGTD orders; otherwise blank |
| GTDOrderStatus | int | GTD order status |
| MessageSequenceNumber | int64 | Running message sequence number. Always use the maximum sequence for the latest status. |
| UniqueCode | varchar(12) | Alphanumeric value with special characters |