Had several automated strategies that were working and after upgrading the IB plugin to the most recently posted version the Generic Broker Function: closePosition(getSymbol()) does not apprear to send an order to the IB TWS.
The symbol passed is any of the cash forex symbols.
Is anyone using the lastest IB plugin able to successfully execute closePosition?
Using the closePosition() although not ideal was a partial workaround for not having the ability to determine via the generic broker functions if a position was held.
Although you cannot determine if you have a position, at least before executing an order you had the ability to insure any prior position swere closed first before executing a new order.
With closePosition() no longer working and the inability to determine position status if anyone has any suggestions on how to get around this problem it would be appreciated.
Glen
The symbol passed is any of the cash forex symbols.
Is anyone using the lastest IB plugin able to successfully execute closePosition?
Using the closePosition() although not ideal was a partial workaround for not having the ability to determine via the generic broker functions if a position was held.
Although you cannot determine if you have a position, at least before executing an order you had the ability to insure any prior position swere closed first before executing a new order.
With closePosition() no longer working and the inability to determine position status if anyone has any suggestions on how to get around this problem it would be appreciated.
Glen
Comment