Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 19:53:37 +0000



SC/IBKR secondary account interface bug

View Count: 480

[2023-03-24 12:37:26]
Ed Goppelt - Posts: 41
1. I know how little SC thinks of IBKR's software quality, and I agree!
2. I am grateful nonetheless that you continue to support your IBKR customers like me to the extent you can.
3. From my point of view, SC & IBKR make a good pair--the SC software is a joy to work with and IBKR offers a *huge* selection of financial instruments including futures that are hard to get elsewhere.

Since the latest upgrade, I notice the following flaw in SC's interface with IBKR. When working with my secondary IBKR account, and a future is filled, the filled futures line appears on the SC chart for just a second then disappears. The two bracket orders are displayed correctly. A check on TWS shows that the position does exist while the SC Trade Positions windows is empty.

If there's any other information you need from me to investigate whether this is your or IBKR's problem, please let me know. I will say this: this functionality worked perfectly before my upgrade to Ver 2484 64 bit.

Can you help?

Sincerely,

Ed G.
[2023-03-24 16:31:24]
Sierra_Chart Engineering - Posts: 17206
the filled futures line appears on the SC chart for just a second then disappears.

Refer to:
Interactive Brokers Trading Service: Trade Position Line or Quantity Disappearing or Displaying Zero

Usually this problem relates to symbol differences between the symbol in the chart, and the symbol in the position list.

Another possibility is the position average price is 0. But that is solvable by relying on Sierra Chart to calculate this:

Trading Information Windows: How Average Price for Positions Is Calculated and Used
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-03-24 16:32:41
[2023-04-03 09:18:09]
Ed Goppelt - Posts: 41
Thanks for your reply. Can SC Engineering take another look at this.

I looked into your explanation and I don't think it applies to me. Here's my thinking:

The trade position line works perfectly for the primary IBKR account. This implies to me that this is not a symbol issue.
None (!) of the current trade positions in the secondary account are displayed in the Trade Positions window, not just the new futures position.

Further buggy behavior:

Disconnecting then reconnecting to the Data Source does not cause the position list to show the positions of the secondary account.
The Trade Activity Log shows the position being entered while the Trade Position windows shows nothing, i.e., SC's internal accounting contradicts itself. If a trade is listed in the Trade Activity Log, can we say with certainty that the trade happened? If so, why isn't the trade reflected in the position list?

Meanwhile IBKR TWS shows the positions in the secondary account correctly and there is no discrepancy between TWS' position list and its trade data.

If I had to guess I would say the SC trade filter code is buggy. SC clearly knows about the secondary account position because the cancelAll button is not disabled.

Sincerely,

Ed G.
[2023-04-03 09:23:54]
Sierra_Chart Engineering - Posts: 17206
Yes this is true:

None (!) of the current trade positions in the secondary account are displayed in the Trade Positions window, not just the new futures position.
There is no longer support for this in newer versions of Sierra Chart since positions from other accounts is not properly supported by TWS.

You need to use another installation of Sierra Chart, one for each account, and set this Data/Trade Service Setting to the account that you want to use:
Account Index for Subscribe to Positions (zero-based)
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-04-03 09:24:40
[2023-04-03 09:26:22]
Sierra_Chart Engineering - Posts: 17206
The issue is described in post #6 and #7 here:
Notice: Recent Interactive Brokers TWS API Integration Issues
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-04-05 12:00:09]
Ed Goppelt - Posts: 41
You need to use another installation of Sierra Chart, one for each account, and set this Data/Trade Service Setting to the account that you want to use:
Account Index for Subscribe to Positions (zero-based)

Thank you for the tip. I do use multiple installations of SC already. Multiple installations = the headache of keeping my customizations up-to-date. Any tips for keeping on top of this?

Given that each customization usually represents at least half an hour of work, the customizations represent an enormous effort I want to save at all costs.

My first attempt was to replace the data folder in my "dumb" Ironbeam system with that of my "smart" IBKR system where I do most of my development.

It ain't that simple. The charts came through with the wrong symbols of course and "Edit >> Translate Symbols" only worked for one symbol. Do I have to change all the symbols manually using "Chart >> Chart Settings"?

The other thing is that the customizations are not confined to the data folder. It looks like I need to copy Sierra4.config, Keyboardshortcuts and Defaultstudysettings from "smart" system but keep Accounts4.config,
and the Trade data from "dumb" system.

Is this correct?

Thanks for your help.
[2023-04-05 14:42:05]
John - SC Support - Posts: 36350
It ain't that simple. The charts came through with the wrong symbols of course and "Edit >> Translate Symbols" only worked for one symbol. Do I have to change all the symbols manually using "Chart >> Chart Settings"?

If the "Edit >> Translate Symbols to Current Service" did not work, then you will have to manually change the symbol for each chart.

The other thing is that the customizations are not confined to the data folder. It looks like I need to copy Sierra4.config, Keyboardshortcuts and Defaultstudysettings from "smart" system but keep Accounts4.config,
and the Trade data from "dumb" system.

You have this correct.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account