PortfoliosLab logoPortfoliosLab logo
CGNX vs. XYZ
Performance
Return for Risk
Dividends
Drawdowns
Volatility
Financials

Performance

CGNX vs. XYZ - Performance Comparison

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

Loading graphics...

CGNX vs. XYZ - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
CGNX
Cognex Corporation
37.34%1.24%-13.45%-10.84%-39.11%-2.85%47.69%45.54%-36.53%92.91%
XYZ
Block, Inc
-8.53%-23.41%9.88%23.09%-61.09%-25.79%247.89%11.54%61.78%154.37%

Fundamentals

Market Cap

CGNX:

$8.33B

XYZ:

$37.08B

EPS

CGNX:

$0.68

XYZ:

-$0.00

PS Ratio

CGNX:

8.38

XYZ:

1.53

PB Ratio

CGNX:

5.59

XYZ:

1.67

Total Revenue (TTM)

CGNX:

$994.36M

XYZ:

$24.19B

Gross Profit (TTM)

CGNX:

$665.39M

XYZ:

-$39.00K

EBITDA (TTM)

CGNX:

$191.13M

XYZ:

$1.59B

Returns By Period

In the year-to-date period, CGNX achieves a 37.34% return, which is significantly higher than XYZ's -8.53% return. Over the past 10 years, CGNX has underperformed XYZ with an annualized return of 10.55%, while XYZ has yielded a comparatively higher 15.40% annualized return.


CGNX

1D
0.71%
1M
-8.34%
YTD
37.34%
6M
8.06%
1Y
65.74%
3Y*
0.62%
5Y*
-9.59%
10Y*
10.55%

XYZ

1D
-1.06%
1M
-7.62%
YTD
-8.53%
6M
-18.88%
1Y
7.45%
3Y*
-4.63%
5Y*
-23.65%
10Y*
15.40%
*Multi-year figures are annualized to reflect compound growth (CAGR)

Compare stocks, funds, or ETFs

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


Return for Risk

CGNX vs. XYZ — Risk / Return Rank

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

CGNX
CGNX Risk / Return Rank: 7878
Overall Rank
CGNX Sharpe Ratio Rank: 7575
Sharpe Ratio Rank
CGNX Sortino Ratio Rank: 7979
Sortino Ratio Rank
CGNX Omega Ratio Rank: 8080
Omega Ratio Rank
CGNX Calmar Ratio Rank: 8080
Calmar Ratio Rank
CGNX Martin Ratio Rank: 7676
Martin Ratio Rank

XYZ
XYZ Risk / Return Rank: 4545
Overall Rank
XYZ Sharpe Ratio Rank: 4545
Sharpe Ratio Rank
XYZ Sortino Ratio Rank: 4343
Sortino Ratio Rank
XYZ Omega Ratio Rank: 4444
Omega Ratio Rank
XYZ Calmar Ratio Rank: 4747
Calmar Ratio Rank
XYZ Martin Ratio Rank: 4747
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

CGNX vs. XYZ - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Cognex Corporation (CGNX) and Block, Inc (XYZ). 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.


CGNXXYZDifference

Sharpe ratio

Return per unit of total volatility

1.09

0.14

+0.95

Sortino ratio

Return per unit of downside risk

2.10

0.57

+1.53

Omega ratio

Gain probability vs. loss probability

1.29

1.08

+0.21

Calmar ratio

Return relative to maximum drawdown

2.40

0.24

+2.15

Martin ratio

Return relative to average drawdown

5.07

0.59

+4.47

CGNX vs. XYZ - Sharpe Ratio Comparison

The current CGNX Sharpe Ratio is 1.09, which is higher than the XYZ Sharpe Ratio of 0.14. The chart below compares the historical Sharpe Ratios of CGNX and XYZ, 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 graphics...

Sharpe Ratios by Period


CGNXXYZDifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

1.09

0.14

+0.95

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

-0.22

-0.39

+0.17

Sharpe Ratio (10Y)

Calculated over the trailing 10-year period

0.25

0.27

-0.02

Sharpe Ratio (All Time)

Calculated using the full available price history

0.26

0.28

-0.01

Correlation

The correlation between CGNX and XYZ is 0.45, 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.


Dividends

CGNX vs. XYZ - Dividend Comparison

CGNX's dividend yield for the trailing twelve months is around 0.67%, while XYZ has not paid dividends to shareholders.


TTM20252024202320222021202020192018201720162015
CGNX
Cognex Corporation
0.67%0.90%0.85%0.68%0.56%0.32%2.77%0.37%0.48%0.27%0.46%0.62%
XYZ
Block, Inc
0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%

Drawdowns

CGNX vs. XYZ - Drawdown Comparison

The maximum CGNX drawdown since its inception was -83.71%, roughly equal to the maximum XYZ drawdown of -86.08%. Use the drawdown chart below to compare losses from any high point for CGNX and XYZ.


Loading graphics...

Drawdown Indicators


CGNXXYZDifference

Max Drawdown

Largest peak-to-trough decline

-83.71%

-86.08%

+2.37%

Max Drawdown (1Y)

Largest decline over 1 year

-27.86%

-39.48%

+11.62%

Max Drawdown (5Y)

Largest decline over 5 years

-74.07%

-86.08%

+12.01%

Max Drawdown (10Y)

Largest decline over 10 years

-74.63%

-86.08%

+11.45%

Current Drawdown

Current decline from peak

-45.78%

-78.87%

+33.09%

Average Drawdown

Average peak-to-trough decline

-37.53%

-40.41%

+2.88%

Ulcer Index

Depth and duration of drawdowns from previous peaks

13.17%

16.22%

-3.05%

Volatility

CGNX vs. XYZ - Volatility Comparison

Cognex Corporation (CGNX) and Block, Inc (XYZ) have volatilities of 13.36% and 13.91%, respectively, indicating that both stocks experience similar levels of price fluctuations. This suggests that the risk associated with both stocks, as measured by volatility, is nearly the same. The chart below showcases a comparison of their rolling one-month volatility.


Loading graphics...

Volatility by Period


CGNXXYZDifference

Volatility (1M)

Calculated over the trailing 1-month period

13.36%

13.91%

-0.55%

Volatility (6M)

Calculated over the trailing 6-month period

45.30%

37.25%

+8.05%

Volatility (1Y)

Calculated over the trailing 1-year period

60.50%

54.21%

+6.29%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

43.02%

60.19%

-17.17%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

41.89%

57.13%

-15.24%

Financials

CGNX vs. XYZ - Financials Comparison

This section allows you to compare key financial metrics between Cognex Corporation and Block, 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.001.00B2.00B3.00B4.00B5.00B6.00B20212022202320242025
252.34M
6.25B
(CGNX) Total Revenue
(XYZ) Total Revenue
Values in USD except per share items