I’m trying to create 1d candles by grouping candles of lower timeframe and found that the data doesn’t match in some cases. Let me elaborate with an example.
I tried to do this for ENJTRY and found that the 1 day candle starting at 1640476800000 doesn’t match when I combined 24 1 hour candles. Upon closer inspection, I found that the 1hour candles with timestamp 1640559600000 has only a single trade with 4.69 total volume. When I looked at the 1min bars during this 1hour window, the total volume added upto 10331.42 , which is totally different.
Can someone explain the reason for this discrepancy ? Technically, we should be able to create 1day candles using 1 hour candles or 1min candles. Although this works in most cases, there are few odd ones like the above example where the values don’t match.