NEW YORK ( TheStreet) -- On Tuesday, something happened in the markets that we have not seen for more than 10 months.

Embattled retailer RadioShack ( RSH) closed at more than $4 for the first time since last July, ending the session up 10% and closing at an 11-month high.

This happened with little fanfare, which is not surprising given that most investors have already given up on this name and are expecting the company's demise. Perhaps surprisingly, shares are up 96% year to date.

RSH Chart RSH data by YCharts

I have a term that describes taking positions companies such as RadioShack: "buying ugly." It applies to situations where a company is past its prime, in jeopardy, and the markets throw in the towel, expecting bankruptcy in the near future.

With everyone rushing to the exits, the stock price gets hammered well below intrinsic value (in the eye of the beholder, anyway). If there's any life left in the name, any sign of a potential turnaround, or that perhaps bankruptcy is not as imminent as once thought, the market ultimately admits its "mistake," and investors show renewed interest.

Some liken the practice of buying such companies to "dumpster diving," but as a deep value investor I see it as trying to identify and buy "50-cent dollars."

Investors love shiny objects, the Facebooks ( FB) of the world -- the hot, exciting new products and services that everyone is using.

The problem is that from an investment perspective, a great company does not always equate to a great stock. Facebook may be seen as one of the great innovations of this era, but if the stock is trading at twice what it's worth, why would you own it? Now, I'm not picking on Facebook; I'm just trying to make the point that there's often a disconnect between stock price and value.

In RadioShack's case, the question is not whether the company will ever regain its former level of prominence in the electronic retailing space; I certainly don't believe it will. The question is whether there's some life left in the name, how long management has to scale the company back and what it's actually worth at this point.

Admittedly, new CEO Joe Magnacca has a difficult job ahead of him, trying to reinvigorate what was once a well-known brand. While he does not have a great deal of time on his side in order to right the ship, he may have a bit more than the market believes.

RadioShack ended the first quarter with $435 million in cash. There is a convertible notes issue maturing this coming August ($212.8 million), but the next major debt maturity ($325 million) is not until 2019. While RadioShack's debt situation may not be ideal, it may not spell immediate doom, either.

From a "value" perspective, RadioShack currently trades at 1.6 times net current asset value, and 0.79 times tangible book value. I started taking a position when the company was a "net/net" (trading below net current asset value), and I have been pleased with the results so far.

But be forewarned, "dumpster diving" is not for everyone. Although the rewards can be significant when you are right, the risks can be huge.

At the time of publication, Heller held shares of RSH.

This article is commentary by an independent contributor, separate from TheStreet's regular news coverage.

Jonathan Heller, CFA, is president of KEJ Financial Advisors, his fee-only financial planning company. Jon spent 17 years at Bloomberg Financial Markets in various roles, from 1989 until 2005. He ran Bloomberg's Equity Fundamental Research Department from 1994 until 1998, when he assumed responsibility for Bloomberg's Equity Data Research Department. In 2001, he joined Bloomberg's Publishing group as senior markets editor and writer for Bloomberg Personal Finance Magazine, and an associate editor and contributor for Bloomberg Markets Magazine. In 2005, he joined SEI Investments as director of investment communications within SEI's Investment Management Unit.

Jon is also the founder of the Cheap Stocks Web site, a site dedicated to deep-value investing. He has an undergraduate degree from Grove City College and an MBA from Rider University, where he has also served on the adjunct faculty; he is also a CFA charter holder.