>> Is there a message or field from IB that I can check in my Zorro script to determine if IB has open positions in the currency pair I am trading? I am currently demo-ing my script.

I sometimes have positions that are open in IB while Zorro has closed out all positions.

I will retrace my steps to debug my script but in the meantime, I want an automated way to detect when this has happened without manually checking the IB Gateway position window.


Thanks so much,

OptimusPrime