Just want a clarification regarding how historical API treats the 'from' and 'to' params passed to it.
e.g. I want one 5minute candle for an instrument for say, 9:40am. I pass in the time components for the from and to dates (both dates will be same which is today) as 9:40 (from) and 9:45 (to).
If I call this at 9:46, the interval being 5minute, how many candles would I get from the historical API? One candle with 9:40 timestamp or two candles with 9:40 and 9:45 timestamps? Will the results be different if I call the same at 9:51?