@rakeshr @SRIJAN How to make and access these holdings tags? I want to be able to segregate different kinds of holdings (swing vs long term, smallcase vs self etc.). What is the best way of doing this?
I reconstruct the position and adjustments to it based on order information to track position health. Certain info in an order doesnt get carried into a position, so I have to piece it together. Difficult to explain.
@SRIJAN Beats me. Now I just put in 5 second loop that compares between kite.orders() and my DB, and just inserts what's missing (as we discussed).
@sujith The problem I have is that order placement can happen through API, Zerodha front end or thro…
For #2, given that kiteticker or the webhook wont tell me what the new order_id is, the only way it to fetch orders list every second and compare with what's already there. Am I right?
My language may not show it, but am hugely appreciative of your…
@SRIJAN Now am confused. I thought we were talking about Websocket API all along (through KiteTicker). Am using it, and am not receiving the 1st update. Is there some other Websocket API?
I am coding a personal desktop system, so the owner is me myself. My ticker and webhook are not receiving the first update when I place a trade from sensibull. Are you saying that first postback is being eaten by sensibull?
This part is helpful - …
@SRIJAN so how do we get a programmatic update (backend) for that first status for orders not from a program but user initiated from the front-end? IMHO, I feel there is no way for a program to paint a realistic picture of positions a trader has wit…
Also please help with these 2 further questions: (a) Kite Ticker is supposed to give order updates for subscribed tokens? I tried before and it also doesnt seem to be working. Any specific things to be done? (b) How do I test these postbacks and tic…
Yes, I am giving the correct postback URL, as am seeing the empty byte string on my server console. Is it possible that it send empty string in case of front-end initiated orders, and will send proper json string in case of orders sent programmatic…