Historical API-'open' price for daywise data different than 'open' price for minutewise data at 9:15

naz
naz edited April 2018 in General
@sujith
For a lot of instruments, i was looking at OHLC data at 9:15 am (collected with interval = 'minute') and OHLC data collected with interval ='day'). Shouldn't the two should be same for the same day? Historical data API is giving different values.
Example Below for Bajaj Finance:

Daywise data shows open price to be 1931
date close high low open volume
4/13/2018 1914.35 1948.85 1907.6 1931 592886

While Minute wise Data for the same day shows day's open price to be - 1932.70
close high low open volume
date
2018-04-13 09:15:00 1942.00 1944.75 1932.70 1932.70 14039
2018-04-13 09:16:00 1946.40 1948.25 1942.65 1942.65 5809
2018-04-13 09:17:00 1946.80 1948.40 1945.30 1946.40 9303
2018-04-13 09:18:00 1944.00 1946.40 1943.00 1945.00 4293
2018-04-13 09:19:00 1943.45 1945.00 1940.60 1943.00 3984


Just wanted to confirm as to what am I missing here.
  • Matti
    @naz
    For equity instruments, the day candle's OHLC may not match the 9:15 candle. You see, for equity scrips, there is a pre-market session where one trade happens. This may not be at the same price as the trade at 9:15, as such, the day's open and the open of the first candle need not be same. There's nothing wrong with this.
  • naz
    So, day candle's "open" is the price at which pre-market session trade happen ? And 9:15 minute candle's "open" is the first trade which happen at 9:15:00 am as soon as the market session starts ?

    Please let me know if this is the correct understanding.
  • Matti
    That's right.
  • naz
    Thanks for the clarification. This can be closed.
This discussion has been closed.