Hi @chaudhariapurva,
Packet structure for NSE indices is as follows,
0-4 will be metadata(token)
4-8 will be last_price
8-12 will be high
12-16 will be low
16-20 will be open
20-24 will be close
24-28 will be change
For more information about par…
@mrphoebs,
Instruments file is updated everyday. An intrument token will remain same for equity but it might be reused once an F&O contract is expired.
It is recommended to download instruments file every day once in order to get the latest lis…
@mrphoebs,
Yes, you need to use instrument_token.
Just to make sure we are sending numbers, we have defined tokens as long array.
The server won't understand 265256L.
@mrphoebs,
Tokens seem to be wrong, Can you let us know where are you getting tokens from?
Don't append L for numbers.
For example, Nifty 50 token must look like this 256265
Hi @malay,
I am afraid we can't provide you an API for corporate actions. You can check corporate actions here(BSE) and here(NSE).
Historical data is usually adjusted by the end of the week.
Hi @Nikita,
Instrument file is generated everyday. It is not monthly updated file. We update same file on our server every day. Hence we can't provide you old instrument file.
Can you let us know what are you looking for? If possible we can c…
Hi @riteshkp,
Kite Connect is an execution platform for placing orders, tracking orders, access portfolio. Live data is free with the base package. In order to access live market data, you will have to create a Kite Connect App.
If you only w…
@Guhan,
Pi will create a new session every time you log in.
Please use Kite and make sure you don't log out of Kite, that will delete your Kite Connect session also.
Hi @purvesh,
You need to log in using your Zerodha client id and password.
It is mandatory by the exchange that user has to log in manually at least once a day. Hence you will have to use a browser for login.
We don't recommend login automation.
Hi @tpjob2014,
Our main priority has been providing reliable APIs. Hence we are working on revamping of our core APIs. Once it is done we will provide sandbox.
Hi @sumant,
You can do it, but soon we will be limiting the number of websocket connection to 3 per api_key. Just make sure you don't exceed that limit.
Hi @rahulchitale,
We are revamping all our core APIs. Hopefully, all these issues will be gone once it is done. Our main objective has been providing reliable APIs for our clients.This is critical for us also since all our platforms are also depende…
Hi @rahulchitale,
Can you elaborate? I didn't understand.
If this is something about compliance please send a mail to talk(at)rainmatter.com, because we don't have adequate knowledge to answer queries related to compliance. Someone from our team wi…
Hi @tpjob2014,
We were facing some issues today, that is the reason responses were slow. We are investigating the issue. We will update about this soon.
We also internally fetch data using instrument tokens. As of now, we can't fetch data without instrument token that is the reason we are are not providing users. In future, we will come up with some alternate solution wherein users don't have to fet…
@kivijoshi, @Shaj, @charuvindatre, @itsram90,
We had some issue with internet connectivity at our data center. It should be fixed by now.
Please check and let us know.
Hi @keshav,
You need square off positions before the market closes to avoid delivery STT.
I would suggest you take MIS positions to be safe. RMS will square off all MIS positions at 3:20 PM.
@gaurav.harmalkar,
Yes, you have all the required permission to stream live market data and place live orders. Kite Connect Apps are restricted to one client id and in your case, you access Kite Connect APIs for client id DH1314.
Hi @Gaurav,
For margin details please go through this thread.
As of now, we don't have upper or lower circuit limit values.
You can get bid and ask price in market depth. Check out websockets for streaming live market data which contains market de…
Hi @Gaurav,
The problem is exchange keeps repeating tokens after a contract is expired. Hence we are also not able to provide historical data for expired contracts. We are planning to provide data for expired contracts in future but as of now, we ca…
Hi Saurabh,
As mentioned above, we will do it once core APIs are ready. It doesn't make sense to put in efforts to build something that has to be ditched soon.
We apologize for the delay but it is inevitable, I hope you can understand.
Hi,
We don't have old instrument files. We keep updating same instrument file. Can you let us know why you need that file? if possible we can suggest for an alternative.
Hi @keshav,
STT is charged based on if you have squared off position on the same day or not. It has nothing to do with the settlement.
If you square off position same day then you will pay intraday STT or else if you are doing BTST you will pay del…
Hi @mohitgahlyan,
In orders json, price field contains value entered by the user while placing the order and average_price contains the value at which order got executed.
An order might be executed in multiple trades, average_price is an average of …
@pawandev,
Kite only accepts stop-loss and square-off values in points and in the above scenario if you want stop-loss Rs3.5 then you mention 3.5 and target as 3.2
@keshav,
You can get max 1 tick per second.
If you have subscribed to modeLTP then you will get tick only when there is change in LTP of that scrip. If you have subscribed to modeFULL then you will get tick when there is change in market depth.
@pawandev,
Minimum value for trailing stop-loss is 1 and it can be decimal but it has to be multiple of tick size.
Stop-loss and square off values must be minimum of tick size and it can be decimal value but the value must be multiple of tick size.
@pawandev,
Once you get postback for the first leg execution, get order_id and then fetch entire orderbook and look for orders that have field parent_order_id same as order_id what you had got from postback.
Hi @ramatius,
Not sure, what is wrong? It is stored as gzip file at our end also. It is very unlikely that you will get half of that file.
Only Http requests are rate limited to 3 per second. Websocket connections are not included in this.
You can…
Hi @ramatius,
Can you try once more now and check?
I just downloaded and it looks fine. Can you give us more information about this, like at what time you downloaded, what Kite Connect client are you using?
Hi @nvineeth,
Order status will be same for both Kite Connect and Kite Publisher. Most common order status you may come across are COMPLETE, REJECTED, CANCELLED, OPEN and OPEN PENDING.
Hi @rajnesh95,
Maybe you can use some proxy.
We will not able help you beyond this because it entirely depends on your network configuration and firewall configuration.
PS: This forum is only dedicated for Kite Connect related queries. Please writ…
Hi @Nikita,
Check out ticker usage example here.
//Your callback will be some thing like this,
public void onTick(ArrayList ticks) {
for(int i = 0; i < ticks.size(); i++){
System.out.println(ticks.get(i).ltp);
}
}
@g0g0l,
As long as you have a valid access token, it shouldn't matter on which thread you are placing an order.
no confirmation window shown
I am not sure, what you are referring to Kite Connect doesn't have UI.
Hi @sabyasm,
We are in talks with our vendors for providing cover order for BSE scrips. I am afraid we can't guarantee any timeline for this.
Again Cover limit order is also on our list. Right now, our priority is revamping of Kite core APIs, we ca…
Hi @mohitgahlyan,
An access token is valid for one day. It will be invalidated if you use any other platform like PI or Nest.
You can login to kite web but if you log out of kite web then you will be logged out from Kite Connect also.
Hi @joy,
You are placing the order with quantity in lots and in postbacks, you are getting quantity in weights.
Your point makes sense, we will release a patch soon.
Hi @mnkartik,
For SUZLON BSE(136362756), we don't have minute data for march 2016.
Instruments will change every day, it is because some new stocks might get added, some might be banned or some might be moved to other categories. I would suggest fe…
Hi @hpahel,
Ques: By making mode=MODE_FULL, will we receive a tick whenever there is any change in LTP or market depth?
Yes, you will get ticks whenever there is a change in market depth or LTP. Please note that you will only get maximum of 1 tick p…
Hi @mnkartik,
Tick size is accurate in instrument dump. It is being used across all our systems. Can you mention any example where you see the difference in minute data? We will check and get back to you.
Hi,
Candles API is an add-on subscription. You will need an access token to fetch it. In order to get the access token, your app needs to be alive. App subscription cost is Rs2000.
Hi @sathishprakash,
You seem to have only Kite connect subscription. The historical data package is an add-on subscription. Please go to developers console and subscribe for the same.
Hi @smir99,
We had done some fixes yesterday. This shouldn't be happening. Can you private message your client id and order id, We will check and get back to you.
Hi @ramatius,
You can't get data for options once it is expired because exchange re-uses instrument tokens once a contract is expired.
This feature is on our list, we will provide it in future.
@hpahel, @Shaj,
Yes, it is true whatever @kailash has mentioned. Consider you have subscribed for a token in LTP mode, there may be a scenario wherein LTP didn't change for several seconds but market depth might have changed multiple times in that t…
Hi @shilpa,
Kite publisher is just a js button to include in your website for placing orders. In order to do anything else like fetch orderbook, check positions, holdings or retrieve margins you need have Kite Connect app.
Check out documentation fo…
Hi @gaurav.harmalkar,
You seem to have only publisher app, please create Kite Connect app to get live ticks from websockets. You can check out websocket usage here.
@quicksilverm,
How would I be notified that the 1st leg has been completed ? I do have postback URL configured. Would I get the notification there ?
Yes, you will get postback after the first leg is executed.
getTrades(order_id) will give you a li…