Retrieve Open price during 'Order entry session' i.e. during 9 am to 9:08 am?

TitanTrader
Hi,

My requirement is to get/track the live open price data from 9 am to 9:08 am which is the pre-market order entry session. I also want for both NSE and BSE exchange (tracking both open price during this session timeframe).

Will ohlc.open retrieve Open price during 'Order entry session' i.e. during 9 am to 9:08 am? or does last_price does it?
Reference: https://kite.trade/docs/connect/v3/market-quotes/#retrieving-ohlc-quotes

Can you please help?
  • Arockiya_r
    Arockiya_r edited October 11
    LTP will display the previous close until the open price is determined. "ohlc.open" function will retrieve the day's open price once the order matching period is completed, typically between 9:07 to 9:08.
  • TitanTrader
    Just like in Kite GUI, the open price shown during 9.00 to 9.08 is the live matching price and is constantly changing during this order matching period, I wanted to fetch this same changing value during this order matching period. Is there something which can fulfil my this requirement?
  • sujith
    Only order collection happens from 09:00 AM to 09:07 AM, and when an equilibrium price is achieved at 09:08 AM, an LTP is published. The behavior on Kite web and Websocket API are same.
  • TitanTrader
    I very well understand the timings. I'm not sure why my question is so difficult to get. What i want is during the order collection period 9 to 9.7, we see the open price in GUI based on which we place the bid to buy or short the stock at open price during this period. i want to retrieve this open price value (which we see in GUI) during this order collection period (9 to 9.7). This is the requirement. I am asking what variable or parameter should i put in code to retrieve this open price (which is fluctuating) during this period. If you need further examples and clarifications to understand my query, please let me know.
  • sujith
    You need to use the open price of the Websocket API response.
Sign In or Register to comment.