close trades early if they would end outside of the designted trading window