This is not final, but posting a solution for now, based on
https://github.com/square/okhttp/issues/3372
I defined a new method close() in KiteConnect, and also in KiteRequestHandler.
The KiteConnect.close() calls the KiteRequestHandler.close(), w…
hi,
There seems to be some discrepancy between qty of holdings and positions for BUY vs SELL.
If i wanted the net qty, i would add the day's positions to the holdings, right ?
But there are different behaviors for BUY and SELL.
I bought XXX stock 10…
So, to confirm, I bought some cash holdings 2 days ago. Today, the qty is reflected correctly in the holdings. Yesterday, the qty was zero, but was being reflected in the t1qty, which i suppose, is as expected.
So in short, if qty is zero, check if …
@sujith , did you mean "NOT the tradebook" ? Coz i am using it from the trade book, but in the other thread, it was said that the exchange order_id is shown in the tradebook, not the zerodha one. And since this was an order created a few days ago, a…
@Nivas,
I think the quantities may be zero in the holdings because they are all MTF, and the MTF section is not being put into the Holding POJO yet. Is this as expected for MTF ? I have bought one cash position today, will report on how it reflects …
@Nivas,
Ref the holding quantities, I checked the response with debug on. Except for "opening_quantity":690, all other quantities are zero. And opening is not available in the Holding model. The mtf section is being populated, it seems.
Ref the ord…
@Nivas,
I am using the free version of the api and jar is the latest version 3.5.0 from maven.
I see all quantities as zero.
Also, does getOrderHistory work, coz i am getting a "can't find that order_id" error.
Is the order id same as the one we see…
hi,
i am facing this issue, albeit in java. For testing, I using an order id that i see in my app's trade book. Is this a correct way, i.e. is the id we see in the trade book indeed the order id ? If not, how do i find it from the trade ?