NEW YORK ( TheStreet) -- As the National Basketball Association finals between the Miami Heat and the San Antonio Spurs continue, TheStreet's Jim Cramer and "Mad Money" Research Director Nicole Urken compared two companies, one from each team's city.

The choices? Valero ( VLO) from San Antonio against Burger King ( BKW) from Miami.

Valero, a standout in the oil refining industry, slightly edged out Burger King in both their minds. While Burger King has solid growth among its peer group, Valero appears to have more upside potential because the burger chain has already seen a large run up in its stock this year.

Urken pointed out that upside potential was really the only way to compare the two companies since margins, sales and most other metrics would mean very little due to the companies being so different from one another.

Cramer suggested that funds pick their stocks the same way. They do not pick stocks like Valero simply because they are looking for a refinery. They pick Valero because it has perceived value and justified upside potential.

He concluded that it's important for investors to know why stocks trade the way they do and why people pick certain companies over others.

-- Written by Bret Kenwell in Petoskey, Mich.

Bret Kenwell currently writes, blogs and also contributes to Rocco Pendola's Weekly Options Newsletter. Focuses on short- to intermediate-term trading opportunities that can be exposed via options. He prefers to use debit trades on momentum setups and credit trades on support/resistance setups. He also focuses on building long-term wealth by searching for consistent, quality dividend paying companies and long-term growth companies. He considers himself the surfer, not the wave, in relation to the market and himself. He has no allegiance to either the bull side or the bear side.

If you liked this article you might like

Trump's War of Words With North Korea's Kim Jong Un to Crater Stocks?

Why Defense Stocks Might Soon Crater Your Portfolio: Market Recon

Rebuilding Efforts From Hurricanes Harvey and Irma Make These 6 Stocks Must Buys

Macquarie: Refineries Returning to Normal Post-Irma, Harvey

Oil Refiners Are Rebounding: Cramer's 'Off the Charts'