In order to deal with complex risk scenarios involving claims, uncertainty, and investments, we consider the ruin problems in a compound Poisson risk model with liquid reserves and proportional investments and study the expected discounted penalty function under threshold dividend strategies. Firstly, the integral differential equation of the expected discounted penalty function is derived. Secondly, since the closed-form solution of the equation cannot be obtained, a sinc method is used to obtain the numerical approximation solution of the equation. Finally, the feasibility and superiority of the sinc method are illustrated by error analysis. In addition, based on a symmetric jump risk market, we discuss the influence of some parameters on the ruin probability with some examples. This study can help actuaries develop more robust risk management strategies and ensure the long-term stability and profitability of insurance companies. It provides a theoretical basis for actuaries to carry out risk management.