An exit order is placed by the system, one can't place an exit order for bracket and cover orders.
If you want you will have to write the algorithm to mock cover order at your end.
Hi @rohit3389,
You can also get lot size in the instrument dump.
The quantity param takes the number of units and not the number of lots. As long as the quantity is the modulus of lot size RMS won't reject it.
You also enable debug logs to figure ou…
You can check out margins file as mentioned here.
But this file might be updated during the day also. We are talking to RMS and process teams to come up with a feasible solution. It is a complex process which will take time. A feasible solution as o…
Hi @ramatius,
You can go through these links to know more about a stop-loss order.
https://support.zerodha.com/category/trading-and-markets/margin-leverage-and-product-and-order-types/articles/what-are-stop-loss-orders-and-how-to-use-them?ref_query…
Can you give more info on this?
An HTTP 400 status generally means a bad request from the client app.
It can be any of these also malformed request syntax, size too large, invalid request message framing, or deceptive request routing.
Following is the policy for redirect URL,
The url to which a user will be redirected after the login flow for Kite Connect. This has to be an HTTPS url. You can use a http://127.0.0.1 URL for testing. For Publisher, the redirect url does not matter …
Hi Bhavin,
This is a community driven forum. We don't provide technical support for Kite Connect. Most of the users here are the developers who have ample knowledge about Kite Connect and coding, there is no support representative here.
You can che…
Kite Connect is only an execution platform wherein you can place orders, get live market data, fetch orderbook, positions and more.
Kite Connect doesn't provide any assistance or solutions for writing strategies.
As the error says you seem to be passing Invalid checksum which means either api_key or api_secret is wrong.
I would suggest going through documentation and some webinar videos mentioned here just to know the complete flow and capabilities of Kite C…
The segment NSE-INDICES was there for all Indices in the earlier version of Kite Connect because we were not supporting BSE indices.
In the Kite Connect 3, we added SENSEX which is a non-NSE index, hence we made changes to instrument master but swit…
@Imran, @nithinLogiticks,
A request token is only valid for a couple of minutes and it can be used only once, whereas an access token is valid for the whole day.
@vatayush,
You can change the postback and redirect URL after creating app also. You can go to the app details page of the developers console for the same.
It seems like you have given an invalid URL in the Redirect URL field, you can check the description below redirect URL box on the app details page of the developers console, your URL needs to start with https://www.website.com but you seem to have …
We do have plans of providing a sandbox environment. We are waiting for APIs from the OMS vendor.
A BOD process is a part of almost every financial institution. It involves many processes which will make the servers ready for the next trading sessio…
When there are major OMS or RMS upgrades, users can't log in to any of our platforms. we do maintainence usually at the weekends and we keep users posted on the forum.
After a successful login user will be redirected to the endpoint which is specified in the developers console.
You can just read the URL for the request token after the login.
We don't provide telephone support for Kite Connect. You can write on the forum.
The error message invalid host in general shows up when client couldn't connect to server.
You can make a video and send it in a private message. We can take a look a…
Are you trying this locally?
It is mandatory by the exchange that a trader has to log in manually at least once a day. We don't recommend automating login.
A place order API is a synchronous call since it is necessary to know the status of each order placed.
Kite Connect doesn't provide bulk place order API call. You need to put it in the loop and run it.
Please go through the examples and try to understand before using it.
The last two lines call unsubscribe and disconnect method of the Kite Ticker. You need to comment those two lines to get continuous streaming data.
For a successful login Kite Trade just redirects to the specified URL whereas for postbacks Kite Trade will make a real POST request to the specified endpoint. According to Zerodha's security policy, it is mandatory that whatever external machine we…
@Oliver,
You need a valid https URL for getting postbacks and the certificate must be provided by the proper issuing authority. Self-signed certificates won't work.
Historical data API is provided for backtesting purpose it is not meant for live strategies. We recommend generating candles at your end for live strategies.
You can get started here.
Postbacks seem fine from our end.
I don't think we are sending postbacks in the above-mentioned format like enclosed JSON enclosed inside other curly braces.
We will ask the OMS team for an explanation for this but this can happen for many reasons at the OMS. It would be better if the client has this check to mitigate the risk.
Hi @Ajax,
This can happen when Kite Trade doesn't receive order id while placing an order from the OMS. If you get a timeout while placing the order then your logic should be to fetch orderbook and check before repeating order.
In this scenario, th…
All the Kite Connect app sessions are independent now (includes Kite web, Kite Android, Kite iOS). We have recently added a feature on Kite Web > profile wherein you can see all the active sessions and clear sessions from there.
But Pi and NEST …
I have forwarded the missing lot size validation scenario to the concerned team.
If you get order id while placing an order, it means order placement is successful. It doesn't guarantee the execution. You need to fetch orderbook and check for status…
Hi @vishnux,
The Kite Ticker can't be used for displaying live market data on third-party websites. Because CORS is disabled, you can't use it on your website.
PHP doesn't have proper websocket support. So you won't find Kite Ticker in phpkiteconne…
@yousuf,
This will be added to Kite Connect APIs in future when backoffice APIs are added to Kite Connect.
As of now, Kite Connect APIs are just an execution platform with all the APIs that facilitates trading.
This is an exception because the order variety becomes part of the route and not a body param. For other things, Kite Connect will throw an informative exception message and for more information about the type of Kite Connect exceptions, check out t…
Hi @TUSH123,
This can happen when you are blocking the thread which is receiving the ticks. Basically, the idea is to not block the thread which is receiving the ticks.
The right solution here would be to offload all your tasks to another thread and…
You can check what is the mode before trying to print timestamp. Kite Ticker subscribes to quote mode by default. You need to set full mode explicitly after subscribing for a tick.
You need to check if the ticks list size is more than zero then only you should perform the action.
Kite Ticker sends a heartbeat signal every second to make sure connection is intact, which will have 0-byte ticks.