Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 16:29:45 +0000



[User Discussion] - Problem with Interactive Brokers Positions

View Count: 1523

[2015-01-13 18:59:43]
User59228 - Posts: 47
HI SC Support,

with the new spreadsheet the "refresh date data from Service" do not work.

Can you help ?


[2015-01-13 20:10:27]
Sierra Chart Engineering - Posts: 104368
Trade >> Refresh Trade Data from Service has no relationship to spreadsheets at all.

Sounds like you are having a problem with the trading data from Interactive Brokers.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-01-13 21:10:34]
User59228 - Posts: 47
No i think there is no Problem with the trading data from IB. What can i do ? with the old spreadsheets i have no Problems with this command. A few days ago i made the update and now there is no refresh any more.
[2015-01-13 22:07:35]
Sierra Chart Engineering - Posts: 104368
It is definitely not related to spreadsheets.

And also, we cannot even comment on this because we do not understand what you are trying to solve when you select Trade >>Refresh Trade Data from Service.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-01-14 00:29:29]
Sierra Chart Engineering - Posts: 104368
Let us know what the specific problem is where you need to use Refresh Trade Data from Service to give us a better understanding.

We tested several times Trade >>Refresh Trade Data from Service while connected to Trader Workstation and it worked properly.

You can tell if you see this message listed in the Sierra Chart Message Log at the time you select that command:
Interactive Brokers | Received Open orders end message. | 2015-01-14 00:34:35

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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-01-14 00:49:37
[2015-01-14 11:25:37]
User59228 - Posts: 47
Ok. For example, i have 100 xyz-stocks and now i will set a stop-price with the spreadsheet. Until now i refreshed the data from Service and then i saw in the Position quantity (field J8) this 100 xyz-stocks. Now when i refresh the data from Service there are no Position in the field J8.
[2015-01-14 11:47:15]
User59228 - Posts: 47
Yes, i can see the message in the Sierra Chart Message Log
[2015-01-14 17:25:20]
Sierra Chart Engineering - Posts: 104368
Do you see the Position for the symbol in the Trade >> Trade Orders and Positions >> Positions tab.

And what is the exact symbol that you see in the Positions tab and what is the symbol of the chart that contains the Spreadsheet Trading study?
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-01-14 18:23:00]
User59228 - Posts: 47
The Symbol in the Position Tab and the Symbol on the Chart are the same. When i do some trade there is no Change of the Position in the Positions tab (Orders and Positions).I try to refresh the trade data, but there is no Change.


[2015-01-14 18:30:48]
Sierra Chart Engineering - Posts: 104368
What happens when you select File >> Disconnect and File >> Connect to Data Feed? Does that update the Positions?

Are you using a Financial Advisor account?
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-01-14 18:32:29]
User59228 - Posts: 47
When i disconnect and the connect the data feed the positions were updated. No, it is not a financial advisor account.
[2015-01-14 19:11:11]
Sierra Chart Engineering - Posts: 104368
We have tested this. With a TWS nonfinancial advisor account that contains one single account, Sierra Chart does receive automatic Trade Position updates from TWS as the Positions for symbols change. The Position updates are properly requested and handled by Sierra Chart.

The problem is Interactive Brokers is not sending out continuous Position updates over the API for your account. You need to find out why this is happening for your account.

Contact IB at API@Interactivebrokers.com.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-01-14 19:11:54
[2015-01-14 19:22:42]
User59228 - Posts: 47
OK, i will try to find out the reason. One week ago it works with the same account, hm, difficult to understand.

Thank you very much for your help.
[2015-01-22 07:09:57]
User59228 - Posts: 47
I got this from IB:

Sehr geehrter Herr Solje

Laut unserem API Support wurde von der TWS die korrekten Account updates am Samstag gesandt, für den Sonntag sehen wir nur 1 request, dieser wurde jedoch abgewiesen da der Account code gefehlt hatte :

OY 17:53:31:549 JTS-EServerSock et-128: [101:38:76:1:0:0:0:ERR] -'ad' : Grund - The account code is required for this operation.

Somit müssten Sie einmal mit Sierra Chart kontakt aufnehmen um zu überprüfen wieso dies nicht an die TWS weitergeleitet wurde.

Sollten Sie noch weitere Fragen diesbezüglich haben so bitte ich Sie uns wieder zu kontaktieren.

Mit freundlichen Grüssen

Rico
Interactive Brokers

That means the API works correctly and I should ask Sierrachart why it does not work :-)
[2015-01-22 07:31:12]
User59228 - Posts: 47
Until last week it works properly. I used the defaultspreadsheetstudy and the Positions were updated. Then i downloaded the latest sierrachart Version and opened some new spreadsheets. Since this there are no updates any more.

Thank you for help.
[2015-01-22 08:19:47]
Sierra Chart Engineering - Posts: 104368
Restart Sierra Chart and do not open any charts. Select File >> Connect to Data Feed.

