get a range of transactions for dates