How to automate an options trade based on closest premium?

Is there a way to automate an options trading strategy in Zerodha that uses closest premium? For e.g., I want to select the strike price for a Put/Call option which has a premium closest to 100. I know Streak doesn’t seem to support this feature which is already available in other algo trading platforms like StockMock and AlgoTest.