Create a straddle program in C++ for Bank Nifty (the stockbroker is Kotak Securities)

Job ID: 36930756

Budget: ₹1,500 – ₹12,500 INR

1 -> Straddle starting condition: (Time('NSE') >= Number('932')) or (Time('NSE') <= Number('1520')).

2 -> Straddle auto-selects strike prices as the market runs. If the market is at 43112, the strike prices auto-
round and select the Call position at 42900 and the PUT position at 43300, based on the auto-run and
selection process.

3 -> Straddle exit conditions: This trade's conditions are checked continuously at lightning speed.

-> The target is 50 Rs in PNL (Profit). If this target is achieved, the trade will be automatically
closed, and the next trade will be automatically selected.
-> If the PNL reaches loss (-300), the trade will be automatically closed, and a new trade will be
initiated.
-> Market time-based exit: If it is 3:28 PM, the program will automatically square off my position, and
the program will exit.