Scan the stocks in the Nifty 50 universe and identify potential buying opportunities, the following steps can be taken:
- At 3:25 PM, retrieve the current stock prices for all the companies listed in the Nifty 50 index.
- Compare the current stock prices to the prices from the Today's open.
- Identify any stocks that have moved by 5% or more in poisitve direction.
- For any stocks that meet this criteria, consider them as potential buying opportunities.
- Buy the stocks that met the criteria at the current market price.
- Next day morning at 9:15 AM, Sell the stocks that you have bought the previous day.