Both in Computer Hardware

HP vs International Business Machines

Over the past year HPQ returned +6.6% and IBM returned −15.4%; their daily moves had a correlation of 0.31.

HPQ +6.6% IBM −15.4%Growth of $1, one year, split-adjusted
MetricHPQIBM
Price$28.78$257.81
Market cap$25.95B$243.66B
Today−9.58%−0.18%
1 month−10.5%+14.3%
6 months+38.2%+11.0%
Year to date+29.2%−13.0%
1 year+3.9%−16.4%
Revenue growth (YoY)+12.5%+4.7%
Gross margin18.8%56.8%
Net margin4.2%12.8%
P/E (TTM)10.6×21.8×
Price / sales0.4×3.5×
Net cash-$4.99B-$47.12B
Dividend yield4.17%2.62%
Volatility (60d)53.7%28.4%
Short % of float8.4%2.1%
Next earnings——

Shading marks the stronger figure where one clearly exists (lower is better for valuation and volatility).