added pre-ranging of dates on portfolios