@SJ2994,
Even if you pull positions after a minute it will give you old value. It is better to use Quote API or Websocket API to fetch latest LTP and calculate live m2m.
@RaviR,
The add-on historical data subscription is free but you will still need the base Kite Connect subscription to fetch historical data. Kite Connect provides json data in the response, you can populate it at your end into excel.
You can check o…
@namratasonawane, you will have to enter the new IP on the developers console to get it whitelisted. It is not like internet will go off everyday.
This is not something we are doing, it is a regulatory requirement. Hence all the brokers need to adhe…
@anandtiwari25,
Everything is looks fine, except don't use kite.zerodha.com domain as redirect url. That also results in throwing error as Token is invalid or has expired.
@developer,
This shouldn't be an issue for a platform, you will already have some kind of static address you may use that to get whitelisted on Kite Connect.
The historical data API is provided only for backtesting purposes. We recommend you to generate candle data at your end with live market data provided via Websocket API for live market strategies.
You can get started here.
You need to set debug flag true as mentioned here while initializing the kite object.
Make sure to private message the stacktrace as it will contain app and client specific tokens.
Can you enabled debug logs of pykiteconnect and share the complete stacktrace of that? Please do share on private message. It looks like you are not passing a valid api_key or access_token.
@amitbatra03,
The instruments master only contains what are the instruments that are trading for the day. It won't have information about OTM or ATM or ITM instruments.
Kite Connect sends postbacks only for the orders that originates from the Kite Connect app. It won't send postback for Admin square-off orders. You can use Websocket API to listen to order updates for this use case.
It is a Websocket API (long standing connection), you can connect once and subscribe for the data. It will keep streaming data until you unsubscribe or disconnect. I don't think you can make a REST like HTTP request and discard it on Postman.
Server…
The exchange feeds itself has some discrepancy, it is better to calculate at your end if you are not using our client library. You may refer to this thread to know more.
You can use the same api_key for your code but you can't be logged in on both at the same time.
The Websocket connection is per api_key, so make sure you don't exceed 3 websocket connections at any point in time.
Can you fetch orderbook and the params for order type and price field?
Usually the exchange matching engine tries to get you a best price, for buyers it will match with the lowest possible seller for order type LIMIT. Basically, you can't buy above …
We won't be able to figure out anything with connection_id. We haven't come across this issue. You may handle this at your end by doing unsubscribe and subscribe again.
We push it to the queue based on order creation time at our end. We have multiple lease lines, all the messages are sent to the exchange in round robin sequence. I don't think it is possible to control the sequence of orders.
Total buy quantity and total sell quantity means the sum of all pending order quantities at the exchange. It is not related to volume traded for the day.
We only have fetch orders (last 7 days) and fetch portfolio included in the APIs. After the new regulation to settle the funds from and to client's bank account directly. It is difficult to technically orchestrate the order placement via Kite Connec…
You can write to compliance team and check with the team before you are start developing a platform for mass. You can reach out to them on kiteconnect(at)zerodha.com
If an order is placed from the Kite Connect app, then posbacks are sent to that Kite Connect app. Yes, you get postback for all the updates.
When one places an iceberg order with multiple legs, only one order is created, once that completes another …
We don't consume that field in the client libraries. It is implicit that if the https status is 200 then required response is inside data field and if there is error then it is always in the following format.
{
"status": "error",
"message": …
It is because Kite Connect provides only level 2 data, it is a SNAPSHOT data as published by the exchange.
There can be hundreds of ticks per second at the exchange. But exchange streams only one or two ticks in a second on the internet. For tick by…
It looks like you are automating login. As per regulations, it is mandatory to login manually at least once a day. We don't recommend automating login.
I think you are using an older version of pykiteconnect. You can use the latest version and call this method. There are some breaking changes in previous releases. Make sure you watch out for those.
I was referring to HTTP status code 200. For placing an order, you will receive an order_id in success response, you may use that and fetch order history as well.
You can check out the response structure for place order API here.
Can you enable debug logs and share the complete stack trace here? We will check and get back to you.
We can't investigate anything without logs.
PS: Make sure to remove app and client specific tokens.
@vivekvs,
Kite Connect is purely an execution platform. We don't provide support for coding. You can hire some freelancer on the forum who can do the job for you.
That is exactly what was removed. You can only add one tag for an instrument on console. You will have to maintain tagging your strategies at your end.
The orderbook API is fetching list of orders, it is not fetching order history.
The async order updates is because of the async notification behavior from OMS. But the order history will have all the states of the order that it has traversed throug…
@ANL,
@sujith I have not tried polling for order updates; WS is out of order, so polling is also out of order?
I didn't get you. Can you elaborate?
eg: If we use this approach, history[-1]['status'], will I get the latest order status in an exact …
Kite Connect will not send order updates for placing an order. You will only receive order update if there is a partial fill or a status change of the order like TRIGGER_PENIDING to OPEN, OPEN to COMPLETE, etc.
You need to wait till the subscription is acknowledged by the Kite Ticker. One way to do it is wait for the first tick in the on_tick and set mode there or add some delay between subscription message and set mode message.
console is our backoffice platform. Kite Connect only provides trading APIs, it doesn't contain backoffice APIs.
Until recently, we were supporting trade based tagging on console. We had to stop it because of very low adoption rate. You will have to…
Kite Ticker's close price will show the previous day's close price even after market closes. It will be updated with the BHAV copy close price(present day's close price) tomorrow morning after BOD is run.
At any point in time, there will be only one access token. So you should be able to use the same keys. Maybe you can go through your code and check if you are sending correct api_key and access_token.
You seem to be fetching the order it history, it contains all the states the order has gone through in the system. For latest order status, you need to check the last item in the list. You may go through documentation to know more.
You can place an order and fetch orderbook, once it shows up on orderbook you can modify order.
Please note that one can only make 25 modifications for an order. Post that you will have to cancel and place order again or use GTT.