You need to send order_id, parent_order_id and variety='bo' while exiting a bracket order position.
The ideal behavior is one of the second leg order will be canceled and another one will be executed at the market.
If you have an open position and …
The trigger range method was pointing to old API. We changed it recently. You can download the latest jar file from dist directory or use the maven build.
Are you sure you don't have http://127.0.0.1 for localhost?
Can you private message your api_key?
If you are getting certificate issue after redirection then it means something is wrong with your setup as Kite Connect just does redirection and Kit…
Hi,
The exchange file format has changed. We have informed the concerned team.
The instrument dump is not a right place to look for the last price.
You can use quote API to fetch the last price.
Hi,
A Kite publisher app is just a javascript button which can be included in websites, blogs to place orders.
Kite Connect gives you access to live market data, place orders, fetch orderbook, positions, holdings, funds and more.
Live market data is…
Hi,
The margin calculator doesn't show live margins, it is just an indication of the approximate margins required
live/real-time margins aren't shown by the margin calculator.
It is advisable especially when placing BO/CO to have a little more margi…
Are you referring to intraday candles or day candles?
We only have intraday candles for a couple of years.
The image which was posted earlier is broken. We are not able to see API result in that image.
Can give more information about params you are …
@rahulchitale,
You are looking at future month instrument token and trying to access data of a 4th future month instrument.
API is returning empty response because there is no data.
You must be looking for historical data of current month contract a…
You can use one connection to subscribe for data and do a sort locally, it won't be much as you just need to read one value before writing to dataframe.
The value looks like this.
You can maintain multiple lists of instruments with categories at your end and from the on_ticks callback, you can keep receiving ticks.
You need to write a wrapper to separate and write to the corresponding list.
Every executed order at Zerodha will attract a brokerage of Rs 20 or 0.01% whichever is lower.
Kite Connect subscription charges have nothing to do with Zerodha brokerage charges.
@pybull,
The Kite Connect login bit is not yet migrated to Kite 3. We will do it in a couple of weeks. But users will not have to do anything.
The user is anyways redirected to specified redirect URL.
@nickmanan,
You need to send a cancel request with order id, parent order id and bo as variety. Can you let us know which Kite Connect client are you using and what version of Kite Connect API are you using?
@nickmanan,
Once a first leg order is executed/partially filled, second leg orders are placed. Because there was an issue in the system yesterday, second leg orders were missing.
If you are exiting a bracket order, then you need to send order id, va…
Hi,
You can check out java example to place bracket order of limit type entry. All the params remain except the order type will be SL and provide trigger price for it.
The square-off, stop-loss, and trailing stop-loss values are to be provided in po…
You need to use the new login URL as mentioned in the documentation.
If you are using any Kite Connect client then you can fetch login URL using the method, getLoginURL().
The ATP is streamed from the exchange and provided to clients as is. AFAIK, it is
ATP=((t1.price*t1.quantity)+(t2.price*t2.quantity))/(t1.quantity+t2.quantity)
This is calculated from the begining of the day till the current tick.
Hi,
You need to use the same user id that you have linked to Kite Connect app. Are you sure you are trying for the same client id? If it is same, can you private message api key and client id with which you are trying login.
You should only fetch positions initially and store it. A position can only change when you place an order or order is filled. You can fetch positions when you get order update via Kite Ticker(websockets) or postbacks.
Hi,
A member/broker can only give data to their clients. The only way to validate it is by logging in.
You may also directly subscribe for live market data from the exchange directly, you can check out pricing here.
Hi,
The volume data is not calculated. It is a cumulative volume, we just subtract the previous candle volume with new volume which is received by the exchange.
Hi @Guhan,
The PFC issue on 08/03/2018 is fixed now.
In general, it is not necessary that there are 375 records every day for all the instruments. We start generating candles after we get the first tick. On someday, you might see the first candle fr…
If you are already using Kite Connect 2 then the flow remains same as earlier. Can you use the latest jar in the dist directory and make sure you set api_key, user_id, enable debug and paste the complete stack trace here?
The second leg BO/CO orders placed between 9:15 and 9:30 were automatically canceled/rejected by the system due to a connectivity issue. The resultant positions cannot be cleared. To reduce the risk of your open position, please enter a trade in MIS…
@Manjunathan,
I wouldn't run the sample files as is. If you run it as is then you will end up placing orders.
Please go through documentation and understand the capabilities of Kite Connect APIs and then refer to the examples.
@rasp,
We don't provide support for Kite Connect. This is a community-driven forum wherein developers discuss Kite Connect related stuff.
You need to be clear in while asking questions. You need to mention which version of API you are using and what…
Hi @Ashok121,
The orderbook is cleared every day.
This weekend there was a mock and BOD for mock is different. We will inform OMS team to look into this.
@kbkvadivel,
Apologies, it is 1-byte data and 0 tick data.
It seems like pykiteconnect won't call the on_ticks callback for heartbeat ticks.
The correct behavior is, let us say you subscribe for ticks in quote mode at 09:10 AM then you will get one…
Hi @sidverm,
The new version of Kite Ticker expects you to provide a valid access token in order to establish a connection.
You have already provided a redirect URL for the Kite Connect app, it is http://127.0.0.1