Hi,

I have a vertical spread strategy and it works fine until one of the short put options gets assigned. After the assignment no more trades happen, and the status for the assigned option is Invalid. And the unrealized proft is non-zero even after liquidity. 

Looks like the option assignment breaks the algorithm in diferent ways. Should the option assignment be treated differently?

Thanks

Author