I am willing to collect candle price stock data on specific time intervals using timescaledb continous aggregations, such as 37 minutes and my intervals will start every day at 00:00.
So for example, I am willing to have an interval starts each day at 00:00, 00:37, 01:14... until 23:26, and then start all over from 00:00, 008:37... and so forth until 23:26 again. So a data for example will be:
06/09 00:00 interval candle
06/09 00:37 interval candle
06/09 01:14 interval candle
...
06/09 23:26 interval candle
07/09 00:00 interval candle
07/09 00:37 interval candle
...
And so on
Of course that I would like to make them at the same view and not create every day a new hyper table for this.
How can i make this up using timescaledb?
I have looked it up at the docs and wasn't sure what should I use... Is it refresh policies? Origin?
Of course I can use bucket of 37 minutes, but my problem starts after the first day. The last candle of the day will be at 23:26 and the following candle afterwards will be at 00:03 instead of 00:00 and I will lose sync
Thank you very much, your help is super appreciated!