How to capture OHLCV data of websocket into array ? It either prints on console or log but not returning to array to store ?

am trying to build one minute candle with websocket data so need to capture open high low and close into CSV or array to build candle when websoocket is running it doesnt allow any other function like key press events if run back ground is set to false. And when set to false doesn’t allow to capture data

It don’t return array.
it returns one tick always. You have to handle this data at client end.
In this tick every information is there

Thank you Pankaj , How to capture that tick data into variable ?

Websocket subscribe doesn’t allowing me to capture tick data into variable

Can you kindly share any reference code available to use?

Hi @s.r.rajagopal.jzgd9khz
This thing you have to handle at client end. How you can handle the tick data.

please do R&D on google you will find out.