Wait about 20 seconds and then provide us the Message Log:
https://www.sierrachart.com/index.php?page=PostingInformation.php#log
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-01-23 07:25:43]
User59228 - Posts: 47
Software version: 1224 | 2015-01-23 08:22:10
Uses Old Spreadsheets | 2015-01-23 08:22:10
Usage end date: 2015-05-25 | 2015-01-23 08:22:10
Enabled for: Advanced Features. | 2015-01-23 08:22:10
Enabled for: Sierra Chart Historical Data Service. | 2015-01-23 08:22:10
Allow Support for Sierra Chart Data Feeds is enabled. | 2015-01-23 08:22:10
Active service: Interactive Brokers | 2015-01-23 08:22:10
Time Zone: +01:00:00 (CET+01CEST+01,M3.5.0/02:00,M10.5.0/03:00) | 2015-01-23 08:22:10
2015-01-23 08:22:10 Local computer clock time | 2015-01-23 08:22:10
2015-01-23 07:22:10 GMT time | 2015-01-23 08:22:10
2015-01-23 08:22:10 Time zone adjusted time | 2015-01-23 08:22:10
Time difference to server time: 4 seconds. | 2015-01-23 08:22:10
Program path: C:\SierraChart\ | 2015-01-23 08:22:10
Data Files path: C:\SierraChart\Data\ | 2015-01-23 08:22:10
OS Version Number: 6.2 | 2015-01-23 08:22:10
Locale Information: C | 2015-01-23 08:22:10

Checking for new symbol settings for ib | 2015-01-23 08:22:10
HTTP connection to www.sierrachart.com:80 (0) | Resolved address sierrachart.com to IP 5.9.8.236 | 2015-01-23 08:22:11
HTTP connection to www.sierrachart.com:80 (1) | Connected. | 2015-01-23 08:22:11
Symbol settings are up-to-date for ib | 2015-01-23 08:22:11

Interactive Brokers: Connecting to 127.0.0.1:7496 | 2015-01-23 08:22:15
Socket (2) | Connected. | 2015-01-23 08:22:15
Socket connected to TWS. Sending client version: 62. Waiting for acceptance. | 2015-01-23 08:22:15
Interactive Brokers | TWS server version: 76 | 2015-01-23 08:22:15
Interactive Brokers | Connected. Waiting for account information. | 2015-01-23 08:22:15
IB Account information received. | 2015-01-23 08:22:15
Interactive Brokers | Received 3 Trade Accounts from TWS. | 2015-01-23 08:22:15
Interactive Brokers | Connected to Live account. | 2015-01-23 08:22:15
Interactive Brokers | Year-Month last connected to Live account: 2015-01 | 2015-01-23 08:22:15
Interactive Brokers | Requesting Trade Positions for account: U117037 | 2015-01-23 08:22:15
Next valid order ID: 42 | 2015-01-23 08:22:15
Message from IB: Marktdaten Farm Verbindung ist OK:usfuture. IB Error Code: 2104. Request ID: -1. | 2015-01-23 08:22:15
Message from IB: Marktdaten Farm Verbindung ist OK:eufarm. IB Error Code: 2104. Request ID: -1. | 2015-01-23 08:22:15
Message from IB: Marktdaten Farm Verbindung ist OK:usopt. IB Error Code: 2104. Request ID: -1. | 2015-01-23 08:22:16
Message from IB: Marktdaten Farm Verbindung ist OK:usfarm. IB Error Code: 2104. Request ID: -1. | 2015-01-23 08:22:16
Message from IB: HMDS Daten Farm Verbindung ist OK:ilhmds. IB Error Code: 2106. Request ID: -1. | 2015-01-23 08:22:16
Message from IB: HMDS Daten Farm Verbindung ist OK:euhmds. IB Error Code: 2106. Request ID: -1. | 2015-01-23 08:22:16
Message from IB: HMDS Daten Farm Verbindung ist OK:ethmds. IB Error Code: 2106. Request ID: -1. | 2015-01-23 08:22:16
Message from IB: HMDS Daten Farm Verbindung ist OK:ushmds. IB Error Code: 2106. Request ID: -1. | 2015-01-23 08:22:16
Next valid order ID: 42 | 2015-01-23 08:22:16
IB Account information received. | 2015-01-23 08:22:16
Interactive Brokers | Received 3 Trade Accounts from TWS. | 2015-01-23 08:22:16
Interactive Brokers | Connected to Live account. | 2015-01-23 08:22:16
Interactive Brokers | Year-Month last connected to Live account: 2015-01 | 2015-01-23 08:22:16
Interactive Brokers | Starting real-time market data updates for: IBM. ID: 1 | 2015-01-23 08:22:16
Interactive Brokers | Subscribing to Symbol: IBM, SecType: STK, Expiry: , Exchange: SMART, Currency: USD, Multiplier: | 2015-01-23 08:22:16
Intraday data recording state for symbol IBM is set to download pending. | 2015-01-23 08:22:16
HD Request # 2 | Downloading Intraday chart data for IBM to the file IBM.scid. Service: ib | 2015-01-23 08:22:16
HD Request # 2 | Download start Date-Time: 2015-01-23 01:59:30.0 | 2015-01-23 08:22:16
HD Request # 2 | Requesting a total of 0 days and 27766 seconds. | 2015-01-23 08:22:16
HD Request # 2 | IB Backfill - Seconds requested: 27766. Seconds Remaining: 0. | 2015-01-23 08:22:16
HD Request # 2 | Requesting 27766 Seconds of data at 30 secs with ending Date-Time at 2015-01-23 09:32:16 for IBM | 2015-01-23 08:22:16
Interactive Brokers | Received Trade Positions download end message for account U117037 | 2015-01-23 08:22:16
Interactive Brokers | Stopping automatic Trade Position updates for account: U117037 | 2015-01-23 08:22:16
Interactive Brokers | Requesting Trade Positions for account: U1402563 | 2015-01-23 08:22:16
Message from IB: API client has been unsubscribed from account data.. IB Error Code: 2100. Request ID: -1. | 2015-01-23 08:22:16
HTTP connection to www.sierrachart.com:80 (1) | Closed. No error. | 2015-01-23 08:22:16
HTTP connection to www.sierrachart.com:80 (1) | Shutdown and closed. | 2015-01-23 08:22:16
HD Request # 2 | Processing historical data message from TWS | 2015-01-23 08:22:16
HD Request # 2 | Receiving Intraday data for IBM starting at 2015-01-23 01:50:00 | 2015-01-23 08:22:16
HD Request # 2 | Timestamp of first Intraday data file record written: 2015-01-23 01:59:30 | 2015-01-23 08:22:16
HD Request # 2 | Received 926 records and wrote 1 records from 2015-01-22 18:17:00 to 2015-01-23 01:59:30. | 2015-01-23 08:22:16
HD Request # 2 | Received 926 records from 2015-01-23 01:50:00 to 2015-01-23 01:59:30 (9.5 minutes) and wrote 1 record for IBM | 2015-01-23 08:22:17
HD Request # 2 | Intraday download COMPLETE for IBM. Completion time: 0s. Unique request ID: 1 | 2015-01-23 08:22:17
Removed historical data download ID 1 | 2015-01-23 08:22:17
Real-time Intraday chart data file updates started for IBM | 2015-01-23 08:22:17

