Risky asset pricing based on safety first fund management