Sounds like we have a similar problem :-)

I haven't quite solve it yet but will work on it soon. My current thought is this:

- enter the trade as a phantom trade, so it is tracked inside Zorro
- when Zorro exits this trade, I would send a special brokerCommand to my custom broker plugin to close the trade.

My specific senario is when a short put is assigned by the broker, I want to track and close it as a long stock, under a long stock TMF.

I'm look forward to seeing other responses