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.
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. 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.