If you send next month instrument token(NIFTY18MAYFUT) and ask for historical data of date Feb 2018 then you will get data of the next month instrument in Feb 2018.
It is not confined to the current month.
There are two ways of using the library one is using a jar from libs directory or include the maven path in your build path.
All the examples included in the samples are tested and working fine.
Hi @ishwarm,
You can get all the instruments of NFO segment that is being traded for the day in the instrument dump.
we do provide day candles for all the expired instruments.
Yes, you need to log in every day. It is mandatory by the exchange that a trader has to manually log in at least once a day. We don't recommend automating login process.
@sudhirshettyk,
Yes, you can check for values that were supposed to be changed and also check for status_message.
Yes, once an order is created in the system it's number won't change.
You will get Token Exception when your session is expired.
Your access token will be invalid if you are logging in to PI or NEST. It may also be cleared if you log out of any platform.
Once a modify request is received an order status changes as follows for successful modification PUT ORDER RECEIVED > VALIDATION PENDING > MODIFIED > OPEN PENDING > OPEN.
For a modification failed scenario it will something like this, P…
Postback URL is an optional field. You can give localhost for redirect URL field.
You may also check out webinar mentioned below login flow in the documentation.
It is mandatory by the exchange that a user has to log in manually at least once a day. We don't recommend automating login.
The long-standing tokens with read-only permissions are only for platforms built for masses. It is not for individual trader…
A tradedbook will have product type in the response. Can you let us know what version of client library, you are using?
Historical tradebook is a part of backoffice and not trading terminal. We will provide it in future.
You can check out getQuote example here.
It is real-time data which is published by the exchange. There is no delay in data.
The quote API is limited to one per second.
Please don't reveal your account related keys on a public thread. You can private message if you need to write account related stuff.
You are not calling connect and hence it is not working.
You can check out the example here.
Kite Connect is by default a personal app only. It is can't be used for multiple users. You need to create multiple apps to use APIs for multiple clients.
If you are developing a platform then you can write to talk(at)rainmatter.com to get multi-use…
All the Kite Connect APIs are authenticated using access tokens. When you re-run the app and set access token locally, the library will send it for every API call.
You can create a sample android project > download jar file from dist directory of javakiteconnect into app/libs > link it from your app module's gradle file.
Import the KiteConnect class and use it.
It might fail if you don't have enough balance in your Zerodha account. Are you sure you have enough margins?
Did you have any overnight positions in your account?
It seems like your subscription is expired. You need to go to app details page and activate the same.
PS: Please don't post your api_key on open threads. You can private message if you are passing any kind of account specific details.
Hi,
This forum is dedicated only for Kite Connect related queries and please note that this is not a support forum.
This is a developer community forum to discuss things related to Kite Connect APIs.
Please use support portal to ask any other querie…
@cisk,
It seems like you deleted app today morning.
[03/Apr/2018 00:26:59] INFO [connect:397] User 15181 deleted app vot80cytvmxpi7hddxm
If your app is active and your Zerodha client id is linked to the developers account then auto-renewal happens.
You do get tick timestamp now. You can consider that to generate candles.
A candle will contain OHLC formed using the logic mentioned in that thread.
You will dump these candle data in your database and use it for all your calculations.
@pracas, @prakash.jj,
You need an active KiteConnect app subscription to use Kite Ticker. Live market feeds are free only if you have the base Kite Connect subscription.
The above article talks about the colo setup only. A member/broker can only gi…
@pvgeorge,
The Quote API fetches data from Kite Ticker. This is how it has been since the day we provided Quote API.
We will update the documentation.
The only solution here is to add a check at your end.
Hi @rajtk,
Once you get a successful response for an order modify request, it means that placing an order modify request is successful it doesn't mean order modification is successful. Order modification goes through multiple checks from RMS, if eve…
Hi,
You can check out this thread to know about Instruments margins API.
For complete account's margin you can get data from funds API but for each position, you need to calculate at your end using average_price and instruments margins API.
@prakash.jj,
A member can only provide live market data to its clients.
Kite Connect base subscription includes live market data. We don't charge extra for live market data.
We only charge extra for candle data.
As mentioned by @nithin the circular …
Hi,
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.
Let me explain how Kite Ticker works,
Kite Ticker listens to ticks coming from the exchange. Once it gets a tick, it will just publish the tick to all subscribed clients. We don't add, modify or delete any tick data. We just save and then publish th…
We don't have sandbox environment yet. We are waiting for APIs from our OMS vendor.
You can check out
https://www.smallcase.com for a platform built using Kite Connect APIs.
Hi,
Historical data is an add-on subscription. You need to subscribe in order to use it. You can go to app details page on developers console and subscribe to the same.
@Kousik,
Apologies my bad. The source of the instrument dump we get will have the category as EQ only but the trading symbol will have trailing -SM. You can find the instrument token from the instrument dump.
You can use these tokens to fetch histor…
@ayyaz,
It is impossible to match the candles from two trading platforms.
The historical data provided by Kite Connect is generated using a different source. It will be near but won't exactly match.
Your logic is correct. There are many reasons it w…
@arjun,
It depends on the platform you are building. You can send a mail to talk(at)rainmatter.com with your product details someone from our team will get back to you.
Please don't use this forum as support portal. This question has been answered million times on this forum.
You can just do a simple search to find out answers.
Generally queries you ask are already on documentation. Please do go through that once. …
We have intraday(1min, 3min, etc) data of up to three years and day data from 1990's for some NSE instruments.
For BSE instruments, we have day data from JAN 2008. As of now, you will have to do trial and error to know the start date.