I want the optionchain contains contracts limited to within 1 strike above and below the underlying price. But each time the OnData is called, it seems that the list of contracts grows father and farther away from that limit. Is there a way to maintain that list to only within 1 strikes above and below the underlying price?

Thank you!