How to get only relevant data on websocket?
-
I want only relevant data like ltp, volume and stuff on live data stream, how to get just that and how to store it in python dataframe and simultaneosly create candle data?
-
HI @shahsaumya2303 You will always get the complete response from the we bsocket in order to store only required values you need to access the particular element from the response and store it from your end into the data frame as told earlier this is user specific requirement.
-
@admin i am asking you how to do that
-
HI @shahsaumya2303 Yes.
-
@admin ohk, but what if i receive all data and update only relevant data in a datafre and ignore the rest?
-
HI @shahsaumya2303 it is constructed in such a way that you will get the complete parameters in response To only get the relevant data you need to write your own piece of code please get in touch with your dev team as it is a user specific requirement.