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?
The place order API returns order id. You can fetch orderbook af…
1. For order updates,you can use either postback or on_order_update from websocket.
In both the cases,you won't get the first status of a order,if it's not sent from the api.
@SRIJAN There is slight difference in the order update behavior on postbac…
You need to first unlink Zerodha account from billing page of developers console. You can email kiteconnect(at)zerodha.com and check with the business team.
@umasha,
Only sensibull will get the postback for the order that is placed on their platform. A third party app won't receive postback of the transaction done by client on some other app or kite web or kite app.
You may use websocket API order upda…
Postbacks are only sent to the owner(origin platform) of the order. If user places order on your platform then only you will receive postback otherwise you won't get it.
You need to use postback as an event to fetch orderbook and positions.
@sayali_ghosh1984,
If you pass current month instrument token with date JAN 2022, you will receive data of 22 JAN FUT data (current month instrument data of JAN).
If you pass next month instrument token with date JAN 2022, you will receive data of 2…
@akshay_thakker,
The ideal way to use instruments dump is to fetch and store it for the day. You shouldn't be pulling it every now and then to fetch instruments data, since it is a large data dump. You need to keep a local copy in the preferences or…
Kite Publisher is a part of Kite web and users are placing order on Kite web if they are using publisher.
But Kite Connect login is a different use case.
Kite Publisher doesn't retain context. It will just open basket on kite web with whatever params are sent.
You need to look for status query param after the redirect from Publisher and handle it at your end.
You shouldn't be polling positions API in the first place. You can fetch and cache the values.
The only time it changes is when there is a trade or new order placed.
We would suggest you to use postbacks or order updates via websockets as events to …
This is not something we change as per our wish. This is published by the exchange, we just relay the information.
Every exchange has an exchange_token for each instrument and we generate instrument token for them to keep it unique across the exchan…
@rajkite,
The historical data API provided by the Kite Connect is for backtesting purposes only. For live market strategies we suggest you to generate candles at your end. You can get started here.
Hi @RajR,
For indices the exchange is sending the value, but for other segments we are calculating the value.
Can you calculate the change at your end for now? We will make changes in next release.
Here is the pseudo code,
change = lastPrice - clo…
This is because of safari's policy change for cookie management on webview. We had tried a bunch of fixes but it didn't work.
Our team is looking into this issue.
Invoking a Publisher url in webview or chrome custom tab is up to the app developer r…
@Gjain75,
A historical data subscription is an add on subscription, it is only valid if you have a base subscription.
If your app has cancelled then you need to subscribe for Kite Connect in order to user historical data API.
As mentioned in the documentation, we strongly recommend not to embed api_secret inside the client side application. It may become a huge security compromise. The token exchange has to happen on the server side. You can go through the login flow her…
@sayali_ghosh1984,
I am afraid we can't provide this. Kite Connect is purely an execution platform. We don't intend to provide solutions to write strategies. You can generate these at your end using the live market data provided via websockets API.
It is 2000 orders per day. It also includes the order requests that are sent and is rejected by our mini RMS.
If an order is rejected by our mini RMS, it won't show up on the orderbook.
@aditya_chauhan,
The instruments dump is a huge file. You need to fetch it only once in a day and save it at your end. We wouldn't suggest pulling it for every run of the script also.
Currently, we allow to trade F&O but we are planning to block Stock F&O for non DEMAT accounts.
I would suggest opening Demat account, if you don't have one.
Once you place an order, it goes through a lot of hops before reaching the exchange.
Each status change represents different state that order has gone through.
Once you place an order on Kite Connect, it goes to our server and goes through our inter…
You can save the access token and use it throughout the day.
It is mandatory by the exchange that a user has to manually login at least once a day. We don't recommend automating login.
By subscribing to Kite Connect you will get API access to your Zerodha account. If you want to activate any particular segment for your Zerodha account then you can go through this article.
You need to have a Kite Connect to fetch order details.
You can use that request token to generate session and fetch orderbook.
You can read more about fetching access token and fetch orderbook here.
You need to go through login flow again. Are you automating login? It is mandatory by the exchange that a user has to login manually at least once a day. We recommend you to login manually.
You may also refer to this thread.
@premprakash096,
A third party app can't show our data on their website. You can write to compliance at kiteconnect(at)zerodha.com with product details and check with them if Kite Connect data can be displayed on your app.
For same day historical d…
Please don't post app, session or client specific keys on the public threads.
There are two things in logs one is you are not passing valid api key or access token.
Another one is you are blocking the main thread which is receiving ticks.
You can …
@krishkalyani,
You shouldn't block the main thread that is receiving ticks. Do all your operations, data dump and calculations on another thread, don't block the thread that is receiving ticks.
The volume you receive is a cumulative value, i.e volume traded till that second from the start of the trading session. You need to subtract last tick's volume and first tick's volume.
We can see that there are many timeouts. Kite Trade will make a post request with a timeout of 2 seconds, you need to respond and then do all your processing. If you don't respond within 2 seconds then Kite trade will record it as timeout.
We can see that there are many timeouts. Kite Trade will make a post request with a timeout of 2 seconds, you need to respond and then do all your processing. If you don't respond within 2 seconds then Kite trade will record it as timeout.
If you are a platform then for compliance reasons you need to use Kite Publisher for placing order. You may use Kite Connect to fetch orderbook and other details since user would have already given permission to fetch those data for your app.
@developer,
We don't provide one to one support. This is just a developer community forum where we help out fellow developers.
Yes, there is a .NET API library.