Billionaire Ray Dalio has built the largest hedge fund in the world. Bridgewater Associates has $160 billion in assets under management. And according to Dalio, there is a five-step formula to guarantee success.

Here are the five steps, with descriptions by Dalio, as told to Recode executive editor Kara Swisher on her podcast, Recode Decode.