Nifty shrugs off volatility to close above 24,300

AI-led global sell-off fails to dent sentiment