My understanding of covered calls is that if I sell call options for a stock that I own and the price of the stock rises, I would have to sell my shares.
What stops me from putting a limit buy order at the strike price of the options I have sold? Wouldn't this provide me the ability to retain the shares despite having sold the covered calls?
It is almost too good to be true because I take basically no risk (apart from trading costs) and still have my shares if the strike price is reached. Please tell me what am I missing?