Fill on Executions Tab of IBC but No Position Shown on Portfolio Tab

Hi guys. I looked for an answer in the forum with keywords and also the list of topics under IB Controller but had no luck. I'm using IB Controller 1.3.8.

  • I got a fill on 150,000 EUR.JPY as order 1577 as shown in the Executions Tab
  • No position is shown on the Portfolio Tab for EUR.JPY
  • The Watch Window is in line with IB Controller and showing me a position of 0 for EUR.JPY (not having run anything else since)
  • TWS is showing a position of 150K EUR.JPY
  • This is the only EUR.JPY trade I did and hence only one showing on the Executions Tab.
  • I thought it was because I was using bracket orders and the pre-submitted stop could count as an offset to the filled position, bringing the would-be total to 0, but it's not the case. This latest EUR.JPY trade is without an attached stop

Any suggestions? Thanks in advance!


image

image

I was able to duplicate this problem. The ibc Executions tab shows the entry order filled, but there is no position in the Portfolio tab. The position is open in TWS.



image

1 Like

Look at the messages tab, you’ve got errors there.
Also portfolio page is directly filled with what is seen in TWS ACCOUNT page, but it takes few seconds for TWS to update via API. It is “lazy” update TWS is doing that very slowly. You have to open Account page in TWS.

1 Like

@Tomasz, as usual, you're right. The EUR.JPY position was not a "position" but a two cash balances: one long EUR and one short JPY.

Many thanks!

1 Like

Thanks everyone for your help. I gave it another try with a forced buy signal and it filled on six FX trades but as explained, there isn't anything on the Portfolio Tab for those. For FX, I'll try with a combo of StaticVars and GetAccountValue instead of GetPositionSize as for stocks unless someone as a better idea.

Currency positions are displayed as CASH balance in given currency, see previous response. Cash is a cash, not position in TWS. Cash balance for every currency is displayed in Account information page.

Awesome, thanks Tomasz!