Hi,

I am working on an Iron Condor algorithm. I keep getting insufficient fund errors, and I think that is because the algorithm is not exercising the options that limit losses after I get assigned in the wing regions (feel free to chime in if that's not the reason). So, my question is this: do options automatically get exercised if they can be? If not, is there an assignment event I can use to exercise my option, and what would the syntax of directing that event to a function be?