Regarding Auto strike selection in options buying

Dhan is providing the feature of webhook which is fantastic but in options BO & CO facility is not available. Following is my requirement on Dhan, kindly make it possible.
Can we generate the jason for call buy and put buy in continuous loop with previous position close in which system pick up auto strike by reference of ATM +1 or -1 as instructed with BO & CO.
please reply.

regards
Dr. Ashok K. Dhiman