Validity is used to specify the system that order's validity should be day or IOC(immediate or cancel).
If validity is DAY, your order stays in the system till it finds a counter party for the whole day.
If validity is IOC, your order will be either…
Hi @gautam_s60,
This forum is dedicated only for Kite Connect related queries. Please send a mail to support(at)zerodha.com for queries other than Kite Connect.
Hi @Hardik,
You need to open an account with Zerodha and it involves submitting identity proof, PAN, income proof, etc.
Private message me your full name, email id and phone number, someone from our team will get in touch with you to open an account.
Hi @guna,
You can get percentage change in ticker model. In javakiteconnect, it is called netPriceChangeFromClosingPrice. We don't provide 52-week high-low data as of now.
Hi @kivijoshi,
All these things are handled at OMS level if you place an order for the same scrip with same product type and transaction type then new order quantity will be added to existing position.
If you place an order for same scrip with diff…
@BigFudge,
Check out this thread for more information about pricing.
Our brokerage is Rs 20 or 0.01% whichever is less for intra-day and delivery orders are free.
As mentioned above, we will provide sandbox environment. As of now, you can place or…
Hi @ramatius,
You cannot get data for expired contracts. Exchange reuse tokens once a contract expires, that is the reason we don't give historical data for expired contracts.
This is on our list. We will provide it in future.
Hi @kivijoshi,
You don't need order id for this.
You can fetch positions and filter with scrip name and position type(MIS or CNC). You can check quantity and close position by placing the order with opposite transaction type and passing quantity sam…
@BigFudge,
We don't have sandbox environment. It is on our list, as of now our priority is revamping of core API.
As of now, the feasible solution would be placing orders post-market which will be rejected but you can see orders in the order book.
w…
It will be something like this,
basket = [orders]
for(i = 0; i < basket.length; i++){
placeOrder(basket[i]);
}
You can take a look at python documentation here for more information.
@vijay407,
We don't have sandbox environment yet, it is on our list. We will provide it soon.
Please take look at this thread to know more about API pricing.
@vijay407,
Kite Connect is a subscription-based service for Zerodha clients only. It will cost you Rs 2000 per month for the base subscription which includes placing orders, fetching portfolio, you can also get access to live market data.
There is a…
Hi @vijay407,
Kite publisher is just a javascript button to integrate into blogs and websites for placing orders. Kite publisher can only place orders.
Kite Connect is a full-fledged API which allows an individual to place orders, check orderbook, f…
@pranksterguru,
Apologies, we were supposed to make a deployment yesterday because of some issue we didn't deploy it. I will update once it is deployed.
Hi @pranksterguru,
We are getting ticks from exchange hence it is being sent. We have done some changes to prevent sending ticks after market hours hopefully that should fix it.
Hi @rahul582,
Postbacks are sent only after an order is complete, canceled or rejected.
Payload is hashed, take a look at doucumentation to know how to parse it.
Hi @itsram90,
After you place a bracket order, for the first leg you will be paying Rs20 or 0.01% whichever is low. If it executes in two trades then there will be two pairs of exit orders. When the target is hit for both pairs, you will be paying R…
Hi @derickgeorge89,
Once an access token is generated it is valid for the whole day. If you log into PI, NEST or trade.zerodha.com then new access token is generated and current access token is deleted. I would suggest using Kite for monitoring purp…
Hi @pracas,
It seems like you already have unlinked your Zerodha client id. You can go to developers console and open your profile page and link new client id by filling Zerodha client ID field.
Hi @mohitgahlyan,
You will have to getLogin URL as mentioned here and then open the same on webview or browser, enter credentials and after successful login, you will get request_token use the same to get the access_token.
Hi @Sowmay,
It is mandatory by the exchange that a trader has to log in manually at least once a day. You need to log in every day to use Kite Connect.
Hi @apurvtwr,
Can you let us know for what API request this is happening?
This can also happen when there is a drop in internet connection also. Is your script running locally or on the cloud?
Hi @QuantTrader,
There is no delay in funds update once you exit your position.
If you are already on margin screen then you might have to refresh the screen.
If you go to margin screen after successful position exit then it must update instantly.
Hi @arnavsaxena,
1. You can place the cover order for MCX scrips.
In kite connect terminology "co" is an order_variety that is passed to place a cover order and product will be MIS.
For more information about default params, check out documentatio…
Hi @sameer,
The strike price for any scrip is arbitrary and it changes now and then. Hence only trusted source I would suggest is exchange.
You can check strike price for a scrip on exchange website or use instrument file of Kite Connect which is g…
@Sankalpkotewar,
Instead of data = json.dumps(response).encode('utf-8') use data = json.dumps(response.content)
response is an object you can get body in content.
Hi @Sowmay,
All Kite Connect apps are restricted to a single user. Unfortunately, we don't have sandbox environment as of now.
You will have to go for multiple subscriptions for now if you want to use the APIs for multiple clients.
Hi @biswajit14,
The request token is valid only for few minutes and you can use it only once. Hence it is recommended to make kite.request_access_token(request_token="obtained_request_token",
secret=your_api_secret") this call only once.
After you g…
@arjunender,
The expected behavior is, when you subscribe for 20 tokens you will get one tick for all tokens and then you will get data only when there is a change in data.
Same websockets is being used on all our platforms and we haven't received …
@joy,
Above values are correct. The volume you see before 9:08 AM are the indicative volume which is based on demand and supply.
During the pre-market session, in the first 7 to 8 min order collection happens. Order matching happens in between 9:07…
@arjunender,
Can you give us some tokens for which you tried?
You need to use instrument tokens in instrument file and not exchange tokens. For example, you can get live data for Nifty 50 with instrument token 256265.
Kite Connect is enabled only for the single user. You can only access data for a client with which you have created the app. Are you sure you are using same client id?
If you are using the same client then make sure you have given permission. As a …
Hi @purvesh,
After login, did you give permission?
As a kite user, you need to give permission to the third party app to allow access your data and place orders.
This is only for the first time.
If you did give permission and still not working the…
Hi @cmurthy,
Check out placeOrder() method in this Example.
You need to pass transaction_type in upper case (BUY), send variety in params. Check if other params that you are sending correct or not.