PortfoliosLab logo
CGNX vs. DHI
Performance
Risk-Adjusted Performance
Dividends
Drawdowns
Volatility
Financials

Correlation

The correlation between CGNX and DHI is 0.46, which is considered to be moderate. This suggests that the two assets have some degree of positive relationship in their price movements. Moderate correlation can be acceptable for portfolio diversification, offering a balance between risk and potential returns.


Performance

CGNX vs. DHI - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Cognex Corporation (CGNX) and D.R. Horton, Inc. (DHI). The values are adjusted to include any dividend payments, if applicable.

Loading data...

Key characteristics

Sharpe Ratio

CGNX:

-0.82

DHI:

-0.52

Sortino Ratio

CGNX:

-0.91

DHI:

-0.63

Omega Ratio

CGNX:

0.86

DHI:

0.93

Calmar Ratio

CGNX:

-0.47

DHI:

-0.45

Martin Ratio

CGNX:

-1.21

DHI:

-0.84

Ulcer Index

CGNX:

29.08%

DHI:

22.04%

Daily Std Dev

CGNX:

44.05%

DHI:

34.20%

Max Drawdown

CGNX:

-83.71%

DHI:

-88.85%

Current Drawdown

CGNX:

-67.88%

DHI:

-37.55%

Fundamentals

Market Cap

CGNX:

$4.95B

DHI:

$38.04B

EPS

CGNX:

$0.69

DHI:

$13.19

PE Ratio

CGNX:

42.71

DHI:

9.25

PEG Ratio

CGNX:

1.85

DHI:

1.58

PS Ratio

CGNX:

5.38

DHI:

1.06

PB Ratio

CGNX:

3.30

DHI:

1.56

Total Revenue (TTM)

CGNX:

$919.75M

DHI:

$35.32B

Gross Profit (TTM)

CGNX:

$628.18M

DHI:

$9.01B

EBITDA (TTM)

CGNX:

$164.44M

DHI:

$5.55B

Returns By Period

In the year-to-date period, CGNX achieves a -17.62% return, which is significantly lower than DHI's -12.19% return. Over the past 10 years, CGNX has underperformed DHI with an annualized return of 2.92%, while DHI has yielded a comparatively higher 18.40% annualized return.


CGNX

YTD

-17.62%

1M

25.67%

6M

-31.02%

1Y

-36.01%

5Y*

-11.90%

10Y*

2.92%

DHI

YTD

-12.19%

1M

3.86%

6M

-27.09%

1Y

-17.80%

5Y*

21.52%

10Y*

18.40%

*Annualized

Compare stocks, funds, or ETFs

Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.


Risk-Adjusted Performance

CGNX vs. DHI — Risk-Adjusted Performance Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

CGNX
The Risk-Adjusted Performance Rank of CGNX is 1515
Overall Rank
The Sharpe Ratio Rank of CGNX is 1010
Sharpe Ratio Rank
The Sortino Ratio Rank of CGNX is 1414
Sortino Ratio Rank
The Omega Ratio Rank of CGNX is 1212
Omega Ratio Rank
The Calmar Ratio Rank of CGNX is 2121
Calmar Ratio Rank
The Martin Ratio Rank of CGNX is 1818
Martin Ratio Rank

DHI
The Risk-Adjusted Performance Rank of DHI is 2424
Overall Rank
The Sharpe Ratio Rank of DHI is 2323
Sharpe Ratio Rank
The Sortino Ratio Rank of DHI is 2121
Sortino Ratio Rank
The Omega Ratio Rank of DHI is 2323
Omega Ratio Rank
The Calmar Ratio Rank of DHI is 2222
Calmar Ratio Rank
The Martin Ratio Rank of DHI is 3333
Martin Ratio Rank
The risk-adjusted ranks indicate the investment's position relative to the market. A rank closer to 100 signifies top-performing investments, while a rank closer to 0 might suggest underperformance, based on the selected ratio. The values are calculated based on the past 12 months of returns.

CGNX vs. DHI - Risk-Adjusted Performance Comparison

This table presents a comparison of risk-adjusted performance metrics for Cognex Corporation (CGNX) and D.R. Horton, Inc. (DHI). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.


The current CGNX Sharpe Ratio is -0.82, which is lower than the DHI Sharpe Ratio of -0.52. The chart below compares the historical Sharpe Ratios of CGNX and DHI, offering insights into how both investments have performed under varying market conditions. These values are calculated using daily returns over the previous 12 months.


Loading data...

Dividends

CGNX vs. DHI - Dividend Comparison

CGNX's dividend yield for the trailing twelve months is around 1.05%, less than DHI's 1.23% yield.


TTM20242023202220212020201920182017201620152014
CGNX
Cognex Corporation
1.05%0.85%0.68%0.56%0.32%2.77%0.37%0.48%0.27%0.46%0.62%0.00%
DHI
D.R. Horton, Inc.
1.23%0.93%0.69%1.04%0.76%1.05%1.18%1.51%0.83%1.24%0.84%0.80%

Drawdowns

CGNX vs. DHI - Drawdown Comparison

The maximum CGNX drawdown since its inception was -83.71%, smaller than the maximum DHI drawdown of -88.85%. Use the drawdown chart below to compare losses from any high point for CGNX and DHI. For additional features, visit the drawdowns tool.


Loading data...

Volatility

CGNX vs. DHI - Volatility Comparison

Cognex Corporation (CGNX) has a higher volatility of 13.35% compared to D.R. Horton, Inc. (DHI) at 7.91%. This indicates that CGNX's price experiences larger fluctuations and is considered to be riskier than DHI based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading data...

Financials

CGNX vs. DHI - Financials Comparison

This section allows you to compare key financial metrics between Cognex Corporation and D.R. Horton, Inc.. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.


Quarterly
Annual

Total Revenue: Total amount of money received from sales and other business activities


0.002.00B4.00B6.00B8.00B10.00B20212022202320242025
216.04M
7.73B
(CGNX) Total Revenue
(DHI) Total Revenue
Values in USD except per share items

CGNX vs. DHI - Profitability Comparison

The chart below illustrates the profitability comparison between Cognex Corporation and D.R. Horton, Inc. over time, highlighting three key metrics: Gross Profit Margin, Operating Margin, and Net Profit Margin.

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

20.0%30.0%40.0%50.0%60.0%70.0%80.0%20212022202320242025
66.8%
24.6%
(CGNX) Gross Margin
(DHI) Gross Margin
CGNX - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on May 2025, Cognex Corporation reported a gross profit of 144.32M and revenue of 216.04M. Therefore, the gross margin over that period was 66.8%.

DHI - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on May 2025, D.R. Horton, Inc. reported a gross profit of 1.90B and revenue of 7.73B. Therefore, the gross margin over that period was 24.6%.

CGNX - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on May 2025, Cognex Corporation reported an operating income of 26.09M and revenue of 216.04M, resulting in an operating margin of 12.1%.

DHI - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on May 2025, D.R. Horton, Inc. reported an operating income of 1.06B and revenue of 7.73B, resulting in an operating margin of 13.7%.

CGNX - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on May 2025, Cognex Corporation reported a net income of 23.60M and revenue of 216.04M, resulting in a net margin of 10.9%.

DHI - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on May 2025, D.R. Horton, Inc. reported a net income of 810.40M and revenue of 7.73B, resulting in a net margin of 10.5%.