Risk management primarily involves minimizing potential losses without sacrificing upside potential. This is often borne out in the risk/reward ratio, a type of cost-benefit analysis based on the expected returns of an investment compared to the amount of risk taken on to earn those returns. Hedging strategies are another type of risk management, which involves the use of offsetting positions (e.g. protective puts) that make money when the primary investment experiences losses. A third strategy is to set trading limits such as stop-losses to automatically exit positions that fall too low, or take-profit orders to capture gains.