The Big Short is a strangely entertaining and extremely timely movie about a wholly unlikely subject: A handful of investors who anticipated, and got rich because of, the collapse of the American housing market.

Director Adam McKay’s feature is based on Michael Lewis’s 2010 nonfiction book, The Big Short: Inside the Doomsday Machine. Lewis also wrote Liar’s Poker, Moneyball and The Blind Side, among other books; the first of these drew on Lewis’s experiences on Wall Street, while the latter two became enormously successful sports movies. The latest Lewis-inspired outing was translated to screen by thriller screenwriter Charles Randolph and McKay, the director of such excellent comedies as Anchorman: The Legend of Ron Burgundy and Talladega Nights: The Ballad of Ricky Bobby.

The Big Short tracks three sets of characters in their quest to make a bundle of money while betting against conventional wisdom. One of the men at the heart of the story is Michael Burry, a one-eyed possibly autistic medical doctor who runs a Silicon Valley investment firm. As played by Christian Bale, Burry is an oddball who loves to play heavy metal rock music at eardrum-piercing volumes and who regularly shows up at the office dressed as if he were about to spend a day cleaning his garage. Burry wears the shirt throughout the film, which takes place over the course of about three years.

Burry, who’s capable of prolonged bouts of concentration, finds that an alarming percentage of housing mortgage bonds are based on poorly secured subprime loans. A single bond consists of thousands of individual mortgages, each of which represents the debt owed by a home buyer to a lender; investors buy the bonds in order to receive a share of the monthly mortgage payments.

For decades, such bonds were a rock-solid investment. What Burry discovers — contrary to the assertions of virtually every economist in the known universe — is that many of home loans being made were incredibly risky. As a result, the mortgage bond market is highly overvalued and therefore due for a correction, otherwise be known as a crash.