NEW YORK (TheStreet) -- With many big banks reporting earnings last week, we decided to check Quant Ratings to see if there were any stocks in the sector worth investing in.

Citigroup's  (C - Get Report) earnings beat expectations on account of lower legal expenses, a one-time benefit. On the other hand, Goldman Sachs'  (GS - Get Report) earnings came in below expectations because of higher legal expenses. However, Citigroup and Goldman Sachs both beat analyst revenue expectations, which is a bullish sign for bank stocks, and that should be the narrative through 2016, as the economy seems to be percolating as evidenced by the record housing starts reported last week (that's especially good news for banks, which make money from mortgage loans).

If the Federal Reserve raises interest rates, that will be another tailwind for big banks, as it means they can make more money on the loans they originate.

So, what are the best bank stocks investors should be buying? Here are the top four, according to TheStreet Ratings,TheStreet's proprietary ratings tool.

TheStreet Ratings projects a stock's total return potential over a 12-month period including both price appreciation and dividends. Based on 32 major data points, TheStreet Ratings uses a quantitative approach to rating over 4,300 stocks to predict return potential for the next year. The model is both objective, using elements such as volatility of past operating revenues, financial strength, and company cash flows, and subjective, including expected equities market returns, future interest rates, implied industry outlook and forecasted company earnings.

Buying an S&P 500 stock that TheStreet Ratings rated a buy yielded a 16.56% return in 2014 beating the S&P 500 Total Return Index by 304 basis points. Buying a Russell 2000 stock that TheStreet Ratings rated a buy yielded a 9.5% return in 2014, beating the Russell 2000 index, including dividends reinvested, by 460 basis points last year.

Check out which companies made the list. And when you're done, be sure to read about which exchanges to buy now. Year-to-date returns are based on July 17, 2015, closing prices. The highest-rated stock appears last.

SCHW ChartSCHW data by YCharts
4. Charles Schwab Corporation (SCHW - Get Report)

Rating: Buy, B+
Market Cap: $45.7 billion
Year-to-date return: 15.2%

The Charles Schwab Corporation, through its subsidiaries, provides wealth management, securities brokerage, banking, money management, and financial advisory services. The company operates through two segments, Investor Services and Advisor Services.

"We rate SCHWAB (CHARLES) CORP (SCHW) a BUY. This is driven by some important positives, which we believe should have a greater impact than any weaknesses, and should give investors a better performance opportunity than most stocks we cover. The company's strengths can be seen in multiple areas, such as its revenue growth, expanding profit margins and solid stock price performance. We feel its strengths outweigh the fact that the company has had sub par growth in net income."

Highlights from the analysis by TheStreet Ratings Team goes as follows:

  • Despite its growing revenue, the company underperformed as compared with the industry average of 5.9%. Since the same quarter one year prior, revenues slightly increased by 3.0%. This growth in revenue does not appear to have trickled down to the company's bottom line, displayed by a decline in earnings per share.
  • SCHWAB (CHARLES) CORP's earnings per share declined by 8.3% in the most recent quarter compared to the same quarter a year ago. This company has reported somewhat volatile earnings recently. But, we feel it is poised for EPS growth in the coming year. During the past fiscal year, SCHWAB (CHARLES) CORP increased its bottom line by earning $0.96 versus $0.78 in the prior year. This year, the market expects an improvement in earnings ($1.04 versus $0.96).
  • 35.98% is the gross profit margin for SCHWAB (CHARLES) CORP which we consider to be strong. Regardless of SCHW's high profit margin, it has managed to decrease from the same period last year. Despite the mixed results of the gross profit margin, the net profit margin of 19.47% trails the industry average.
  • Looking at where the stock is today compared to one year ago, we find that it is not only higher, but it has also clearly outperformed the rise in the S&P 500 over the same period, despite the company's weak earnings results. Looking ahead, the stock's rise over the last year has already helped drive it to a level which is relatively expensive compared to the rest of its industry. We feel, however, that the other strengths this company displays justify these higher price levels.
  • Net operating cash flow has significantly decreased to -$1,305.00 million or 1991.30% when compared to the same quarter last year. In addition, when comparing to the industry average, the firm's growth rate is much lower.

AMTD ChartAMTD data by YCharts
3. TD Ameritrade Holding Corporation (AMTD - Get Report)

Rating: Buy, A-
Market Cap: $21 billion
Year-to-date return: 7.6%

TD Ameritrade Holding Corporation provides securities brokerage services and related technology-based financial services to retail investors, traders, and independent registered investment advisors (RIAs) in the United States.

"We rate TD AMERITRADE HOLDING CORP (AMTD) a BUY. This is based on the convergence of positive investment measures, which should help this stock outperform the majority of stocks that we rate. The company's strengths can be seen in multiple areas, such as its expanding profit margins, notable return on equity and solid stock price performance. We feel its strengths outweigh the fact that the company has had sub par growth in net income."

Highlights from the analysis by TheStreet Ratings Team goes as follows:

  • TD AMERITRADE HOLDING CORP reported flat earnings per share in the most recent quarter. This company has reported somewhat volatile earnings recently. But, we feel it is poised for EPS growth in the coming year. During the past fiscal year, TD AMERITRADE HOLDING CORP increased its bottom line by earning $1.42 versus $1.22 in the prior year. This year, the market expects an improvement in earnings ($1.48 versus $1.42).
  • 42.47% is the gross profit margin for TD AMERITRADE HOLDING CORP which we consider to be strong. Regardless of AMTD's high profit margin, it has managed to decrease from the same period last year. Despite the mixed results of the gross profit margin, AMTD's net profit margin of 23.66% compares favorably to the industry average.
  • AMTD, with its decline in revenue, slightly underperformed the industry average of 5.9%. Since the same quarter one year prior, revenues slightly dropped by 1.5%. Weakness in the company's revenue seems to not be hurting the bottom line, shown by stable earnings per share.
  • The company's current return on equity has slightly decreased from the same quarter one year prior. This implies a minor weakness in the organization. Compared to other companies in the Capital Markets industry and the overall market, TD AMERITRADE HOLDING CORP's return on equity exceeds that of both the industry average and the S&P 500.
  • Looking at where the stock is today compared to one year ago, we find that it is not only higher, but it has also clearly outperformed the rise in the S&P 500 over the same period, despite the company's weak earnings results. Looking ahead, the stock's rise over the last year has already helped drive it to a level which is relatively expensive compared to the rest of its industry. We feel, however, that the other strengths this company displays justify these higher price levels.

GS ChartGS data by YCharts
2. Goldman Sachs Group, Inc. (GS - Get Report)

Rating: Buy, A-
Market Cap: $91.8 billion
Year-to-date return: 9.6%

The Goldman Sachs Group, Inc. operates as an investment banking, securities, and investment management company worldwide. The company operates through four segments: Investment Banking, Institutional Client Services, Investing & Lending, and Investment Management.

"We rate GOLDMAN SACHS GROUP INC (GS) a BUY. This is based on the convergence of positive investment measures, which should help this stock outperform the majority of stocks that we rate. The company's strengths can be seen in multiple areas, such as its revenue growth, solid stock price performance, impressive record of earnings per share growth, compelling growth in net income and attractive valuation levels. Although the company may harbor some minor weaknesses, we feel they are unlikely to have a significant impact on results."

Highlights from the analysis by TheStreet Ratings Team goes as follows:

  • GS's revenue growth has slightly outpaced the industry average of 5.9%. Since the same quarter one year prior, revenues slightly increased by 8.0%. Growth in the company's revenue appears to have helped boost the earnings per share.
  • Looking at where the stock is today compared to one year ago, we find that it is not only higher, but it has also clearly outperformed the rise in the S&P 500 over the same period. Although other factors naturally played a role, the company's strong earnings growth was key. Turning our attention to the future direction of the stock, it goes without saying that even the best stocks can fall in an overall down market. However, in any other environment, this stock still has good upside potential despite the fact that it has already risen in the past year.
  • GOLDMAN SACHS GROUP INC has improved earnings per share by 47.8% in the most recent quarter compared to the same quarter a year ago. The company has demonstrated a pattern of positive earnings per share growth over the past two years. We feel that this trend should continue. During the past fiscal year, GOLDMAN SACHS GROUP INC increased its bottom line by earning $17.07 versus $15.47 in the prior year. This year, the market expects an improvement in earnings ($19.27 versus $17.07).
  • The company, on the basis of net income growth from the same quarter one year ago, has significantly outperformed against the S&P 500 and exceeded that of the Capital Markets industry average. The net income increased by 39.9% when compared to the same quarter one year prior, rising from $2,033.00 million to $2,844.00 million.

RJF ChartRJF data by YCharts
1. Raymond James Financial, Inc. (RJF - Get Report)

Rating: Buy, A+
Market Cap: $8.8 billion
Year-to-date return: 6.3%

Raymond James Financial, Inc., a financial holding company, through its subsidiaries, engages in the underwriting, distribution, trading, and brokerage of equity and debt securities, as well as the sale of mutual funds and other investment products in the United States, Canada, and Europe.

"We rate RAYMOND JAMES FINANCIAL CORP (RJF) a BUY. This is based on the convergence of positive investment measures, which should help this stock outperform the majority of stocks that we rate. The company's strengths can be seen in multiple areas, such as its revenue growth, solid stock price performance, growth in earnings per share, reasonable valuation levels and good cash flow from operations. We feel its strengths outweigh the fact that the company shows low profit margins."

Highlights from the analysis by TheStreet Ratings Team goes as follows:

  • RJF's revenue growth has slightly outpaced the industry average of 5.9%. Since the same quarter one year prior, revenues slightly increased by 9.0%. This growth in revenue appears to have trickled down to the company's bottom line, improving the earnings per share.
  • The stock has not only risen over the past year, it has done so at a faster pace than the S&P 500, reflecting the earnings growth and other positive factors similar to those we have cited here. Turning our attention to the future direction of the stock, it goes without saying that even the best stocks can fall in an overall down market. However, in any other environment, this stock still has good upside potential despite the fact that it has already risen in the past year.
  • RAYMOND JAMES FINANCIAL CORP has improved earnings per share by 6.9% in the most recent quarter compared to the same quarter a year ago. The company has demonstrated a pattern of positive earnings per share growth over the past two years. We feel that this trend should continue. During the past fiscal year, RAYMOND JAMES FINANCIAL CORP increased its bottom line by earning $3.32 versus $2.58 in the prior year. This year, the market expects an improvement in earnings ($3.52 versus $3.32).
  • Net operating cash flow has increased to $141.04 million or 20.98% when compared to the same quarter last year. Despite an increase in cash flow of 20.98%, RAYMOND JAMES FINANCIAL CORP is still growing at a significantly lower rate than the industry average of 187.83%.