In that case, you need to exit second leg orders also with the cancellation request.
You need to loop through orderbook to find all the pending orders with parent_order_id same as the first leg order id and then exit them.
You can exit one of the se…
order_timestamp is the time at which the order was placed at OMS or order was modified at OMS or order was canceled at OMS.
exchange_timestamp is the time at which order is placed at the exchange.
@babansfolio,
1. You need to place a market order with opposite transaction type to square off regular orders. To exit bo or co position you can use exit order method.
2. Order history API will give the different statuses of an order in the system f…
If you are intending to close the websocket connection by stopping the thread then inside on_close, you need call ws.stop() as mentioned in the example on pykiteconnect repository.
You need to use Kite Connect APIs there is no alternative for this.
Kite Connect as of now provides APIs of trading terminal only. You can get order notifications from websockets or postbacks.
We don't have APIs for corporate actions.
@tanigai,
The new Kite Ticker expects valid credentials for connecting to the ticker. If you see 403 then it means either api_key is invalid or access token is invalid.
Hi,
I can see the custom icon for your app. Can you check again?
PS: please don't post app specific tokens on public threads. You can private message if you need to post any app related tokens.
Hi @navinamin,
This forum is dedicated only to technical Kite Connect related queries. Please write to support for any queries related to adding funds for Zerodha account.
BOD is beginning of the day process. It includes many complex internal processes which need to be done to make OMS ready for trading.
User management is done at OMS level and hence the login.
NEW UPDATE: It happens until 04:00 AM.
Kite Connect doesn't support specifying trailing stop-loss as ticks. It only supports points which means you need to provide price difference as the value.
You can check out this thread to know how to square-off brackert order positions.
Hi,
Kite Connect is purely an execution platform. We don't provide support for writing strategies.
You may check out thread to know more about usage of Kite Connect APIs.
Hi,
INDIAVIX18APRFUT is not actually the exact tradingsymbol.
INIDAVIX has three instruments expiring in the April itself. Kite Connect has missed the expiry date.
Since there is no liquidity, even exchange is planning to get rid of this.
As of now,…
Your question seems too generic, how can you expect people to spend time when you generalize your question.
You should mention which version of Kite Connect API you are using and which version of Kite Connect client you are using and steps to repro…
You don't have to do this. You can just do whatever you are trying to do.
Let us say your script starts with fetching orderbook then you should go ahead and make the call. If it fails with 403 then it means your session is expired or else you will g…
@ankur0101,
It can only take alphanumeric characters of maximum length 8.
Are you sure you are not sending special characters and length of the string is not more than length 8?
Hi,
Check out thread to understand how live market data works.
It is not possible for any trading platform to capture all the ticks, quote data will be correct for liquid instruments but for illiquid instruments since there will be hardly few ticks.…
We use the same data for all our platforms. We haven't come across this.
I would suggest checking or profiling code at your end and make sure you are not blocking the main thread.
The new Kite Trade is more robust everything is strictly defined now.
Now all the requests are authenticated using authorization header. All POST requests are form requests and expect users to send params in the body.
Only GET and DELETE will have p…
The exchange lines were flappy because of which few clients were facing issues with bracket and cover order.
RMS team had to manually square off all the open positions.
The way it works is, getQuote receives data from Kite Ticker. Kite Ticker always caches the last received tick in order to serve data immediately when someone requests for it. We never clear cache in the Kite Ticker unless there is some maintenance …
@Amitesh,
OMS can also go down when things go wrong. There have been scenarios wherein exchange was not sending ticks during the market hours. Technical issues can happen because of thousands of reasons. You need to always make sure you handle all t…
We definitely don't recommend polling and we do calculate it in the same way as mentioned above.
For real-time calculation of m2m you can use websockets to fetch live last price and calculate at your end.
I am afraid we can't add the timestamp for p…
You need to make sure you have specified two modules of the project in your build settings and modify the configuration of the project to specify Test.java as the main file.
wait what you are polling positions to just get latest m2m. You can just calculate it at your end.
It is equal to P&L for intraday positions and (close price - last price) for overnight positions.
You check out the formula for calculating P&…
Hi @Ashok121,
The orderbook is cleared only when BOD/EOD process is run at OMS. The process will not run on Sunday and Monday and hence the orderbook won't be cleared till Tuesday.
It is just an alternative to Kite Ticker live market data. Some people just fetch live market data once in a minute or 5 minutes.
The Quote API response is same as Kite Ticker's FULL_MODE.
Hi @Amitesh,
It is not guaranteed that a minute candle will be available at the end of the minute or at the beginning of the next minute.
The way historical data service works is, it will capture all the ticks in a minute and then generate a candle…