PairBook
HomeCGNX › CGNX vs DHX

CGNX vs DHX: Correlation

Cognex Corporation (CGNX) and DHI Group, Inc. (DHX) show a moderate relationship: their 3-year correlation of weekly returns is 0.35.

Data as of 2026-08-27 · refreshed every trading day · weekly returns · methodology

Correlation (3Y)
0.35
moderate
Correlation (1Y)
0.54
last 12 months
Correlation (5Y)
0.30
long-run
Ann. covariance
1081.2
%² · weekly, annualized

How correlated are CGNX and DHX?

On 3 years of weekly data the CGNX/DHX correlation comes out at 0.35, moderate. The link has tightened recently: the 1-year correlation (0.54) runs above the 3-year figure (0.35). The 5-year figure is 0.30, and annualized covariance runs at 1081.2 %².

Out of 16 assets tracked against CGNX, DHX lands near the bottom at #12. Over the last 12 months DHX came out ahead by 8.7 percentage points (+43.2% against +51.9%).

How is this computed?

Pearson correlation on weekly returns: ρ(A,B) = cov(rA, rB) / (σA · σB), over windows of 52, 156 and 260 weeks. Covariance is annualized (×52) and expressed in %². Full definitions on the methodology page.

CGNX vs DHX: side by side

CGNX (Cognex Corporation)DHX (DHI Group, Inc.)
1-year return+43.2%+51.9%
5-year return-27.4%-1.7%
Volatility (ann.)45.5%67.6%
Beta vs S&P 5001.270.82
Max drawdown (3Y)-55.7%-68.6%
Market cap$10.6B$0.2B
P/E (trailing)59.4136.7
Dividend yield0.54%0.00%
Sector / categoryUS ListedUS Listed
Lower P/E: CGNX 59.4 vs 136.7Higher yield: CGNX 0.54% vs 0.00%Smaller drawdown: CGNX -55.7% vs -68.6%Higher 5y return: DHX -1.7% vs -27.4%
-49%0%+52%2025-09-052026-08-27
Both assets over the last year, indexed to 100 at the starting week. CGNX · DHX

Year-by-year returns

YearCGNXDHX
2022-39.1%-15.2%
2023-10.8%-51.0%
2024-13.4%-31.7%
2025+1.2%-12.4%
2026+75.8%+164.5%

Calendar-year price returns; the current year is year-to-date as of the data date above.

Are CGNX and DHX good diversifiers for each other?

Reasonably. At 0.35, CGNX and DHX keep a meaningful degree of independence, and combining them has historically reduced portfolio volatility.

FAQ

What is the correlation between CGNX and DHX?

The CGNX/DHX correlation stands at 0.35 on a 3-year window (1 year: 0.54, 5 years: 0.30), computed from weekly returns as of 2026-08-27.

Is DHX a good diversifier for CGNX?

Reasonably. At 0.35, CGNX and DHX keep a meaningful degree of independence, and combining them has historically reduced portfolio volatility.

What does a correlation of 0.35 mean?

A reading of 0.35 sits on a scale from −1 (opposite moves) through 0 (unrelated) to +1 (identical moves). Correlation captures direction, not magnitude or performance.

Use this data

JSON API · no key required
$ curl https://www.pairbook.io/api/v1/pairs/cgnx-vs-dhx.json

CGNX vs DHX: 3-year weekly correlation 0.35CGNX vs DHX0.35

Embed this badge (it refreshes with the data), with attribution:

[![CGNX vs DHX correlation](https://www.pairbook.io/api/v1/badge/cgnx-vs-dhx.svg)](https://www.pairbook.io/pair/cgnx-vs-dhx/)

The core API is free. Terms and every endpoint in the API documentation.

Related comparisons

Hubs: CGNX correlations · DHX correlations