Support Board
Date/Time: Sat, 10 May 2025 19:59:22 +0000
Post From: Has something changes with respect to multiple Sierra Chart connections to IB TWS?
[2016-06-10 01:55:53] |
User48122 - Posts: 7 |
In relation to "Message from IB: Unable subscribe to account as the following clients are subscribed to a different account.{1}. IB Error Code: 2101", I got the following reply from IB: "In regards to error message "Unable subscribe to account as the following clients are subscribed to a different account.{1}. IB Error Code: 2101", this is actually a limitation of the API function reqAccountUpdat es() in requesting account data. The limitation is that you can only subscribe to account update to one account at a time. If you need to subscribe to a different account, you would need to cancel the subscription for the first account and then subscribe to the second account. In your situation, I guess you have two API clients connecting to the same TWS with two different client Ids. You were using client Id = 1 to request account update for one of your account, and you receive the error message when trying to request account update for the other account with the other client Id. You would need to cancel the first account subscription first in order to make your second subscription." Should I change the Instance Client ID in SC Data/Trade Service Settings from 9368395 to 1 and my problem will go away? I don't know how this could work, since TWS would not be able to differentiate between two clients? Or do they mean that I can not have more than one client connected to TWS at a time? |