Kite Connect API is the base subscription. In order to fetch candle data you will have to subscribe for historical data API. For live strategies you can generate candles using Weboscket API data which is part of Kite Connect API.
You need to use the tradingsymbol that is mentioned in the current day's instruments dump.
It is moved to T2T segment so the tradingsymbol is FCSSOFT-BE
The historical data API is provided for backtesting purposes only. For live market strategies, you need to generate candles at your end using the websocket API data. You can get started from here.
I was not using WebSocket when I got this error, I was using plain API calls in a loop.
'Connection aborted.', OSError(107, 'Transport endpoint is not connected'
The above error is because of the socket or thread connection dropdown. Are you sure ab…
You can use postback or order update as the event to fetch orderbook and check the latest status of the order or filled quantity to check the partial fill.
Are you blocking the main thread that is receiving the ticks?
You shouldn't block the main thread. You can use on_order_update callback and use that as an event to fetch orderbook. Again make sure you don't block thread while fetching orderbook
It …
It is still one single order. Kite Connect will not split orders.
You can cancel an order at any point in time.
You can check the outstanding net quantity by fetching the positions API.
A 7 seconds for completing a get API call is too much. I would suggest trying it on a different ISP. It is very unlikely that Kite Connect takes that much time, you can probably do a trace route at that time and post the details here.
One can't fetch historical data for an instrument that is not present in the instruments master today.
You can contact some exchange registered data vendor.
@Ramji,
We don't see any issue from our end. All the requests are completed within a second for me. Can you try on an alternate network?
If your strategy can't afford to account for a couple of seconds delay then you need to go for colo setup at th…
@Kamalv,
Kite Connect just places order with the quantity provided by the user. It doesn't split order if quantity is high.
You can place order for the quantity up to freeze quantity.
If you receive error then you will have to place order with lower…
@Gjain75,
Kite Connect only supports the bonds that are traded on the exchanges. NSE and BSE in particular.
Bonds of CCIL are not traded on the exchange.
PS: Please create a new thread for new queries, this answer gets hidden and others looking for…
@genesis,
You can use postbacks or order updates on websocket API as an event to fetch orderbook and not poll.
We don't have any API to check the number of order requests a user has made in a day.
If you are blocked then you have exceeded the limit…
A third party app or website can't embed Kite web app. You can contact any exchange registered data vendor for historical data and use some charting library.
For triggered ideally you should get postback or order update but the current version of GTT doesn't have that feature. In the next version of GTT we will include this.
If the last thursday is a trading holiday then it will be prepone to last Wednesday. If Wednesday is also off then expiry will be prepone to tuesday.
This is the practice but there is no written document or circular about this.
AFAIK for few illiquid scrips it is exchange modifying the market order to limit. You can know more here.
But I have asked team to check what happened in the above SL-M case.
These are async messages pushed from OMS. We have reported it multiple times to the team. For now, I would suggest using order update as an event to fetch the orderbook and check the latest changes on the order.
@rubaljhavar,
Others are also facing the same issue? I just tried on chrome latest version and it seems fine for me.
Just trying to gather more information to debug this issue.
1. Order updates are only sent when there is an update on the order, like partial fill, order modified. You won't receive order update when an order is just placed.
2. Don't block the main thread that has Websocket connection. If you make the thread…
Now, the authorisation is valid only for 1 day since the regulation has changed. You can go to kite web or app and do it from holdings screen. Or you can refer to this and implement something at your end.
Please note that all the client libraries do…
@kavanlimbasiya,
The historical data API is provided for backtesting purposes only. For live market strategies, we suggest you to generate candles at your end using the live market data provided via Websocket API.
You can get started here.
This doesn't seem like an API error. Can you paste the complete request and response logs?
You can run in debug mode and paste the logs here.
PS: Make sure to remove app and client specific tokens.
1. Is there any process to pass the authentication token received during step1 in offsite order placement?
The end user has to click on log into Kite web checkbox during the first login flow.
You need to pass redirect_url param in the post body for…
@DD1365,
Yes, an order can be modified only 25 times, post that you will have to place a new order with same params.
All the rate limits are mentioned in the above pointed thread.
@Kamalv,
This should be fixed now. If it is still happening you can give us the client id and order_id in a private message and we will check and get back to you.
@Ramji,
The historical data API is provided only for backtesting purpose. For live market strategies, you can build candles at your end using the live market data provided on Websockets API.
You can get started here.