Yes, you can cancel a pending order anytime before it is executed, which can be done either from your pending orders screen in your profile or from the screen of the stock itself.

Did this answer your question?