For example, I'm looking at the following US Treasury bonds ordered by decreasing yield to maturity (YTM) on Charles Schwab:
If I simply want to maximize the returns, assuming no default risk, should I just look at the YTM or do I have to do the math for each bondsbond to take into account the accrued interest?