In this paper we investigate the asymptotic behaviors of the finite- and infinite-time ruin probabilities for a Poisson risk model with stochastic investment returns which constitute a general adapted càdlàg process and heavy-tailed claim sizes which are bivariate upper tail independent. The results of this paper show that the asymptotic ruin probabilities are dominated by the extreme of insurance risk but not by that of investment risk. As applications of the results, we discuss four special cases when the investment returns are determined by a fractional Brownian motion, an integrated Vasicek model, an integrated Cox–Ingersoll–Ross model, and the Heston model.