I am afraid that is not possible.
The whole point of adding throttle was to block this kind of polling. Please don't poll for getting order status.
The only way is to process at your server and push to client.
Hi @krisys,
History orders is only available on q.zerodha.com our back office. We are working on new back office. Once it is up we may provide this feature.
Hi @waltons,
Yes, Kite web and Kite Connect use same websockets. You are looking at BSE scrip.
We have informed it to concerned team. It will be fixed soon.
For now i would suggest you to use NSE scrip.
Hi @rajeshnyk,
It can be done. You need to subscribe to KiteTicker to get open price and then place a limit order. Hence you don't need historical data API.
Checkout documentation here https://kite.trade/docs/connect/v1/#orders
Hi,
instrument_token, tradingsymbol, segment, exchange
12217602, NIFTY17JANFUT, NFO-FUT, NFO
You can get it from getInstruments API. Checkout documentation here https://kite.trade/docs/connect/v1/#retrieving-full-instrument-list
Hi @krisys,
I am afraid that is not possible. User data cannot be shared with a third party app when an action is not originating from the app itself.
This is simply out of consideration for our user's privacy.
Hi,
Yes, you can check all your placed orders on developers console. For now we have disabled logs. We will enable it soon. We have logs somewhere else, it will be uploaded to developers console later.
@pranksterguru we are working on this https://kite.trade/forum/discussion/943/update-revamping-of-core-api-infrastructure#latest right now. We can't guarantee timeline.
Hi,
You can fetch all instruments from instruments() method. You will get all instruments that are traded for the day.You have to write your search yourself. Checkout documentation here https://kite.trade/docs/phpkiteconnect/class-KiteConnect.html
Hi,
You need to have api_key and api_secret to get public token. For api_key and api_secret you need to create a KiteConnect App.
Example for getting public token and usage of websocket is here https://github.com/rainmattertech/javakiteconnect/tree…
Hi Anand,
Please take a look at examples for placing orders here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
To check margin availability info checkout this https://kite.trade/forum/discussion/930/last-tra…
Hi @Vijaykrsingh,
You have placed normal order with product as "BO". You should set product as "MIS" not "BO". Checkout example for bracket order here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
@quicksilverm,
1. If I login 7 AM in the morning, would i be able to collect my new token which would be valid for the enitre trading day ?
There is no way we can differentiate between yesterday's and today's access token.Even if you login at 7 AM.…
Hi @kivijoshi,
There are two scenarios here,
1. You are logged in on Kite connect and you login on Kite web. It won't logout user. You click on logout then you are logged out everywhere.
2. You are logged in on Kite connect and you login on other pl…
You can login anytime.
You are looking at the above url because you are not logged in or your login was not successful.
PS: Your session will be invalid, if you login to any of our platforms also.
Hi,
If you are looking at url like this https://kite.zerodha.com/connect/login?sess_id=yopiac9wa4vaw1zkjapb1g&api_key= then you are not logged in, just login again and you are good to go.
The sit itself seems to be painfully slow and while runni…
Hi,
Access token is valid for one day. You can create access token once a day and use on both test and production environment.
It is mandatory by exchange that user has to login manually. So I would suggest not to automate login.
Hi @gsuryagandh,
Historical API is an add on subscription. It doesn't include in base subscription. Your App doesn't have historical API access. You can get historical API subscription on developer console.
That doesn't have to match. It is fine. It is just a webpage, we only need url in this scenario. Can you private message redirect url? I will try using it.
Hi Rucha,
After successful login, your redirect_url should look like this 'http://127.0.0.1/?status=success&request_token=265rk95bpibbkvvcp7izze3yom46khml
You are using same client id with which you have created App, So it is correct.
It looks…
Can you PM me your redirect url with request_token?
PS: Make sure you are using same user_id as you have logged in. "request_token" is valid only for 5 minutes and it can only be used once to get "access_token".
@krisys,
You don't have to do multiple login for getting access token on your production and test environment. You can share same access token on test environment also. But make sure to set user_id and public _token while initialising KiteConnect.
@jasdeepwalia,
You must be doing something wrong. I just downloaded and it has this line
12327426,48154,WOCKPHARMA17JANFUT,,675.3,2017-01-25,-0.01,0.05,600,FUT,NFO-FUT,NFO
Hi,
how to get access token after receiving request token. Can someone please provide me correct code for that to get access token.
It is single line straight forward code. Checkout code line number 52 in the following link https://github.com/rainm…
Hi @sameer,
Let us say I send request at 13:1:15:160, 13:1:15:860, 13:1:16:160 and 13:1:16:860
This scenario is considered as 2 request per second.
But for this to work your time must exactly match our server time which is not possible.
That is the …
Hi,
We are working on sandbox environment. It will be coming soon. As of now we don't have any demo account for testing.
As of now I would suggest you to place order after market hours wherein your order will be rejected for testing purpose.
Hi @Ram,
We have rate limit only for http requests, not for websockets. So at any point of time you can have websocket running and make up to 3 http requests per second.
Hi @sameer,
After order is placed, you will have only order_id in order object and nothing else in that.
Take a look at examples for parsing orders response.
Checkout https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Exa…
@sreeni_28 you cannot see any trades after market hours as order is not executed. You can only see order which will be rejected in orderbook.
Transaction type can be either "BUY" or "SELL".
Hi @Shreyas,
You try reconnecting to ticker server once in onDisconnect calback, if fails try after 5 seconds, if fails you try after 5*2 seconds and third time 5*3.
Basically 5*n time interval for every n th retry.
Hi,
We give margin only for current month and next month contract . We do not provide margin for far month contract because of illiquidity.
If you are placing cover order for far month contract you need NRML+SL(20%) margin also. Hence CO requires m…
Hi,
It is not an option to pause your subscription. It will just stop your App from working. This option is available for scenario wherein your App is compromised or you want to test something.
Hi @menaveenn,
Apologies I was wrong. Let me rephrase, "User can login to Kite but not any other platform". The reason behind this is every time user logs in Kite will check for token, if present it will return the same but other platforms like PI …
Hi Ram,
You can fetch all instrument tokens from getInstruments() method, checkout example here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
Hi,
We are working on providing sandbox environment wherein you can test all your code. I hope it will be up soon. We cannot guarantee timeline as of now.
Hi @LAKHAN,
We don't allow multi user access. If you are logged in using KiteConnect and then try to login on any of our platforms like PI, trade.zerodha.com, kite.zerodha.com your previous session will be invalid.
Checkout documentation here https://kite.trade//docs/connect/v1/ and examples here https://github.com/rainmattertech/javakiteconnect/blob/master/sample/src/Examples.java
Hi,
Checkout https://kite.trade/docs/connect/v1/#publisher-js-plugin
We also have different KiteConnect clients checkout https://github.com/rainmattertech
Hi,
Kite ticker Websocket will only give you live data.
If you wish to do back test on historical data(OHLCV), you can subscribe for historical data API.
Historical data will give you candle data for 1min, 5min, 1hour, 1day etc.
Histo…