Hi, Could you provide any working example for how to extract trade data from web socket response? Suppose I want to extract last trade price how can i get that?
my code example.
var ws = new WebSocket("wss://ws.kite.trade?api_key=xxxxxxxx&access_token=xxxxxxx"); var message = {"a": "subscribe", "v": [408065]};
For example, you can look to node js binary parse implementation here.