A tradingsymbol doesn't contain space.I think correct tradingsymbol is PVRL18JANFUT
You can find all the instrument details in the instrument dump. You can refer to documentation here.
@billapavi,
If you get orderId in as a response after placing an order then it is successful. If not then you will get Kite Exception. You need to print kiteException.message
Hi,
Kite Connect subscription is valid for 30 days from the day of subscription. It is not based on the date of the month.
If you don't have enough balance in Zerodha account then it won't be re-subscribed.
You need to un-link Zerodha account to sto…
Hi,
The source for chart data and Kite ticker are different. The values will never match it will be near. You can check out this thread for more information.
We don't have API to check how many orders are placed in a particular time interval.
You can fetch the orderbook which will give you a list of orders that are placed for the day.
You can get average price in positions API, you can check out document…
Yes, Kite Connect is a paid subscription you need to pay Rs2000 per month.
Kite publisher is just a javascript button to place orders. It doesn't provide any kind of access to APIs.
In order to place an order, retrieve orderbook, positions etc you n…
Hi,
1. Can I get last sold quantity and price?
You can get it in positions.
2. Can I get maximum offer price and minimum bid price?
You can get in from Kite Ticker.
3. Can I get average offer price and average bid price?
We don't have average offer …
The webscokets will not throw a token exception because it is a long-standing connection, it won't validate for sending every tick, it will only validate while connecting.
Kite Connect session is tied to Kite 2 and not Kite 3. Are you sure you didn'…
Hi @Mrigesh,
Kite Connect App is monthly subscription based service. It will cost you Rs2000/ month and if you want to use historical data, it is an add-on subscription which is 2000/month.
Please open a new thread for queries it will help others wh…
The getOrder(order_id) is not a record of one order. It is a list of all the statuses an order goes through once it is placed from a trading terminal.
You need to go to the last item in the list to find the latest order. You can check out documentat…
This is not an issue with any client. This is because the source of margins is different from other APIs.
But the access token must not get expired in the first place. It is only invalidated if you log in to PI or NEST or log out of Kite or any plat…
Hi,
The response you get is a list of order status in the system. Check for the last item in the list, your order seems to be rejected because the price is lower than lower circuit limit.
You can check rejection reason in the status_message field.
Hi,
The data from websockets are not given in a specific interval it is rather sent when there is a change in data. You can expect up to 1 tick per second for a liquid instrument.
If you are subscribing for 200 tokens on main thread then you are pro…
The request URL must be something like this,
https://api.kite.trade/instruments/historical/5633/minute?from=2015-12-28&to=2016-01-01&api_key=yyy&access_token=xxx
You seem to be sending it inside quote.
Hi,
Last traded quantity is only received in modeQuote and modeFull.
You can check out tick structure here.
Buy Total is the sum of all the bids at the exchange for that instrument.
Hi,
We tried placing orders from 9:00:00 AM to 9:05:00 AM for three to four days. We observed this during the first 30 seconds of 9:00:00 AM.
We place tens of thousands of AMOs at 9:00:00 AM and RMS will be busy in handling those ordes which will re…
Yes, it went through as a cover order. It seems to be working fine.
$order_id = $kite->orderPlace(["tradingsymbol" => "EURINR17DECFUT","exchange" => "CDS", "quantity" => 1, "transaction_type" => "BUY", "order_type" => "MARKET", …
It seems like the request is timing our before data is fetched. Our data team is working on fixing this issue. For now, you can handle the exception at your end.
Hi,
We tried the following code and it seems to be working fine.
$order_id = $kite->orderPlace(["tradingsymbol" => "INFY","exchange" => "NSE",
"quantity" => 1, "transaction_type" => "BUY", "order_type" => "MARKET", "product" =>…
This was just a feature addition. We will mail all the clients after the complete migration is done.
This release is not a breaking change, in fact, we made some changes to make it backward compatible. In your case, it broke because of wrong params.
The open on the NSE website is the open of the day. The open on the chart at 9:15 is the open of that minute which is the first tick received by our system. There can be hundreds of ticks in one second and any trading platform can receive only three…
Hi,
It seems like historical data API is throwing gateway timeout error. I think requests are timing out before fetching data from the database. Our data team is working on the new architecture for Historical data API, once it is live this issue wil…
Hi,
We are in the process of migrating to new Kite Connect APIs. The source of funds and other calls are different. Once we do the complete migration, this issue will be gone. For now, you need to re-login.
@venun,
This is a developers forum. We are not in charge of business related stuff. Please write to talk(at)rainmatter.com for business related queries.
If you are referring day data from NSE website then it is the same day data which is provided by Kite Connect API.
Kite Connect also offers you intra-day data. You can check out more details about Kite Connect's historical data here.
Once a cover MARKET order is placed, an order id is returned. A user has to fetch order book and find the order with parent order id same as returned order id.
Don't use the logic order id + 1. It is not reliable as far as I know.
Hi,
I think the easier way is to fetch orderbook and find order id which you got from order place response and check for status contains COMPLETE.
If COMPLETE then you fetch positions.
In the above code, you have too many conditions and to save band…
Hi,
Instrument token is the unique key to distinguish between two instruments when you receive tick data.
You can fetch instrument dump as mentioned here. Once you have the dump you just need to search for that instrument in the dump and get trading…
Hi,
I think you need to create a new session when it happens.
Margins and other(orders, positions, holdings) APIs are from the source.
Don't use PI or NEST for monitoring, use Kite for monitoring purpose. If you log out from any platform then also t…
Hi,
In the earlier API bracket and cover order had only one order type. Hence we were not validating order type.
Now we have included bracket order with stop-loss and cover order with limit entry type. It seems like you are sending order type as 'CO…
We tried it yesterday. We didn't come across this issue. We will keep an eye on this. You can let us know if you come across a pattern to debug this scenario.
You can use postbacks. You need to setup endpoint to accept post request and Kite trade will send postbacks like this. You can go to developers console and set postback URL.
Hi @Pavan,
We don't have in-house Qt expert as of now. You can go ahead create a Kite Connect client. We can promote it
The above mentioned technical indicators repository is by one of the community members @arkochhar .
Hi,
The error handling becomes complex and backend also has to make a request for every order place. I would suggest use loops to place multiple orders.
Hi @Shaha,
The bracket order with the stop-loss entry is already available already. The request is same as bracket limit order, you just need to send order type as SL and send trigger_price value.
The way it works is if there is data it will return data but if data doesn't exist then the server returns empty JSON object.
We will change the response to send JSON with the key of the request param and value will be empty.
We will update .NET cli…
As improbable as it may sound, our data center today developed intermittent connectivity issues at the worst time possible. We're now in the process of ditching this datacentre altogether and moving to a new one.
Hi,
We just tried it and it seems to be working fine.
This is the following response
{"status":"success","data":{"NSE:ICICIBANK":{"instrument_token":1270529,"last_price":309.55}}}
{"status":"success","data":{"NSE:HINDZINC":{"instrument_token":36454…
Did you get request token or is it showing error on Kite Connect login page?
Can you give us more details regarding the error?
Is it blocking at 2fa or login? What is the error message?
Can you let us know the status message of that order?
We haven't come across this issue.
The order status logs are available only on the same day. We only have orderbook logs post the current day.
Please let us know about order errors on the same da…
@harikongu,
You can get positions from API which will have buy average and P&L. In order to calculate P&L for every tick, you can use Kite ticker(Webscokets) API.
As of now, Kite Connect provides trading platform APIs and it will only have …