StockComparison Logo
vs

AG vs CGNX

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

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

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

AG vs CGNX - Performance Comparison

Key Characteristics

Financial metrics and valuation ratios

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

AG vs CGNX - Historical Returns

Returns include dividend reinvestment.

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

AG vs CGNX - Annual Returns (1999 - 2026)

Returns include dividend reinvestment.

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

AG vs CGNX Drawdown Comparison

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

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

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

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

Correlation

Correlation between AG and CGNX 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)

AG vs CGNX dividend yield comparison.

YearAGCGNX
20260.04%0.13%
20250.12%0.90%
20240.33%0.85%
20230.34%0.68%
20220.31%0.56%
20210.14%0.32%
20200.00%2.77%
20190.00%0.37%
20180.00%0.48%
20170.00%0.27%
20160.00%0.46%
20150.00%0.62%
20120.00%3.89%
20110.00%1.01%
20100.00%0.85%
20090.00%1.69%
20080.00%3.18%
20070.00%1.69%
20060.00%1.39%
20050.00%1.06%
20040.00%1.00%
20030.00%0.42%

Select Stocks to Compare