LTP Event
LTP Event message for JSON Full Packet.
socket.on("1512-json-full",function(data){
console.log("data is "+data);
});
Response to 1512-json-full response
{
"ExchangeInstrumentID": 46923,
"ExchangeSegment": 2,
"LastTradedPrice": 49534.85,
"LastTradedQuantity": 30,
"LastUpdateTime": 1714644805,
"MessageCode": 1512
}
LTP Event message for JSON Partial Packet.
socket.on("1512-json-partial",function(data){
console.log("data is "+data);
});
Response to 1512-json-partial response
{
"ltp": 49486.75,
"ltq": 15,
"lut": 1714645906,
"t": "2_46923"
}
Reference
| Symbol |
Explanation |
| t |
Exchangesegment_instrumentID(exchange segment enum with underscore along with instrumentID of the particular subscribed instrument) |
| ltp |
Last Traded Price |
| ltq |
Last Traded Quantity |
| lut |
Last Update Time |
| bt |
Book Type |
| mt |
Market Type |