Order Update Feed
This document details how to get order feed on the Firstock Websockets.
Overview
The Order‑Feed delivers real-time updates on the status of your orders via a persistent WebSocket connection. It pushes notifications for activities like new orders, cancellations, success, and pending orders.
Response Structure
Body
On successful connection establishment, order updates will be received.
Parameter | Description |
---|---|
tsym | Trading Symbol |
rejreason | Order Rejection Reason |
prcftr | Price factor (used for fractional price scaling) |
pcode | Product Code (e.g., C for CNC) |
trantype | Transaction Type (B - Buy, S - Sell) |
token | Scrip Token ID |
prctyp | Price Type (e.g., LMT, MKT) |
ret | Order Retention Type (e.g., DAY) |
pp | Price Precision |
ti | Tick Size |
remarks | User Remarks |
ntm | Nano Timestamp |
kidid | Kite ID (possibly order identifier) |
dscqty | Disclosed Quantity |
norenordno | Noren Order Number |
mult | Multiplier (for price/quantity calculation) |
uid | User ID |
exch | Exchange Name |
status | Order Status |
reporttype | Report Type (NewAck, PendingNew etc.) |
tm | Epoch Time (Seconds) |
handlinst | Handling Instruction (UUID of system) |
ls | Lot Size |
actid | Account ID |
qty | Order Quantity |
prc | Price |
Response
{
"tsym": "VIKASLIFE-EQ",
"rejreason": " ",
"prcftr": "1.000000",
"pcode": "C",
"trantype": "B",
"token": "9931",
"prctyp": "MKT",
"ret": "DAY",
"pp": "2",
"ti": "0.01",
"remarks": "",
"ntm": "960322165",
"kidid": "1",
"dscqty": "0",
"norenordno": "25042400010260",
"mult": "1",
"uid": "NP2997",
"exch": "NSE",
"status": "ORDER ACK",
"reporttype": "NewAck",
"tm": "1745483337",
"handlinst": "20f217e1-daf4-4860-bc12-625d4f37d402",
"ls": "1",
"actid": "NP2997",
"qty": "1",
"prc": "0.00"
}
{
"ntm": "960509785",
"ret": "DAY",
"rejreason": " ",
"dscqty": "0",
"pcode": "C",
"exch": "NSE",
"mult": "1",
"prcftr": "1.000000",
"qty": "1",
"prctyp": "MKT",
"handlinst": "20f217e1-daf4-4860-bc12-625d4f37d402",
"pp": "2",
"reporttype": "PendingNew",
"kidid": "1",
"prc": "0.00",
"remarks": "",
"trantype": "B",
"norenordno": "25042400010260",
"ls": "1",
"ti": "0.01",
"uid": "NP2997",
"actid": "NP2997",
"tsym": "VIKASLIFE-EQ",
"token": "9931",
"status": "ORDER PENDING",
"tm": "1745483337"
}