Hi,
If you login to PI your old session is cleared and new session is created. In order to keep your Kite Connect session alive, you will have to use Kite Web.
Hi @ruchanavjyot1907,
For stoploss orders, price and trigger price can't have same value.
Please go through this blog post to understand why it can't be same.
@Vishi, Populating historical data to database involves a lot of manual checks. So, it is not necessary that all scrips will have historical data from same date. Our flagship Platforms like Kite and Pi also use same historical data API. I would like…
@pranksterguru I guess you've misunderstood trades somehow. So, If an order is executed, and it is large, it may execute in a single or multiple trades. Since the order is rejected by the system, no trades are registered as the order is never sent t…
Hi @jyothish,
You don't need to do all these things. Just do things same as demonstrated in Test.java file of javakiteconnect. Just make sure you have all dependencies.
PS: I would suggest you to code in android studio because google no more suppor…
Hi @jyothish,
I just pointed to similar issue. Try importing org.apache.commons package to your project.
This is just some dependency issue.
Check this pom file and import all dependencies to your project and try running it.
@DS4769,
Once you have access token, don't make this call
token = kite.request_access_token(postback, my_api_secret)
instead directly use kite.set_access_token()
In the publisher response, we see there is a request token. How do you recommend we use this for achieving the above usecase?
You can use the same request token to get access token, if you have KiteConnect app.
Hi @nvineeth,
You have two options,
1. Pass param as readonly=true as mentioned here.
2. Subscribe for KiteConnect and add postback url to get postbacks which includes order details.
You can pass param called "tag" while generating custom button and…
Hi,
You don't need to make call for request access token every time you run script. You should make call once and store access token and use the same next time you run script.
PS: You should only request access token only when it is expired.
Hi,
You can check parsing tick data in java here https://github.com/rainmattertech/javakiteconnect/blob/master/src/main/java/com/rainmatter/ticker/KiteTicker.java . If you are not comfortable with java you can check python client also.
You can…
Hi @rajeshbadiye,
We strongly recommend not to do this. It is mandatory by exchange that client has to login everyday manually at least once. "Please do not store client id and passwords".
Login automation is strictly not allowed.
Found this package.
https://github.com/rainmattertech/pykiteconnect
This should be good enough to implement my requirement.
Yes you can use it. Checkout API documentation here.
Hi @mnkartik,
Websockets still has hard limit of 200. You can subscribe for all 200 in one connection only but you will have to handle data properly. If not possible go for multiple connection. As @vivek mentioned in the above post, we have tested f…
@pranksterguru,
You are setting mode before connecting, So it will not work.
By default, ticker subscribes to quote mode. Hence you are getting quote data.
Hi,
For developing a platform you will have to get exchange approval. Please send an email to talk(at)rainmatter.com. Someone from our team will get in touch with you.
@kiran,
Yes you get margin data for banned scrips also. As of now, we don't have any API for giving out banned scrip list.
You can check banned scrips here https://zerodha.com/margin-calculator/SPAN/
@mnkartik, you need to fetch access token with in 5 min after you get request token.
All API calls are authenticated using access token.
Access token is valid for one day.
Hi @mnkartik,
You can use Self signed certificate.
For java client you can download jar and use from this link https://github.com/rainmattertech/javakiteconnect/tree/master/dist or include maven depency.
Hi @muralilg,
You do get a callback with failure as status, if user clicks on cancel button. If user closes window, I don't think we can do anything about it.
Hi @sameer,
1) Kite Candle API meant for backtesting but data is not present even for 1 year for many liquid stocks like Kaveri Seeds, Granules and many more
Should I provide you list of stocks and can I expect minute data for atleast 2 years as ba…
Hi,
1) In the above code, The live price is received in ArrayList, Is there a way to get it on a float variable and overwrite the value in the variable when new tick is received. (I am talking about value of only Last Traded Price which i want in a …
Hi @abhishek.gaikwad,
1) We adjust historical data for stocks which has went through corporate actions only after 2014.
We will adjust older data in future.
2) Yes, we have it only till 02/02/2015. Data before this for NIFTY BANK will be released s…
Hi @abhishek.gaikwad,
1) Is the historical data adjusted for stock splits?
Checkout this thread
2) For Bank Nifty (Instrument token 260105) the data is available from 2015-02-02
Are you looking at day's data?
@muralilg,
Apologies. You don't get order_id in the callback, it is sent only in webhook. Publisher is built in such a way that it will never get any data.
If you can elaborate what you are trying to achieve, may be we can suggest an alternative.
@sameer,
If you try to fetch minute data more than 30 days then you get the following response,
{"status": "error", "error_type": "InputException", "message": "Difference between `to` and `from` dates for `minute` cannot be more than 30 days"}
Try…
@waltons,
I just checked and OHLC is as follows o 326.9 h 339.9 l 325.0 c 328.7
I don't think this scrip had any issues today because Kite web also uses the same and nobody reported this.
Let me know if it happens again.
Hi,
You can be logged in on all Kite platforms at a time. But make sure you don't logout anywhere. If you logout, you will be logged out everywhere.
We currently don't have any API call to check session validity we will come up with one very soon.
Hi,
Checkout examples here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
Fetch orderbook and get order id and then do the same as exitBracketOrder() method.