@musafirsafwan,
It is not recommended to hardcode api_secret inside your app. You need to generate session in server side.
You can listen to webview events and figure out the final URL with request token. You need to send that request token to the s…
Hi @shailu,
The SNAPSHOT repository is still under development. Since this is pre-release we haven't uploaded the new version to maven. You need to use this jar.
Aah, I got it. Wherever there local variables which are being passed to another inline class it is showing the error to declare it as a final variable.
But on my system, it works perfectly. I am using the same codebase.
We have done changes, you can…
Hi @aakashps1995,
I tried with the same param and I got success response
{"status":"success","data":{"NSE:NIFTY BANK":{"instrument_token":260105,"last_price":27041.2,
"ohlc":{"open":26940.5,"high":27074.9,"low":26841.2,"close":26909.5}}}}
Are you s…
@divakar620,
All the Kite Connect HTTP calls are limited to three per second. If you cross that limit you might get the exception with a message 'Too many requests' and the status code will be 429.
All the Kite Connect 3 endpoints require X-Kite-Version:3 in header. Please go through documentation once to avoid this kind of issues.
The query param v=3 is only for login URL and not for others.
The Kite Ticker will send tick when there is a change in any of the parameters for which you have subscribed to.
For example, if you have subscribed to modeLTP then you will receive tick only when there is a change in LTP. If you have subscribed to …
Hi,
For placing an order you won't get order update. The confirmation for placement is the order id received after order placement is successful.
Ideally, you should get order update for order cancellation. For amo cancellation, we haven't configure…
@ash,
We will update documentation in this week. The examples are tested and updated.
A request token is valid for only one time and it is valid for only a couple of minutes.
A successful placement of the order doesn't mean the order is executed. It just means order placement is successful. For more information, you can take a look at documentation.
Yes, you need to iterate through orderbook and find the orders.
On successful placement of an order, you will receive an order_id. This is the entry order_id. Once the first leg is executed, there will be two second leg orders placed by the system and those will have a parent_order_id field which points to the f…
Hi,
You can try using Kite Connect 3.
In one query, you can get the quote for up to 500 instruments.
If you are already using Kite Connect 3 then you can enable debugging and check logs.
You can check out Kite Ticker(websockets) usage example in th…
You can use CDS or MCX tokens.
In order to just check your setup, you can subscribe to any token in non-market hours you will receive first tick that is cached.
Hi,
The above URL will not work with GET request. The route is only for canceling an order.
In order to get order history, the URL would be something like,
https://api.kite.trade/orders/:order_id
@krtrader,
Yes, close is updated next day morning at 4:00 hrs. In the above thread, the issue was on Friday's 4:00 hrs it was not getting updated. We had fixed it earlier.
The OHLC API call will give the values that are being streamed via Kite Tick…
Hi @rameshg,
You need to use one of the charting frameworks to plot charts.
One of the frameworks is techanjs.
You can go to their documentation and check how to plot data.
Hi,
The URL wss://websocket.kite.trade/v3 is a temporary endpoint. You need to use new endpoint. You just need to pull the latest version of javakiteconnect and use it.
Please wait for a day or two, we are making some final changes.
on_message is not only meant for order updates. There are many other platform text messages. You need to listen to only order updates and ignore the rest.
Kite Publisher is only a javascript button for placing orders which can be included in Websites and blog posts.
Kite Connect will give you access to orderbook, positions, holdings, margins, placing orders and more.