@vishant2211,
Hopefully, it might take another 3 to 4 weeks. The new GTT is built from scratch, there are lots of bits and pieces. It has to be tested thoroughly.
The position type can be either day or overnight.
Following are the steps,
1. Use the positions list from net array of positions response.
2. The formula for checking if it is day or overnight position_type, if you have only one type of Qty i.e eit…
@Navam,
This forum is dedicated only for Kite Connect related queries please write to support for other platform queries.
We will consider this as a one-time request and would like to share about the new feature offer by Zerodha.
Can you try some official client libraries? We use the same data on all our platforms. We haven't come across any issue like this.
This could be happening at your end because of buffer reuse.
You don't have to call disconnect inside onDisconnected. Apart from that code looks fine.
While this looks fine, it is difficult to comment since we don't know the complete code. You just need to check all the edge cases and make sure you are discon…
This happens when you have more open connections. You need to make sure you close the connection properly before starting a new one. If there are abrupt disconnections be it when the script is suspended or close or network disconnection, it leaves a…
@vatsarj,
Like I have mentioned earlier, there was an issue nine months back and we had added a fix. It seems to have broken after the latest update. Our team is looking into this.
Regarding enabling cookies on chrome, you can go to browser setting…
@premjit, @praj22,
For required margins calculation, you don't need to use the old API. You can use this API.
For a list of stocks allowed, you can check out the utilities section here.
I would suggest not modifying tags for now. This is a bug at our OMS vendor and we have asked them to fix this but it is not there on their priority. Not sure when this is going to be fixed.
You need to connect and then send the subscribe message.
The onTick callback with 0 ticks length is because Kite Ticker sends heartbeat tick every second. If there is data then length will be greater than 0
Can you give us the exact params you are sending for placing an order? We haven't come across this issue.
There are live businesses running on this API. It is very unlikely that this is happening. Is this consistent or intermittent?
The historical data provided by Kite Connect is only for backtesting purposes. You will have to generate candles at your end for live market strategies. You may get started here.
No, we haven't come across anything like that.
Can you elaborate more about the issue with more details about setup and version number of framework and library?
The instruments dump API doesn't make authentication. It is a huge data dump to be downloaded once a day and needs to be used locally. The instruments dump is updated only once a day.
Postbacks are only sent when an order is placed from the Kite Connect app. It is not sent when an order is placed on the Kite web or app. You will have to use Websockets to listen to order updates if you want order updates of every order.
Can you give us the complete params?
You can run javakiteconnect in debug mode and check all the params you are sending with the response.
Make sure to remove the app and client-specific tokens and paste the stack trace here.
If an order is cancelled then the status will be CANCELLED, only the filled quantity will be non-zero.
A partially filled order status remains OPEN if it is a pending order. In case of postbacks you will receive the order status as UPDATE for every …
A redirect URL is called in the login process after successful login. A user can use the request token to get an access token. Once you have an access token, you need to reuse it and not create a new one since it will be live till the next day morni…
Abrupt disconnections don't get registered at the server. You need to make sure you are not suspending the script which might result in hanging connection at the server and check all the edge-cases in your code wherein disconnect is not called.
net_change denotes the change between the last traded price and the close price. But I don't think the exchange is sending the proper value, you will have to override with this
net_change = ltp - close price
@amolgupta,
If the order gets executed in multiple trades then you will receive multiple trades. There are some scenarios wherein OMS sends multiple postbacks even when there is one event. I would suggest pulling orderbook for every order update and…
@muke5hy,
The exchange reuses the expired tokens, it is quite possible that an instrument token is reused for some other instrument. It is only unique for the day in the instruments master. Users are requested to fetch the instruments master every d…
The basket feature provided on the Kite app and Kite web is just a UI wrapper. The order placement still goes through in a loop, since OMS doesn't have bulk order placement APIs. We don't have any plans of providing baskets feature on Kite Connect a…
The multiplier value is provided in the positions call only. This is required for currency and commodities positions where the trading unit and the lot size are not the same. For example, the lot size of USDINR contracts is 1 but 1 lot refers to 100…
@sourav359,
We had thought about it. With the current setup, it is not possible to add timestamp to LTP or Quote mode.
There are a lot of production apps that are using this. All those also need to be updated.
The solution we had thought of was prov…
Once an order is canceled, the status will be CANCELLED, there won't be any trades after that.
Cancelation of a partially executed/filled order is possible but partial execution of a cancelled order is not possible.
Ideally, opening the login screen second time should directly give you a request token.
Also, make sure to select the checkbox the log in to kite web also.
@mdprasad,
Are you opening Kite Publisher in an iFrame? Can you let us know what happens on webview in the following scenario?
Open Kite Connect login page > login using password and 2FA > success > close webview > launch the Kite Connec…
This is happening because thrid party cookies are not allowed inside iFrame on safari webview and the recent chrome update also seems to have added the same policy. Our team is looking into this issue.
Once a stoploss market order is placed, order will be in the pending state and the status will be TRIGGER PENDING, once the trigger is hit it changes to market order. Once all the quantity is executed the order status changes to COMPLETED.
It is po…
You can always run the Kite Connect library in debug mode and check what are the headers and params sent while placing an order.
Can you run in debug mode and paste the complete stacktrace here?
We need a status code, request with header details, an…
The monthly expiry naming convention won't change. Nifty MAY 15300 CE tradingsymbol will look like this
NIFTY21MAY15300CE
You can take a look at instruments master for correct tradingsymbol.
You can run the Kite Connect client in debug mode and see all the params that are being sent. Can you post the complete stack trace here?
Make sure to remove the app and client-specific credentials.
@maheshhraut,
We don't recommend polling historical data API for live market strategies. We recommend you generate candles at your end using the live market data provided on Websockets API.
You can get started from here.