How to get the symbol/name in ticks data in WS
-
Hi,
I am using websocket to get the real time data using token id (script: "nse_cm|1594&nse_cm|10738&nse_cm|277&nse_cm|144&nse_cm|685"), After receiving the data getting confusion due to no symbol/name in data. Its showing only "sf" in name field
{
to: '217969897.15',
lo: '2560.05',
e: 'nse_cm',
sp: '2655.95',
c: '2541.70',
ltp: '2655.95',
ltq: '2',
tk: '1594',
bs: '8',
ltt: '21/01/2021 10:30:15',
tsq: '41966',
v: '83467',
bp: '2655.00',
cng: '114.25',
bq: '9',
ap: '2611.45',
nc: '04.495',
name: 'sf',
tbq: '52396'
}How to get the name/symbol of particular token id in ticks data ?
Thanks
-
-
@StockM you need to match and separate based on token value 'tk'
-
@StockM can you share code how put sl order