StockComparison Logo
vs

CGNX vs AG

Comparison between Cognex Corp (CGNX, Company) and First Majestic Silver Corporation (AG, Company).

CGNX is from the Technology sector, while AG is from the Basic Materials sector.

5-Year PerformanceAG has outperformed CGNX, delivering a return of +6.2% compared to -2.7%

CGNX vs AG - Performance Comparison

Key Characteristics

Financial metrics and valuation ratios

Market Cap
CGNX
$10B
Winner
AG
$10B
Max Drawdown
Winner
CGNX
85.19%
AG
90.20%
Sharpe Ratio
CGNX
1.68
Winner
AG
2.03
5Y Beta
CGNX
1.38
Winner
AG
1.32
Industry
CGNX
Scientific & Technical Instruments
AG
Silver
P/E Ratio
CGNX
91.17
Winner
AG
59.49
Forward P/E
CGNX
33.90
Winner
AG
18.12
PEG Ratio
CGNX
8.99
Winner
AG
0.00
Dividend Yield
Winner
CGNX
0.50%
AG
0.11%
5Y Dividends CAGR
CGNX
-29.08%
AG
N/A
5Y EPS CAGR
CGNX
-7.52%
Winner
AG
33.83%
Debt to Equity
Winner
CGNX
0.00%
AG
11.38%
Free Cash Flow Yield
CGNX
2.28%
Winner
AG
3.37%
P/S Ratio
CGNX
10.46
Winner
AG
8.32
P/B Ratio
CGNX
6.30
Winner
AG
3.47

CGNX vs AG - Historical Returns

Returns include dividend reinvestment.

1M
Winner
CGNX
+22.09%
AG
+4.54%
3M
Winner
CGNX
+50.41%
AG
-7.93%
6M
CGNX
+67.84%
Winner
AG
+91.72%
1Y
CGNX
+125.02%
Winner
AG
+297.54%
5Y(CAGR)
CGNX
-2.66%
Winner
AG
+6.21%
10Y(CAGR)
Winner
CGNX
+13.45%
AG
+8.96%
Max(CAGR)
Winner
CGNX
+9.54%
AG
+9.35%

CGNX vs AG - Annual Returns (1999 - 2026)

Returns include dividend reinvestment.

YearCGNXAG
2026+78.07%+36.15%
2025+1.71%+180.79%
2024-10.44%-7.92%
2023-12.34%-26.61%
2022-38.45%-23.42%
2021-2.77%-21.89%
2020+46.09%+9.98%
2019+45.84%+103.65%
2018-36.76%-18.42%
2017+93.98%-16.58%
2016+92.37%+123.10%
2015-16.87%-37.36%
2014+9.22%-51.96%
2013+98.75%-53.69%
2012+4.12%+14.46%
2011+19.53%+7.95%
2010+64.06%+254.15%
2009+19.35%+94.09%
2008-23.48%-62.37%
2007-15.44%+2.20%
2006-18.91%+7.18%
2005+12.82%N/A
2004-0.78%N/A
2003+47.96%N/A
2002-27.56%N/A
2001+33.87%N/A
2000-40.24%N/A
1999+29.44%N/A

CGNX vs AG Drawdown Comparison

The maximum drawdown for CGNX was -83.73%, occurring on Mar 9, 2009. Recovery took 3348 trading sessions.

The maximum drawdown for AG was -90.20%, occurring on Jan 19, 2016. Recovery took 3722 trading sessions.

The current CGNX drawdown is -27.83%. The current AG drawdown is -31.71%.

RankCGNXAG
#1-83.73%
Apr 7, 2000 - Aug 1, 2013
-90.20%
Apr 5, 2011 - Jan 23, 2026
#2-74.63%
Feb 12, 2021 - Apr 8, 2025
-87.80%
Mar 3, 2008 - Sep 20, 2010
#3-51.57%
Nov 21, 2017 - Nov 4, 2020
-46.53%
Feb 26, 2007 - Mar 3, 2008
#4-44.58%
Apr 13, 2015 - Sep 21, 2016
-42.92%
Feb 27, 2026 - Mar 20, 2026
#5-20.02%
Feb 13, 2014 - Jul 3, 2014
-32.76%
Jan 3, 2011 - Mar 1, 2011
#6-19.62%
Aug 22, 2014 - Feb 26, 2015
-22.80%
Jan 28, 2026 - Feb 20, 2026
#7-14.73%
Mar 9, 2000 - Mar 23, 2000
-17.70%
Mar 8, 2011 - Mar 21, 2011
#8-11.49%
Jun 8, 2017 - Aug 1, 2017
-16.03%
Nov 8, 2010 - Nov 22, 2010
#9-9.92%
Dec 31, 1999 - Jan 14, 2000
-15.35%
Jan 18, 2007 - Feb 16, 2007
#10-9.83%
Oct 29, 2013 - Nov 27, 2013
-15.18%
Oct 13, 2010 - Oct 29, 2010
#11-8.95%
Oct 24, 2016 - Nov 7, 2016
-12.71%
Dec 14, 2010 - Dec 29, 2010
#12-8.81%
Nov 22, 1999 - Dec 21, 1999
-10.11%
Jan 3, 2007 - Jan 12, 2007
#13-8.46%
Sep 10, 2013 - Oct 29, 2013
-9.53%
Dec 6, 2010 - Dec 14, 2010
#14-6.60%
Jan 21, 2000 - Feb 2, 2000
-7.61%
Nov 30, 2006 - Dec 15, 2006
#15-6.42%
Jan 14, 2021 - Feb 5, 2021
-4.00%
Nov 24, 2010 - Nov 30, 2010

Correlation

Correlation between CGNX and AG is 0.18 which considered as a very weak or no correlation - the stocks move independently of each other.

0.18
-101

Dividend Comparison (2003 - 2026)

CGNX vs AG dividend yield comparison.

YearCGNXAG
20260.13%0.04%
20250.90%0.12%
20240.85%0.33%
20230.68%0.34%
20220.56%0.31%
20210.32%0.14%
20202.77%0.00%
20190.37%0.00%
20180.48%0.00%
20170.27%0.00%
20160.46%0.00%
20150.62%0.00%
20123.89%0.00%
20111.01%0.00%
20100.85%0.00%
20091.69%0.00%
20083.18%0.00%
20071.69%0.00%
20061.39%0.00%
20051.06%0.00%
20041.00%0.00%
20030.42%0.00%

Select Stocks to Compare