I would like to write a rule where if NIFTY touches a particular price - The system should go and buy either a call or put option as specified at market value.
Is this doable in PI ? For a lot of us who use options to trade but use NIFTY spot for analysis - this will help us automate the system .