simple dtr system to fetch data from range of dates