refactor grid search move startdate & enddate in advanced