Option assignments are determined based on net positions after the close of the market each day and if you bought back your short contract, you no longer have a short position at the end of the day and no possibility of assignment.
If I close my short option position before the close, am I at risk of being assigned on that contract?
Powered by IBot
How do I close a short position in TWS?
What happens to my long stock position if a short option which is part of a covered write is assigned?
How are overnight position fees on futures calculated?
Can you exercise the out-of-the-money long leg of my spread position only if my in-the-money short leg is assigned?