Got $5,000? 2 Tech Stocks to Buy and Hold for the Long Term

If you are looking to invest $5,000 right now, consider high-flying growth stocks such as Datadog and Magnet Forensics.

| More on:
A worker uses the cloud for paperless work. tech

Source: Getty Images

You’re reading a free article with opinions that may differ from The Motley Fool’s premium investing services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More

Equity investors have experienced volatility in the technology sector since the start of 2022. Several tech stocks are trading significantly below all-time highs, with the Nasdaq Composite index falling more than 20% in the past year. But it also means you can buy quality, beaten-down tech stocks that have the potential to derive exponential gains in the upcoming decade.

If you have $5,000 to invest right now with a long-term horizon, you can split the cash and buy shares of Datadog (NASDAQ:DDOG) and Magnet Forensics (TSX:MAGT) in March 2023. Here’s why.

Datadog stock

One of the fastest-growing tech stocks in the world, Datadog increased sales by 44% year over year to US$469 million in the fourth quarter (Q4) of 2022. It ended the December quarter with 23,300 customers compared to 18,800 at the end of 2021.

Created with Highcharts 11.4.3Datadog PriceZoom1M3M6MYTD1Y5Y10YALL8 Mar 20218 Mar 2023Zoom ▾Apr '21Jul '21Oct '21Jan '22Apr '22Jul '22Oct '22Jan '23Jul '21Jul '21Jan '22Jan '22Jul '22Jul '22Jan '23Jan '23www.fool.ca

Datadog stated around 2,780 customers generate annual recurring revenue (ARR) of at least US$100,000, up from 2,010 customers in the year-ago period. These customers accounted for 85% of the total ARR. Further, 317 customers generated an ARR of more than US$1 million compared to 216 customers in the prior-year quarter.

Datadog reported a free cash flow of US$96 million in Q4, indicating a margin of 21%. Its dollar-based net retention rate stood at more than 130% on the back of increased customer usage and higher product adoption. It suggests existing customers increased spending on the Datadog platform by 30%.

Due to a challenging macro-environment, Datadog observed slower usage growth among existing customers in Q4 compared to the first nine months of 2023 due to lower enterprise spending.

Datadog stock is currently valued at a market cap of US$24 billion. Down 62% from all-time highs, DDOG stock is priced at 11 times forward sales and 68 times forward earnings, which is quite steep.

However, Datadog is forecast to increase earnings by more than 33% annually in the next five years. Comparatively, its sales are forecast to surge from US$1.68 billion in 2022 to US$2.69 billion in 2024.

Given consensus price target estimates, Datadog stock is priced at a discount of almost 40%.

Magnet Forensics stock

A Canadian company operating in the cybersecurity vertical, Magnet Forensics equips enterprises with tools to investigate digital crimes and online attacks. It develops digital investigation software that acquires and manages evidence from several digital sources such as smartphones, Internet of Things devices, and computers.

Magnet Forensics has forecast its total addressable market to grow from US$173 billion in 2020 to US$270 billion in 2026.

Magnet’s portfolio of solutions is currently used by more than 4,000 law enforcement, military, and natural security agencies, in addition to several other public and private sector organizations across 100 countries. Moreover, around 150 of the Fortune 1000 companies are Magnet’s customers.

Magnet Forensics has increased sales from US$38.65 million in 2019 to US$89 million in the last 12 months. Analysts forecast the company’s sales to rise to US$132 million in 2022 and US$172 million in 2023.

So, MAGT stock is priced at 10.5 times forward sales, which is quite elevated. But the company’s stellar revenue growth, widening base of enterprise customers, and improving profit margins make it a top bet for long-term investors.

Should you invest $1,000 in Delta Air Lines, Inc. right now?

Before you buy stock in Delta Air Lines, Inc., consider this:

The Motley Fool Stock Advisor Canada analyst team just identified what they believe are the Top Stocks for 2025 and Beyond for investors to buy now… and Delta Air Lines, Inc. wasn’t one of them. The Top Stocks that made the cut could potentially produce monster returns in the coming years.

Consider MercadoLibre, which we first recommended on January 8, 2014 ... if you invested $1,000 in the “eBay of Latin America” at the time of our recommendation, you’d have $21,345.77!*

Stock Advisor Canada provides investors with an easy-to-follow blueprint for success, including guidance on building a portfolio, regular updates from analysts, and two new stock picks each month – one from Canada and one from the U.S. The Stock Advisor Canada service has outperformed the return of S&P/TSX Composite Index by 24 percentage points since 2013*.

See the Top Stocks * Returns as of 4/21/25

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium service or advisor. We’re Motley! Questioning an investing thesis — even one of our own — helps us all think critically about investing and make decisions that help us become smarter, happier, and richer, so we sometimes publish articles that may not be in line with recommendations, rankings or other content.

Fool contributor Aditya Raghunath has no position in any of the stocks mentioned. The Motley Fool recommends Datadog. The Motley Fool has a disclosure policy.

Confidently Navigate Market Volatility: Claim Your Free Report!

Feeling uneasy about the ups and downs of the stock market lately? You’re not alone. At The Motley Fool Canada, we get it — and we’re here to help. We’ve crafted an essential guide designed to help you through these uncertain times: "5-Step Checklist: How to Prepare Your Portfolio for Volatility."

Don't miss out on this opportunity for peace of mind. Just click below to learn how to receive your complimentary report today!

Get Our Free Report Today

More on Tech Stocks

data analyze research
Tech Stocks

Is BlackBerry (TSX:BB) a Buy in May 2025?

While its recent downturn might not look pretty, it might be the best opportunity to buy BlackBerry (TSX:BB) stock and…

Read more »

cloud computing
Tech Stocks

How I’d Allocate $14,000 in Tech Stocks in Today’s Market

These top tech stocks are perfect choices for investors looking for stable income, all from strong and growing industries.

Read more »

how to save money
Tech Stocks

If I Could Only Buy and Hold a Single Tech Stock, This Would Be it

Do you want long-term income? This tech stock is just getting started.

Read more »

Happy shoppers look at a cellphone.
Tech Stocks

Is Shopify (TSX:SHOP) a Screaming Buy Right Now?

Here’s why this e-commerce giant might be an excellent investment in the current market environment amid all the uncertainty.

Read more »

dividends can compound over time
Tech Stocks

Where I’d Put $10,000 in My TFSA for Long-Term Performance

Investors usually won't look to tech stocks for long-term investing, but in the case of this one they should!

Read more »

A microchip in a circuit board powers artificial intelligence.
Tech Stocks

Leading Canadian AI Contenders Every Tech Investor Should Consider

Smart tech investors might want to buy these two top Canadian AI stocks now and hold them for years to…

Read more »

A shopper makes purchases from an online store.
Tech Stocks

Shopify Stock Below $130: A Potential TFSA Accelerator for Tax-Free Capital Gains

Shopify stock has stabilized, and now it's looking like a strong top choice for investors.

Read more »

stocks climbing green bull market
Tech Stocks

Where I’d Invest $7,500 in These Top Undervalued Stocks With Potential for Appreciation

Investing in undervalued TSX stocks such as Electrovaya should help you deliver outsized gains in 2025 and beyond.

Read more »