use sqlalchemy between syntax for get_daily_points