Websocket streaming API

kingbros
Hi Team

Planned to integrate the web socket streaming API - after sending instrument with subscribe receiving the Hexadeciamal characters as shown in attached image, no idea how to read the response sent by zerodha for Websocket, need some help



.
  • sujith
    A third party website can't show our market data. You can get data from an exchange registered data vendor.
    Websocket data API provided on Kite Connect is provided only for personal use. Hence data can't be accessed on a website because of CORS.
  • kingbros
    Hey Team

    Actually that’s my application only i thought of seeing the data by retrieving data from Kite Websocket which i subscribed with logic in attached screenshot
  • sujith
    It is binary data, you will have to convert it to readable format use it.
    You can read more about it here.
  • kingbros
    Binary data means how to do the conversion in PHP, any examples can you please provide guideline how to convert data from binary to what object and how to extract only LTP

    Any idea which API is will be used for getting 300 instruments to form OHLC
  • kingbros
    Team

    Someone can you please help for above query
  • rakeshr
    Go through the PHP ticker client here. Code base mentions the binary to ticks parsing logic.
Sign In or Register to comment.