The market’s resilience was further underscored by the continued interest in midcap and smallcap stocks, with both indices closing in the green