Text this: Optimal cash holding model based on minimization of ruin probability