Place order based on CMP

Cybil
I am working on an option strategy where the order will be placed depending on the CMP of banknifty. So how do we get the ATM CE/PE instrument token of a particular NFO depending on the strike price of BNF. Some help would be appreciated
This discussion has been closed.