Django with Timescale DB

I want to use timescale db with Django ORM for calculate open, high, low, close of particular time duration. How to do this there is no function available as time_bucket (in raw sql) ?

Welcome @Aneesh-bulls !

You can create your own DB function definition. See Database functions in Django.