You need 2000 credits in your developer account to create a Kite Connect App. Once you create an app it is valid for 30 days. You can choose to renew it after 30 days. You can also link your developer account to Zerodha account to enable auto-debit …
Hi,
Kite Connect is purely an execution platform. We don't provide support for writing any strategies.
You can take a look at this thread to know more about the usage of Kite Connect APIs.
Storing tick data will result in a huge dump. I am afraid we can't provide it from the API. You need to do it at your end.
If you setup tick dumping on the cloud then chances of losing will be very less.
Hi,
Kite ticker(websocket) is available in the base subscription of the Kite Connect. Historical data is an add-on subscription.
The base subscription will cost Rs 2000 per month and historical subscription will cost Rs2000 per month.
Hi,
The marketwatch that is being set is on Kite is specific to Kite platform. It is not a part of Kite Connect platform.
You can get complete list of instrument dump here.
Hi,
The URL https://kite.trade/connect/login?api_key= is a login url.
Mutual funds instrument dump URL is "https://api.kite.trade/mf/instruments?api_key=xxx"
The change and CAGR data are not provided as of now. We may provide it in future.
For no…
Hi,
Unlike stocks, a mutual fund NAV(last price) is updated only once a day.
You need to fetch instrument dump and store it. You can fetch the last price from that dump.
You can check out mutual funds instrument documentation.
Hi,
You can get latest five-minute candle data. But, historical data is provided for backtesting purposes. It is not ideally meant for the use case wherein you keep fetching candle after 5 or 15 minutes. I would suggest generating candles at your en…
Hi @venun,
Our data team is working on this issue.
Historical data is provided for backtesting purposes. It is not ideally meant for the use case wherein you keep fetching candle after 5 or 15 minutes. I would suggest generating candles at your end …
Hi,
You need to use Webview in a desktop application in order to use Kite Connect login.
A user has to manually log in to Kite Connect webpage and after completing login user will be redirected to pre-defined redirect URL with request token. The re…
Hi,
The bracket order currently only supports limit order type. You need to place the order with price above last_price which will result in market order.
The last price on NSE website is not live and the time at which data was updated is also mentioned on the website.
The last price might have gone up and come down to the same price or gone down and come up to the same price.
Kite Connect's getLTP wi…
Hi,
You need to pass tradingsymbol while placing an order since OMS will not understand instrument token.
You can check out documentation to know more about placing order.
The getLTP method retrieves data from Ticker API which is used on all our platforms.
Can you let us know, how you concluded that the last price you received is 10 minutes old data?
Hi,
We will be publishing python examples in next release of pykiteconnect.
Historical API is an add-on subscription, you need to subscribe to it on developers console in order to access it.
Kite Connect offers much more with just Rs 2000.
1. The Rs 2000 for Kite Connect charges include GST.
2. Kite Connect API's historical dataset is bigger than any other offering.
3. Kite Connect APIs are scalable, tried and tested. Businesses like sm…
Whatever you send finally it will be sent as a string. In order to be consistent, we recommend using numbers. Price, trigger price are float type. Quantity and disclosed quantity are integers.
Hi,
Kite3 is still in beta phase. It is a different domain and credentials are also maintained separately.
You need to use kite.zerodha.com's page to login to your App. Eventually, kite3.zerodha.com will be migrated to kite.zerodha.com
Hi,
There will be only one position for an instrument, even though you buy and sell multiple times.
buy price will be the average price of multiple buys and sell price is the average price of multiple sells.
Hi,
There is no API for that. Because error handling will be difficult. You need to find the open position and place an order for opposite transaction type and market order type.
You need to do it inside a loop for all your open positions.
Hi,
Kite Connect contains two subscriptions, one is base subscription which will give you access to live market data, placing orders, fetch positions, margins, holdings and more. Another add-on subscription is for historical data which will cost you…
Hi,
We don't have python examples as of now. We will add it in next release of pykiteconnect.
You can check out python documentation for the same method here.
This API call will return day's OHLC and not a minute or hour OHLC. Close price is the previous close price.
If you want close for a particular interval then you need to listen to ticks and generate candles at your end.
Hi @npkonline,
You can use Websockets API for getting last traded price, volume and market data.
But websockets API is not available in PHP client. You can use kiteconnectjs to get live market data.
You can check API documentation and javascript do…
Hi,
You can open up to 3 websocket connections at a time using one api_key.
I think it is wrong architecture to open three connections just to listen to live market data for three instruments. In this way, if you want to subscribe for 10 instruments…
Hi,
We don't have python example as of now.
You can check out example for placing order. It is an example for the limit order, you just need to send order type as SL and add trigger_price to place stop-loss order.
You need to send price as a number…
You need to call support and speak to someone from RMS.
This time, we have informed RMS and they will take care of it.
Just for confirmation, Can you name the tradingsymbol for which this issue has happened?
For canceling a bracket order, you need to do something like this,
curl --request DELETE \
"https://api.kite.trade/orders/bo/171211000832542?api_key=xxx&access_token=yyy&parent_order_id= 171211000832538"
When you send the above request the …
Hi,
This is not an error from our Kite. This is an error from OMS. We haven't made any changes at our end.
Today morning there was some issue at our OMS vendor side. It was fixed after some time.
Hi,
It will be added in the next version of Websockets. We are working on new websockets architecture. It might take a while to make it production ready. As of now, we can't guarantee any timeline.
Hi @chinmay,
Kite Connect can be used to either develop your personal strategies, your custom trading platform or any kind of platform which involves buying and selling stocks or mutual funds.
You can check out API documentation.
Some of the platfo…
Hi,
A set access token method will just set the variable in the Kite Connect object. It won't make any API call to validate your access token.
A Kite Connect client will only come to know about access token validity after it makes an API call.
Hi,
A request token is valid for only a couple of minutes and it can be used only once. Don't request for access token for every run. Once you receive an access token, use the same for subsequent runs.
An access token is valid for one whole day. Un…
@batbark,
1) what if there are multiple scrips? what should I change in the above code?
You just need to pass the tokens like this
ws.subscribe([53480455, 256265])
The above works for multiple instruments also.
2) how to use this data stored in data…
Hi,
This looks like a setup for connecting to SQL server, not websocket connection.
You need to receive data on the main thread and store data to the database using a worker thread.
After every 15 min, you can generate a candle using the received d…
If you buy today and sell today then it is considered as intraday trade.
If you have CNC position then you can square it off within 15:30 hrs.
You can also close the position in the post-market session by placing a market order.
Hi,
You can check out example for placing bracket order here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
You need to send variety as "bo".
Hi,
As of now, we don't provide live market data for mock trading. You can place orders on mock trading day.
In future, we will start providing live market data on mock trading day.