@Jigpylab,
You can calculate the P&L at your end using the getQuote API or Websockets data. GetPostions API is to know the m2m direction and not the P&L.
You can check out the formula in the above-mentioned thread.
One can use an instrument token from the instruments master dump for fetching historical data displayed on Kite charts.
You can fetch historical (chart) data as mentioned here.
onTicks is called in the loop once you start a webscocket connection and subscribe to tokens.
As and when tick data is received, onTicks is called.
You just need to offload or dump the data in the secondary thread to your DB or storage.
@Professor_Severus,
The idea is to dump the historical data at your end and use that as the source for computation.
For live candles, you can use Websocket data and make candles at your end. You can get started here.
We don't have a test button. However, you can set up a dummy endpoint and check here.
You get postbacks for the orders placed from the Kite Connect app.
Yes, you need to create a user session from API to place an order. There is no special permissio…
If it is the last week of the month then you need to look for monthly expiry, Since last week will not have a separate instrument.
You can find all the instruments on the instruments master dump.
You need to look for BANKNIFTY21JAN31800PE
@omtechnologies,
All the rate limits are based on api_key. I would suggest speaking to compliance before developing the platform.
You can write to kiteconnect(at)zerodha.com with product details.
@omtechnologies,
You can make up to 200 write requests per minute. Even if we provide bulk API, we still have to place individual order at the OMS and the error handling becomes difficult.
We would suggest placing market order in the loop for exitin…
52 will be open for the 3:15 candle since it is the first tick's LTP received.
No, the close price of the previous minute is not used for the next minute.
The first tick's ltp is the open and the last tick ltp is the close. High and low changes when there is a new lowest ltp or highest ltp.
We use websocket data to plot live candles. We don't poll APIs.
@rajat_balpande,
This forum is dedicated to Kite Connect related queries only. You can write to support for other platform-related queries or feedback.
@varuntoshniwal97,
One can't display our live market data and historical data on a third-party website. You can contact any exchange registered data vendor.
@vipul73921,
If it is expiring today and people have opted for auto-renewal then the app gets renewed on the same day, Since people don't like service to be interrupted.
You can write to the business team on kiteconnect(at)zerodha.com for canceling …
@akshat666,
You can know everything about the Kite Connect APIs here.
javakiteconnect is just a wrapper on top of a set of REST APIs. You can know everything about Kite Connect APIs here.
This is our mini RMS rejection wherein place order request fails, you will not see this order on orderbook, you need to handle this in code. Postbacks are only received if you get 200 for place order request.
The historical data API is provided for backtesting purposes only. You need to build candles at your end using the Websocket API data for live market strategies. You can know more about building ticks here.
For the query about the availability of t…
You can get api_key from the developers console after creating a Kite Connect app and you can get an access token after login flow. You can know more here.
Every price-related value needs to be multiple of tick size and every quantity related value needs to be multiple of lot size.
You can get tick size and lot size values from the instruments master file.
If you are getting this error then you are blocking the main thread and you might be missing a few ticks.
You can refer to the python FAQs to know the solution.
on_error callback is to listen to the error messages sent from the server error.
@SharadKothari,
You can check out this article to know more.
Every request to place an order is included in the count.
Canceling an order will not reduce the count.
If you are developing a platform for mass then you need to check with the compliance team. You can write to them with product details on kiteconnect(at)zerodha.com
We don't do any processing on Kite Ticker, it just caches whatever exchange sends.
The correct value will be there on the BHAV copy or day candle data of historical data API.
@anujrathi26,
Never post your app or client-specific token on a public thread.
You seem to be sending the wrong access token. You can check out more about the login flow here.
Hi,
Kite Connect by default is provided only for the single user only. You need to speak to compliance with your product details and get the approval and multi-user access.
You can write to them with product details on kiteconnect(at)zerodha.com
Hi @vaibhavgandhi,
You can add funds from the Zerodha account. We will record your GST number and pass on GST credit to your PAN.
The backoffice team is working on this feature, it will be released soon.
You need to check the quantity of the position before squaring off the position.
The above method seems fine, maybe the first order might have gotten rejected or you might have placed a sell order twice. You can check your orderbook on the kite for …
Kite Connect app is by default enabled for personal use only. If you are developing a platform for mass then you can talk to compliance at kiteconnect(at)zerodha.com for multi-user access.
You do get order updates if you are have opened the websocket for the same client id.
You won't receive an order update when the order is placed but you will get it when there is a change in the state of the order like when there is a partial fill, …
GTT doesn't care about the margins in the account. You need to have a sufficient amount when the order is triggered or else the order will be rejected.
Can you paste the complete debug logs with the params you are sending? You can enable debug logs while initializing Kite Connect.
Don't use the variables and formula as mentioned above.
One has to place a market order of opposite transaction type to exit a position(MIS/NRML/CNC).
The method exit order is for bracket and cover order only.