In the Black and Scholes system, the underlying asset price model follows geometric Brownian motion (GBM) with no bankruptcy risk. While GBM is a commonly used model in financial markets, bankruptcy risk should be considered in the case of a severe economic crisis, such as that caused by the COVID-19 pandemic. The omission of bankruptcy risk could considerably influence the setting of a trading strategy. In this article, we adopt an extended GBM model that considers the bankruptcy risk and study its optimal limit price problem. A limit order is a classical trading strategy for investing in stocks. First, we construct the explicit expressions of the expected discounted profit functions for sell and buy limit orders and then derive their optimal limit prices. Furthermore, via sensitivity analysis, we discuss the influence of the omission of bankruptcy risk in executing limit orders.