Stock transactions indicator

@emord 
I think it's slightly different use cases - ```daterange``` is for getting a list of dates, and ```intervals``` is for getting a list of intervals that collectively exhaust the interval [```start_date```, ```end_date```]