Hi @parthiv,
You can check out login flow on this webinar and php client documentation here. There is no websockets in php client, I would suggest using other client for websockets.
Hi @skk,
Reconnection doesn't depend on the type of connection, it expects heartbeat ping from webscoket server every second. If it is working on wifi, it has to work on LAN.
Hi @krtrader,
After you subscribe for ticks in full mode, each tick will have depth map like this.
You can access that like this,
depthMap.get("buy", buy);
depthMap.get("sell", sell);
Hi @rajtk,
Once you get access token it is valid until next day. The request token is valid for a couple of minutes and can be used only once.
If you call request_access_token everytime you run script then it will give you token exception.
So do cal…
Hi @sekharrockz,
It is mandatory by the exchange that users have to log in manually at least once a day. I am afraid we can't provide API for login.
We will soon come up with a feasible solution for webview cookies issue.
Hi @MadhuSingh,
Whichever client(library) you use for Kite Connect, params to be passed are same.
You can check out python documentation here and call APIs using same params as demonstrated in those examples.
Hi,
Users can't cancel both orders. A user can only exit bracket order. There is no cancel order API for bracket order. All bracket orders are intraday orders. One has to close position by end of the day.
Hi @krtrader,
Limit type for cover order and bracket order for the commodity is on our list.
We are right now working on revamp of our core apis. We have frozen development of new features till we complete it. I am afraid we can't give you any time…
Hi @keshav,
Close price of ACC for 1 min and 5 min are matching.
Day's data is considered based on the post-market settlement which happens till 17:00 hrs every day. For one minute chart, it will be showing the close price of that minute.
Hi @avinashsringeri,
This instrument token(53287175) doesn't seem to be existing. Can you let us know for which scrip you are trying?
Use latest instruments dump to get instrument tokens.
Hi @mahadevmurmu,
This is something that you have to look up yourself. There are several other threads on this forum discussing this topic. Do look them up.
Hi @mahadevmurmu,
You can store it in a database or in app preferences.
If you wish to keep it only in memory then, I think you might need a map of tokens and LTP.
Hi @skk,
Quantity is not the number of lots. It is the number of units.
You need to specify stop-loss and square off in points, not price. In above scenario, stop-loss should be sent as 5. Target should be 35.
If you send price as value for stop-l…
Hi @skk,
Disclosed quantity for equity and currency has to be a minimum of 10% of order quantity. For MCX, it has to be a minimum of 25% of order quantity.
There is no disclosed quantity for futures and options.
Hi @MadhuSingh,
Bracket orders are not allowed for commodity exchange.
Same APIs are being used on all our platforms and it is working fine. Please check out examples.
Hi @Dhumalrao,
Kite Connect is purely an execution platform. I am afraid we can't provide support for building strategies or calculation of indicators.
Hi @naz,
This is not Zerodha specific. As mentioned in that thread, scrips are moved from EQ to BE/BL series by exchange in order to curb excess speculation. Hence intraday trades and BTST are not allowed on these scrips.
Hi @naz,
BE, BL, BT series are T2T(Trade 2 Trade) segments. One can't do intraday trade or BTST on these scrips.
You can place delivery orders. For more information, check out this thread.
Hi @hmatadhi,
Authentication is not complete unless you get the access token. I am afraid, we can't provide any data unless authentication is complete.
KiteConnect is strictly for a single user or for platform development which can be used by mass r…
Hi @vvijay,
If you place order for same scrip with same product type then new trades are added to same position.
You can place couple of orders and check on kite for behavior. It is complicated to explain everything here.
Hi @hmatadhi,
Check out login flow here https://kite.trade/docs/connect/v1/#login-flow , if you request for access token, then you will get all details with it.
Every http request is authenticated using access token.
Hi Harsha,
KiteConnect by default is enabled only for single user. Please write to talk(at) rainmatter.com, someone from our team will get back to you.
Hi @ramatius,
For monitoring purpose, please use Kite and not Pi.
If you log into Pi or NEST then a new session is created which means you are logged out of kite connect.
If you log into Kite then, your session is reused instead of recreating.
Not…
Hi,
It seems like the commodity is not enabled. Other segments are enabled for this account. There is a prefilled form on Q, you can sign and courier us. For more information, please contact support.
Hi @mayankchhabra,
If you take MIS position, it will be squared off by RMS at 3:20 PM. If you have SLM order then it will be canceled and then a fresh market order is placed.
I am afraid, we can't give any timeline as of now for limit cover …
Hi @mayankchhabra,
You can read about cover order here.
You need to place entry market order and for exit use stop-loss market order.
You can check example for placing order here.
@pinkpanther,
If you are looking for uninterrupted Kite Ticker then you need to implement reconnection same way as we have implemented.
You must be expecting onDisconnect event when there is disconnection but it is not called. Hence we added a diff…
@pinkpanther,
When there is an abrupt change in network or disconnection. OnDisconnect is not called immediately. Hence we have a different mechanism for reconnection.
Kite Connect client keeps checking every second if tick arrived, if there is no t…
@pinkpanther,
The feature is not client centric but my answer is.
In java, you can setTimeIntervalForReconnection(). It is based on user's input but minimum value is 5 seconds.
You need use OnConnected event for the subscription. Check out usage exa…
@koushik72,
We have frozen developing new features till we complete revamp of core apis https://kite.trade/forum/discussion/943/update-revamping-of-core-api-infrastructure
I am afraid, we can't give you any timeline.
For now, I would suggest…
@gautam_s60,
It looks like, you have transferred it from outside. You nee to update your discrepant quantity and other details on q.zerodha.com. For more information, please write to support(at)zerodha.com
Hi @gnr190,
You are not getting ticks because it is not being traded. On NSE, it is being traded in JINDALPHOT-BE series. Instrument token for JINDALPHOT-BE is 3006465.
Hi @[email protected],
It is one of the order statuses in the system which is not usually visible to the user on a normal day as the transition happens faster to next order status. You can check all order statuses in response format of retrieving …
Hi @koushik72,
It is valid till next trading session.
Unless you login to NEST or Pi.
If you login to any of the above platform, you will be logged out of KiteConnect. I would recommend using Kite for monitoring purpose.
If you logout of …
Hi @Santosh,
Ideally set mode is to change mode of data like change mode from modeFULL to modeQUOTE or modeLTP.
You need subscribe to get live market data.
Hi @fortunetrail,
Once you click on publisher button a pop-up is opened, it is like a new window. A user can close pop-up to dismiss it or continue to log in.
You can check example for publisher button here.
@Santosh,
Getting (TBT)tick by tick data in India with current infrastructure is not possible. There could be lakhs of ticks per second.
To get TBT, your server needs to be in exchange colocation. Infrastructure + colo server setup will cost around …
Hi @Santosh,
A minute candle is constructed only after that minute is complete. If you request for the 1-minute candle at 11:01 AM then you will get candle until previous minute i.e. till 11:00 AM.
Source for historical data is different from webso…
Hi @arnavsaxena,
All HTTP requests are limited to 3 per second.
getOrder(order_id) will return you lifecycle of an order in the system.
Once an order is placed it will go through many statuses like put_request_received, validation_pending, open_pe…
Hi @traderx,
I just tried and it is working fine. Infy NSE 15 min data for yesterday is present. You can find example response below,
{"status": "success", "data": {"candles": [["2017-05-04T09:15:00+0530",937,939.15,936.5,937.25,261956],["2017-05-04…
Hi @koushik72,
It seems like you have registered on developers console with some other email id. Can you private message me your api_key, we will check and get back to you.