Share your insights or perspective on the financial matter presented in the input.

Can written options be exercised against you prior to expiry when they become “in-the-money”?
Yes, if it's an American style option. American style options may be exercised at any time prior to expiration (even if they're not in-the-money). Generally, you are required to deliver or accept delivery of the underlying by the beginning of the next trading day. If you are short, you may be chosen by the clearinghouse to fulfill the exercise (a process called "assignment"). Because the clearinghouse is the counter-party to every options trade, you can be assigned even if the specific person who purchased the option you wrote didn't exercise, but someone else who holds a long position did. Similarly, you might not be assigned if that person did exercise. The clearinghouse randomly chooses a brokerage to fulfill an assignment, and the brokerage will randomly choose an individual account. If you're going to be writing options, especially using spreads, you need to have a plan ahead of time on what to do if one of your legs gets assigned. This is more likely to happen just before a dividend payment, if the payment is more than the remaining time value.