Not sure if this is a bug or by design.
Steps to reproduce:
1/ Start Live IB account
2/ Start Paper IB account
3/ Change IB "Master API client ID" under Configuration/API to 11
4/ Start 1st instance of MC-DT
5/ Connect to Live IB account
6/ Start 2nd MC-DT instance
7/ Click on "Edit Profile Interactive Brokers" and change the "Client ID" to 11
8/ Connect with 2nd instance and start DOM
It will connect to the same account and seems it will connect to the 1st instance of IB regardless what is the "Client ID" is set for.
I did not test all the possible configurations so if I've missed something please let me know.
Thanks,
atata
MC-IB connection problem to 2 accounts on the same hardware [SOLVED]
Re: MC-IB connection problem to 2 accounts on the same hardw
Further experimenting. The issue is if I run 2 instances of MC - DT on the same machine and change the port number on one it will change the port number on the 2nd instance as well therefore both will be connected to the same account. Hope this helps.
Basically the work around it for now, I have only 1 MC - DT is running and 2 IB accounts.
When I want to switch one from to another than I disconnect, change the port and connect again. Again I am not sure if this is by design or a bug. Please clarify!!!
Thanks,
atata
Basically the work around it for now, I have only 1 MC - DT is running and 2 IB accounts.
When I want to switch one from to another than I disconnect, change the port and connect again. Again I am not sure if this is by design or a bug. Please clarify!!!
Thanks,
atata
- Stan Bokov
- Posts: 963
- Joined: 18 Dec 2009
- Has thanked: 367 times
- Been thanked: 302 times
Re: MC-IB connection problem to 2 accounts on the same hardw [SOLVED]
Dear atata,
If you modify a broker profile in one instance of MC, it will be automatically changed in the other instance as well. If you wish to user different UserIDs to connect to TWS, you should create an additional broker profile - each one with its own individual UserID.
If you modify a broker profile in one instance of MC, it will be automatically changed in the other instance as well. If you wish to user different UserIDs to connect to TWS, you should create an additional broker profile - each one with its own individual UserID.