Interactive Brokers | Requesting historical order fills for account U11*. | 2015-01-23 08:22:21
Interactive Brokers | Requesting historical order fills for account U14*. | 2015-01-23 08:22:21
Interactive Brokers | Requesting historical order fills for account U14*. | 2015-01-23 08:22:21
Interactive Brokers | Received Open orders end message. | 2015-01-23 08:22:21

[2015-01-23 09:59:24]
Sierra Chart Engineering - Posts: 104368

OY 17:53:31:549 JTS-EServerSock et-128: [101:38:76:1:0:0:0:ERR] -'ad' : Grund - The account code is required for this operation.
This appears to be the problem. The account number is clearly specified. This is very clearly on the IB side. There can be no doubt about this. This is the problem with IB. There is not competent support on their side to understand these problems and resolve them. And the customer is who suffers.

The entire Interactive Brokers API is substandard. Why are they not giving a position data reject in this case? Why do not they provide automatic position updates for multiple accounts? They do not do any of this.

If you want the honest truth, the trade position data interface provided by IB, is very substandard and can only be regarded as very unprofessional and problematic.


Look at this:

Interactive Brokers | Requesting Trade Positions for account: U1402563 | 2015-01-23 08:22:16

The request has been made but there is no response at all. The Message Log clearly indicates that.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2015-01-23 11:05:08
[2015-01-23 14:07:40]
User59228 - Posts: 47
ok, thank you for help. I will contact them again.


[2015-01-30 11:31:11]
User83831 - Posts: 2
I can appreciate the fact that IB support is not great and their API may be substandard, but other platforms have found a way to work with it without the problems we're experiencing with Sierra. IB is a pretty popular broken and I would hope that Sierra can find a way to work around these issues so we can have a better trading experience. A trader shouldn't have to worry about these things when you're trying to focus on your trade and not about platform troubles. Your users would definitely appreciate it.

Thanks.

[2015-01-30 17:46:34]
Sierra Chart Engineering - Posts: 104368
but other platforms have found a way to work with it without the problems we're experiencing with Sierra.
When you genuinely understand the actual source of the problem and why they occur, you will realize that this is not really true. IB API causes problems for everyone.

When we make a change to work around one problem with IB it will cause another.

Anyway, are you having the same problem which is described in this thread? We do not have other reports of this particular problem among Sierra Chart users using IB.
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, *change* to 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