Investors can still find discounts even as stocks climb to fresh all-time highs . Both the S & P 500 and the Dow Jones Industrial Average reach new records on Friday, surpassing previous highs notched just a day earlier. The two benchmarks were also on pace for strong weekly gains. A blowout earnings report from chipmaker Nvidia helped lift the broader market in the second-half of the week, especially the technology sector. However, the rise was fairly broad, with health care and industrial segments of the market also hitting record-high closes on Thursday. Despite the market rally, there are some relative bargains out there for investors. CNBC Pro screened FactSet data to scan for stocks that meet the following criteria: Shares trade at a discount relative to their sector and industry Shares have an upside to price target of at least 15% Stocks are up more than 5% in the past month Shares are a member of the S & P 500 American Airlines made the list. The stock has about 12% over the past month and nearly 11% from the start of the year. Despite the strong gain for the airline firm, shares are still reasonably priced compared to the wider industrials sector of the market. American Airlines stock currently trades at a forward price-to-earnings (P/E) multiple of 5.8 overall, slightly lower than the industry average. Only 48% of analysts polled by FactSet maintain a buy rating on the stock, but the average price target implies nearly 16% upside moving forward. AAL YTD mountain American Airlines stock. Citi upgraded American Airlines stock to buy from neutral last month, with analyst Stephen Trent pointing to the company’s effort to pay down debt and low capital expenditures as catalysts for strong growth in the post pandemic era. Exxon Mobil also made the list with shares rising more than 8% over the past month. Despite the gain, it trades at relative discounts to the energy sector and oil industry. Nearly 60% of analysts surveyed by FactSet have a buy rating on Exxon Mobil stock, with their price targets forecasting nearly 20% ahead. The company beat Wall Street earnings estimates for the fourth quarter earlier this month, even as lower oil prices dampened revenue. Looking forward, Exxon Mobil’s deal to purchase Pioneer Natural Resources is expected to close in the first half of 2024. Other names on the list include General Motors and CVS Health .