It may change when there is any corporate action or moved to T2T segment. It is a rare scenario but possible. You can use exchange:tradingsymbol as the primary key.
We had tried sourcing data from a other vendors couple of years back. Their data was not good. We will evaluate this again but not sure if it will be fruitful or not.
@KamalChhirang,
You can check the example[Kite Connect example to receive and store tick in database async] here for Websocket API usage. Might be old example but I hope you can get the gist of it.
You can refer to the API documentation here and the pykiteconnect docs here.
To square off the 20 qty, you need to place another order with quantity as 20 with same product type and opposite transaction type.
You won't get an error, if you try to c…
The Websocket data is provided for personal use only. One can't redistribute the live market data provided for personal use. You can speak to compliance team and figure out if it is allowed or not. You can reach out to them on kiteconnect(at)zerodha…
A user has to login at least once manually every day. It is a regulatory requirement. It would have worked that way because Kite web login would have already happened. It is the way Kite web and Kite Connect works. Not sure about other brokers.
You will have to place a market order with opposite transaction type. If market order is not allowed for some reason by RMS then you will have to place a limit order above ltp for buy or limit order below ltp for sell.
One can create up to 30 Kite Connect apps with one account.
You can create Kite Connect apps with you Zerodha account only. No need to open accounts for this reason.
PS: You can always open an account and gift wealth creating stocks to your loved o…
If you follow @vijoeyz way of logging in, then there won't be any issue.
Saving a bookmark is just copying a url, it doesn't save cookies and all. If session exists then you will land on that url or else you will land on login screen.
You need to send quantity field while placing iceberg order.
You can refer to the example params for placing iceberg order here.
For slice calculation, you can refer to this thread.
The total quantity of the iceberg can't be 1900 since it is not …
Since you have linked to the Zerodha client id, money will be deducted from the Zerodha account, if you don't have credits on developers console.
Auto-renewal also happens if you have linked the Zerodha account.
The stoploss param is of no use now. It was used for bracket order and it is not supported anymore. You can go with the first combination. For stoploss order, you need to make another place order request.
Order update from the Websocket API can be considered as an event to fetch orderbook and check the latest order status and filled quanity.
For order placement, you need to add a couple of seconds delay and check the orderbook, order update is not se…
Yes, all the order place requests are considered. It includes the one that may show up in the orderbook with status complete, pending, rejected, cancelled, trigger_pending and also orders that don't show up in the orderbook but rejected by our mini …
You can use it for personal use. One can't use it for building a product for mass. For more information you can write to kiteconnect(at)zerodha.com and speak to the compliance team.
You need to go inside the app details screen and click on renew button or create a new Kite Connect app.
Adding credits to developer account will not automatically renew the app.
It seems like you have connected Zerodha account to your developer console account. Money gets debited from your Zerodha account and the debit instruction will show up in the trading ledger by tomorrow EOD.
It is available for the current month, next month and far month instruments.
Can you share the complete stack trace by enabling debug logs of pykiteconnect?
It doesn't matter if it goes in to success or fail block. Can you enable the debug logs of kiteconnectjs and paste the complete stack trace here?
You can enable debug logs as mentioned here while creating the constructor.
Can you run kiteconnectjs in debug mode and share the complete stack trace here?
PS: Make sure to remove app and client specific tokens while pasting here.
One can't test postbacks using local. You need to give a valid https url for Kite Trade to make a request to your endpoint.
You may use postb.in like service to try it out.
@rajatgupta431,
If this is a product developed for mass then you can speak to compliance team by writing to kiteconnect(at)zerodh.com with product description. You may ask for multi-user access.
Kite Ticker broadcasts tick to all subscribed clients at once. It doesn't matter from the Kite Ticker's perspective.
As long as you are using the same access token and within the rate limits it is fine.
@tradernoob,
We just relay the tick that is received from the exchange. We don't throttle ticks. We get Level 2 data from the exchange an we send the same to the users. You can check out Nithin's reply on this thread to know more about how ticks str…
Kite Connect app is provided only for personal use. It can't be used with multiple client ids. You will have to use the same client as mentioned while creating the Kite Connect app. If you are not sure what client id you have given then go to dev co…
You can place two limit orders with validity IOC(immediate or cancel). You can use Kite web or app to know the features offered on Kite for better clarification.
Once an order is sent to the exchange it becomes regular order. The fetch orders API will give you variety as amo because of a legacy issue on the OMS. But you will have to cancel with variety as regular.
The logic we use on our front end apps is
…
@arunkumarr,
Please spend 10 minutes and read the documentation, all these are the covered there and few that are missed are present in the FAQs.
Websocket API gives day OHLC values. You need to generate candles at your end for live market strategie…
You may get one or you may get 3000 which is the maximum number of tokens allowed for subscription. You can read more about Websocket API behavior on FAQs.
Please note, if there is no counter order for the orders placed in pre-open, it will be unexecuted in pre-open and the order will execute in the normal market if the criteria are met.
You may also refer to the NSE website here.
A holding in you DEMAT will not have any exchange associated with it. I would suggest not to deactivate BSE segment.
You can read more about this behavior here.
There will always be one trade that happens in pre-open. Till 9:07 AM there will be order collection and at 09:08 AM there will be one trade at equilibrium price. That is how pre open market works.
You may refer the example here.
Correct way to resolve the error is to print and paste the complete request and response. There are many combinations for order place API.
Websocket API data is a snapshot data and not tick by tick data. While the volume data is cumulative, LTQ will just give information about the last transaction.
You will need a very high bandwidth and colocation servers at exchange to get tick by ti…