Getting data in array kind of form from Kite

Paresh7
Hi.

I am in the process of developing an app using GoLang by pulling data from Kite API. I wonder if there is a way I can get all the instruments/scrip details like last price etc. in array kind of data structure?
Note - I am using websocket connection method. If that matters.

Thanks in advance.
  • sujith
    You will have to use the instruments master dump.
  • Paresh7
    Paresh7 edited November 17
    any alternative to csv dump? because - 1. it will give too much of data which is not required by me and 2. i want action-ready data like JSON and not csv that I need to convert into JSON like structure and then use.
    3. I am ok to get 500 or 1000 instruments' data. Don't need all.
  • rakeshr
    Currently, each individual tick is getting triggered in onTick function, as you can refer to the client repo.
    To receive an array of ticks, maybe you can remove the iteration and pass on the complete ticks eg: t.triggerTick(ticks), in your local client repository.
Sign In or Register to comment.