Hi @bk18,
You can use it anytime according to your requirement.
For MCX as of now, you can see data for contracts that are live and we are working on providing historical data for expired MCX contracts.
Hi @varaprasady,
Check out this thread.
PS: Android Studio is the official IDE for Android. Eclipse is deprecated now. The Gradle build system is far better than Ant.
Hi @varaprasady,
Kite Connect Java is not compatible with Android since Unirest Network library we use isn't compatible with Android.
You can download repository and modify KiteRequest to use any android compatible library like Okhttp, Retrofit or V…
Hi @varaprasady,
There is API end point for this already.
Check out this
https://api.kite.trade/quote/ltp?api_key=xxx&access_token=yyy&i=NSE:INFY&i=BSE:SENSEX
Hi @skk, @ramatius,
How are you guys downloading files?
Are you using a browser or curl?
Instrument file is generated at around 7:30 AM and it is a static file which is not updated during the day.
Hi @Mahfooz,
We use the same websockets API on all our platforms. We didn't come across any such issue.
Please check your implementation.
PS: One of the common mistakes would be receiving ticks and doing calculation and IO operations on a single th…
Hi @llpach,
You can find the order with parent order id same as the id what you get after placing an order.
Once you get second leg orders, you can cancel one of the child order like this.
Hi,
Go to https://developers.kite.trade/login and then click on My apps and then go to Kite Connect app(SankarTrading) details page and on the right side there is a card with heading ADDONS. You can subscribe for historical data API there.
Hi @llpach,
Once you place an order you get order_id after the request is successful.
Fetch orderbook and check the status of both orders, if the status of one of the orders is rejected then fetch positions, find the corresponding position which wil…
Hi,
Historical data API is not included in the base package. It is an add-on subscription. You can go to developers console > app details page and subscribe for the same.
Hi @avinashsringeri,
This is happening because OMS is not responding whether order modify is successful or not. Hence Kite.trade is throwing the error. We have informed concerned team, they are looking into this.
Hi @sunnypatel,
Both data sources are different. It is not possible for any platform to capture all the ticks over the internet.
Check out this thread for more information.
Hi @sunnypatel,
I am afraid, we don't have example code as of now.
Basically, you need to store all the ticks somewhere and create candles data.
As mentioned above,
Value of open will be LTP of the first tick data of that minute,
value of close will…
Hi @sunnypatel,
One of the ways is to build a 5minute candle using five 1minute candles and to build 1minute candle, you need to listen to all the ticks in a minute and create a candle.
You can create a candle with following values for OHLC
Open - …
Hi @mastertrader21,
Historical trade data is a part of the back office APIs and not trading APIs.
Our new back office is still in development phase. It will be taken live in phase 2 of Kite Connect 3.0 APIs. I am afraid we can't give any timeline as…
Hi @ramatius,
It seems to be working fine.
At any point of time if you have doubt you can check on Kite web or Kite mobile.
All our platforms use the same websockets API.
@nvineeth,
It is different for equity and mutual funds.
Equity order status can be COMPLETED, REJECTED, CANCELLED, OPEN and there can be many other intermittent statuses also whereas mutual funds order status can only be any of the above mentioned 5…
whereas request token is valid for a couple of minutes and can be used only once. If you are getting invalid credentials error then it means you are requesting for access token using invalid request token.
Hi @greybit,
1. can i get the intraday 5 mins candles data using tickers?
5min candles are built using live market data. You can build 5min candles by storing tick data.
2. In example " tokens.add(53287175);" what that 53287175 means?
You need to s…
t1_quantity is not updated while selling.
Let us say, you had 40 quantity of SBIN. You had 20 t1_quantity and 20 delivered quantity then it will deduct 20 from t1_quantity immediately.
Hi @puneetbijnor4020,
If you sell 20 quantity of a holding it will show in positions on the same day as a short position with quantity as -20. It will reduce the quantity of your holdings to 0 immediately.
Your money will be credited to the trading …
Hi,
500112 is called exchange token which is available in instrument dump.
In positions and holdings, we send instrument_token you can get exchange_token by doing bit shift operation with 8 on instrument_token.
For example, instrument_token for SBI…
Hi @vimalanand,
We don't have an example for modifying bracket order and cover order in PHP as of now. We will include it in future.
You can check out java example here. You will have to pass same params in PHP client also.
@lethalstriker,
Please create a new thread with the issue, don't hijack unrelated threads.
You can specify category as .NET API client while creating the thread.
Hi @chamu,
I am afraid it is not possible to increase API rate limiting.
Our 5minutes candles available on Historical data API are constructed using five 1minute candles.
During live market hours system listens to every tick from the exchange and …
Hi @suyashb,
Historical data for IDFC is already adjusted.
Actual Close price on 30/09/2015 was 141.05, after adjustment close price on 30/09/2015 is 69.15
Hi @nvineeth,
Mutual Funds is only enabled for Zerodha Demat. I think you are trying for the non-Zerodha Demat account.
Can you private message client id for which you got this error?
@greybit,
javakiteconnect is an exact replica of pykiteconnect, all the functions available in python client is available in java client also.
You can fetch access token using requestAccessToken method.
Hi @suyashb,
Adjusted close price is the close price for the scrip after settlements in post market session.
If you are referring to adjusted historical data for which corporate action has been applied then it is applied by end of the week and not …
Hi @chamu,
All Kite Connect API calls are restricted to 3 requests per second. If you make more API calls than this you will see this error.
If you are trying to fetch live market data then use websockets.
Hi @chiragkeswani,
For bracket order, the minimum value of trailing stop-loss is 1 and you can give 1.2 trailing stoploss. You can fetch orderbook and check rejection reason or go to order details on Kite Mobile or Kite Web.
Hi @lethalstriker,
Historical data is not included in the base package, it is an add on subscription. You need to go to developers console, open Kite Connect app details page and subscribe for it.
Hi @ravikumar555,
When you are placing a cover order, you need to specify trigger price whose value will be in between the range 193.3 to 203.9, in other words, trigger range can be up to 5.5% of scrip price.
Basically, when you are placing a cover…
@soumyadeep,
Don't block the main thread on which you receive the ticks. Once you get tick data, send data to another thread and do your calculations and IO operations like writing to the database in the new thread.
Hi @syamkiranv,
We can't give you any timeline as of now since we are working on revamp of core APIs and we have frozen working on new features till it is released. You can check out this thread for details about our roadmap.
The new version of WebS…
Hi @syamkiranv,
As of now, postbacks are the only way to get notifications. In next version of WebSockets API, we will add sending notifications via WebSockets.
Hi @narasimha,
We don't calculate the average traded price. We just stream whatever we get from the exchange.
I guess ATP = (Σ(LTP * quantity)) / total_volume .
Hi @chamu,
javakiteconnect will not work for the android app since it is using Unirest API for making network calls. You need to find an alternate for Unirest in android like Okhttp, Volley or Retrofit.
In the above code, I think, you have differen…
Hi @llpach,
We are right now working on revamp of our core APIs. Once we finish that we will start including new features. Check out this thread and check out our roadmap.
This is already on our list.
Hi @greybit,
It is mandatory by the exchange that a user has to log in manually at least once a day. I am afraid we can't help you with that.
As of now, javakiteconnect library contains library module, distribution jar and example files for referen…
Hi @ravikumar555,
Fetching quote for multiple scrips in one API call is not available yet. We will include it in next version of Kite Connect.
You can fetch quote for single scrip in one API call. You can check out documentation here.
Hi @pinkpanther,
We just added mutual funds API to javakiteconnect and did some changes to requests file to change the way params are sent. It won't break your app.
Hi @Chiran,
As of now, postbacks are only sent when an order is executed.
Basically, you will get a post back when the order is completely filled or cancelled or rejected.
@rishiajmera,
Can you check out this webinar and make sure you are doing the process correctly.
PS: The request token is valid for a couple of minutes and can be used only once whereas access token is valid for one day. Make sure you are not reques…
Hi @greybit,
The request token is valid for a couple of minutes and it can be used only once whereas access token is valid for one whole day. Once you get access token make sure you store it in app preference and re-use it.
Don't make requestAccessT…