Historical API Unable to fetching data issue

Ninja2020
Dear Sir,

Below are RELIANCE price from Historic API.

I need only one candle data from 11.52 till 12.03. I dont know why 11.45 data fetched .

fromdate 2020-11-20 11:52:23
todate2 2020-11-20 12:03:23
interval 10minute
date open high low close volume
0 2020-11-20 11:45:00+05:30 1922.5 1922.75 1920.3 1921.6 63195
1 2020-11-20 11:55:00+05:30 1921.6 1929.00 1921.4 1925.0 289188

Thanks
  • rakeshr
    I dont know why 11.45 data fetched
    It's a 10minute candle from 10:45 to 10:55. As you have requested interval between 10:45 - 10:55 i.e 11:52:23 here.
    We form candle based on start time, i.e 1st 10-minute candle will be 09:15. Accordingly, it keeps forming the next 10minute candle, i.e ...,10:45, 10:55, etc.
    I need only one candle data from 11.52 till 12.03
    You need to form your personalized candle at your end using a 1minute candle. Something like, fetch 1minute candle from 11.52 till 12.03 and form 5minute, 10minute, etc candle at your end.
  • Ninja2020
    Thank you Sir for quick response .
This discussion has been closed.