make daterange check inclusive
move get_timestep into separate function
add function for computing intervals
add stock transactions indicator