@divyakumar,
Can you try new beta pykiteconnect with reconnection feature?
Link for the repository is here.
Only change you need to make to your code will be enabling auto reconnect (it is not enabled by default)
kws.enable_reconnect(reconnect_int…
Hi @divyakumar,
All HTTP requests are limited to 3 per second. You must be getting rate limited, So make sure you don't make more than 3 requests per second.
@Prathap,
We do have data. Kite Connect APIs serves historical data based on instrument tokens.
We will come up with some alternate solution soon. Right now, we have frozen developing new features till we finish revamp of core APIs.
Hi @fury1984,
Users are informed prior to renewal before 3 days of expiry. If users have credits then it will auto renew the subscription. User has to manually cancel it if he doesn't want auto renewal.
Your Historical data subscription ended on 29…
Hi @Umashankar,
We don't have any tag field to identify whether a particular instrument is bought on Kite or smallcase as of now. We may include it in future.
Hi @revanth1425,
You need to get the net quantity of your position, if it is negative then it is a short position or else it is a long position.
If you have a long position, then place a sell order with same product type or else place a buy order.
Hi @Umashankar,
These APIs are for both individual use and platform developers. For more information, please write to talk(at)rainmatter.com, someone from our team will get in touch with you.
Hi @Prathap,
Exchange reuses instrument tokens once it is expired, on KiteConnect users send token to fetch historical data. Right now it is not possible to fetch data for expired contracts. In future, we have plans to provide it.
Hi @Umashankar,
Once you get access_token, it is valid till next trading session.
Don't make an API call for requestAccessToken every time you run your app.
Hi @abhishek01,
There was some issue with exchange lines because of which orders were sitting in the queue for a longer time. It is fixed now. Please check tomorrow and let us know if you are facing the issue.
Hi @skk,
If we keep doing square off for all clients then there will be consequences as you can see in Sameer's case both stop-loss and target orders get executed and there are other consequences also.
If we hadn't noticed it then he would have ende…
@subhasis,
All http requests are limited to 3 requests per second and this includes geQuote also. If you are facing issue then I would suggest you use websocket for fetching live market prices.
Hi Saurabh,
Above code looks fine and I just tested websockets with above mentioned tokens and i am getting data. Maybe some other part of code is affecting.
Hi @rajeshbadiye,
If you allow the user to login using webview, then you can enable cookie which will store session details and hence when you open basket order page then the user doesn't have to relogin while placing an order.
You can make a form i…
Hi @sabyasm,
Exchange leased lines are capable of transmitting only a certain number of orders per second. Hence This being the case, the load on the system becomes really high at the square-off times. So it's always better to square off your positi…
Hi @guna,
Change percentage is percentage change of LTP from the previous close which is,
change_percent = ((LTP - closePrice) * 100 / closePrice)
and absolute_change is the change of LTP from the previous close which is,
change = lastTradedPrice…
Hi @rajeshbadiye,
You will have to integrate Webview inside your application and make a post request to webview. For more details you can check offsite order execution on documentation.
@pinkpanther,
You can do it using NaiveSSLContext
It will just accept all certificates.
You will have to set this naive context to your websocket factory. Code looks like this,
WebSocketFactory wsf = new WebSocketFactory();
SSLContext context = Nai…
Hi Saurabh,
We use the same streaming websocket on Kite Web also. We haven't received any complaints. We were monitoring some things from the morning and we didn't come across this issue. Can you mention for which scrip you tried?
Hi @vishalgvora,
Ideally, you need to log in once a day on the browser and you will have to copy paste request token into your script to get the access token. There is no API call for getting the request token.
Hi @haribabu,
You can subscribe for up to 200 scrips per connection.
Right now we are working on revamp of core apis, hence we have frozen developing new features, once it is complete we will do all the enhancements.
@karan,
The issue is there are only around 60k trades happening every day on NCDEX and managing risk is difficult for the same. Hence, we don't allow trading on NCDEX. Hence we can't provide data.
In historical data subscription, you can get data f…
Hi @sameer,
On Friday 21st April, 09:17 AM to 09:37 AM there was an issue with exchange connectivity, wherein only certain orders were getting placed and some were never placed. But all orders were visible to the front end. In your case, getOrders()…
Hi @karan,
We only provide data to our clients. You will have to subscribe for kiteconnect which will cost you Rs2000 p/m and add-on subscription for historical API which will cost you Rs2000 p/m.
We don't have sandbox yet, it is on our list.
Hi @guna,
You need to make a post request in webview and not as an HTTP post request.
Once you open page user will confirm to place an order, so you don't have to worry about it.
PS: Confirmation is done at our end.
Hi @adityanjoshi,
smallcase is a different platform(organization) which is using Kite Connect just like others. I am not sure if they are willing to give it out as an API.
IRR is not a part trading platform, it is a part of backoffice. We are right …
Hi @skk,
Historical data API is an add-on subscription with Kite Connect, it is not included in the base subscription. It looks like you don't have historical data subscription.
Hi @Santosh,
Kite Connect doesn't provide BSE indices data. It is on our list. Right now we have frozen developing new features as we are working on revamp of core apis.
BSE scrip categorization is a bit different from NSE. You can check out more d…
Hi @guna,
We don't have a basket end point. You need to create a basket and maintain it at your end.
PS: basket is just an array of orders to be placed.
Hi @skk,
You will get rate limited if you go beyond rate limit, so your request will not go through, API will throw an error saying too many requests. and the error code will be 429.
@ramatius,
Our leased lines that connect to the exchanges have a …
Hi @ankur0101,
We understand your concern, technical issues which are not under our control are bound to happen.
We ensure to keep downtime as low as possible. You can check out another thread wherein a user has similar concern.
Hi @ramatius,
I think in your scenario what happens is you are placing a http request to fetch data and before database call completes fetching the row, your request is failing with the timeout. Hence I would suggest you try with less time interval.
Hi @Santosh,
Scrips you have mentioned above are not traded and hence you didn't get any ticks.
It could be moved to some other series. If liquidity is less it will be moved from EQ series to BL, BE series. For more information, you can check th…
@naz,
1) did you get a chance to look at the error.
The above error is too generic, it can happen because of a lot of reasons. Maybe network interruption, congestion etc. Hope reconnection will help you to overcome this.
2) Also, didn't see any upd…
Hi @ramatius,
I would suggest trying with from date 2017-03-01 and to date 2017-03-20.
@mohit77bansal,
All Kite connect http requests are limited to 3 requests per second.
Hi @sameer,
You have too many orders for the same scrip and none of them has the above-mentioned price, I think the price you have mentioned is the average price. Can you private message order ids for which you faced the issue. We will check and get…
Hi @sabyasm,
We are working on revamp of core APIs, we will be building features only after it is completed. I am afraid you will have to wait for some more time.
@ankur0101,
KiteConnect API subscription is Rs 2000/month and (optional) historical add-on subscription will cost you Rs 2000/month. So, if you want to use historical data then you need to pay Rs 4000/month.
You can't fetch historical data without t…
Hi @Sowmay,
triggerDisconnect() is an internal function used by kiteconnectjs. You need to use websocket object to disconnect. Websocket object name is ws.
Hi @prasanth,
kite Connect is purely an execution platform. We don't provide support for building strategies. You check out this webinar to know more about how to get started and refer documentation.