I guess this portal has only one guy to comment everywhere. You don't help anyone you know only to comment. I have mentioned today because I am implementing a new algorithm for which I need OI and I have replayed the feed of Friday from Kafka and getting OI as 0 in every feeds I have collected during market hours. If you don't know and can't help rather not to comment. And also I am using Go-Client of WebSocket, have you tried with go client I hope you have not tried. Don't behave as if you are the only genius guy in the market who has learned to code just a few months back from youtube and also maintain your tone I have posted this to get help, not from you. If you are getting OI in your websocket do post a photo tomorrow here rather than just commenting rudely. It seems you have no work to do just waiting for any one to post something and you have to write an expert comments of yours
hahaha i have read the document and have integrated the apis for algo trading and have earned few money. I am not getting OI in websocket for the option contracts thats what I am saying rest all values are there. I don’t want to call rest api to get OI because it will be way slow to call api in every ticks. If you get OI in full mode do share me the logs
https://kite.trade/docs/connect/v3/websocket/#quote-packet-structure This can be used if I want to parse the binary buffers from WebSocket stream. But I am using Golang Client and there I don't have any examples related to full more in the Github link that I followed. https://github.com/zerodha/gokiteconnect. This link also doing the same it's parsing from the binary buffer using encoding/binary module with BigEndian binary encoding. But I am using the golang client SDK and its return models.tick object where OI variable is having 0
thanks, SetMode is a new function I have implemented let's see tomorrow If I get values in OI. See now you are talking in a good manner and helping me out.
I am getting oi and change correctly.
Which instrument(s) have you subscribed??
Everything is correct with NIFTY22AUG18100CE and other instruments.
How can anyone know that you're not talking about today when you have not mentioned it?
If you're not talking about today,then you should have posted your query the day you had this issue.
Oi,oi day high/low are only available in full mode .
Price change is sent only for indices by the exchange,and not for other tradable instruments.
Price change for tradable instruments is calculated by the Kiteconnect Go client,only in full mode.
Please read the documentation properly:
https://kite.trade/docs/connect/v3/websocket/#quote-packet-structure
https://github.com/zerodha/gokiteconnect/blob/5c181e54ba537d4b6c0280331cbe2dbf194cb347/ticker/ticker.go#L710
And regarding I not helping anyone,scroll down on the forum ,read the threads ,and you will get the answer yourself.
This link also doing the same it's parsing from the binary buffer using encoding/binary module with BigEndian binary encoding. But I am using the golang client SDK and its return models.tick object where OI variable is having 0
There is an example:
https://github.com/zerodha/gokiteconnect/blob/5c181e54ba537d4b6c0280331cbe2dbf194cb347/examples/ticker/ticker.go#L44