"Closest" means the options with shortest lifetime at or above your minimum days, and from these the option with the smallest strike difference to your strike parameter.