President Trump's bellicose talk may give diplomats and editorial writers jitters, but it's been very good for defense and aerospace stocks like Lockheed Martin Corp., Raytheon Co., and Northrup Grumman Corp.

Ahead of Trump's speech on Afghanistan Monday evening, the SPDR S&P Aerospace & Defense ETF (XAR) - Get Report , had risen 26% since the close on election day. That compares with a 13.5% gain for the S&P 500 index.

Trump's proposals for a big expansion of defense spending and the confrontation with North Korea over its nuclear weapons development have both spurred shares in the intervening months.

Raytheon (RTN) - Get Report has led the gains among big defense contractors, gaining more than $40, or 29%, since the election to $176.74 at Monday's close.

Lockheed Martin (LMT) - Get Report is up nearly $63, or 26%, over the same period. It closed Monday at $301.88.

Northrup Grumman  (NOC) - Get Report has added nearly $38, or 16% since Trump's surprise victory. It ended Monday at $267.70. 

Image placeholder title

XAR data by YCharts

More of What's Trending on TheStreet: