Real and Paper IB connections on MC.Net

Questions about MultiCharts .NET and user contributed studies.
DRCM
Posts: 164
Joined: 17 Apr 2011
Location: England
Has thanked: 65 times
Been thanked: 8 times

Real and Paper IB connections on MC.Net

Postby DRCM » 02 Oct 2012

Hello,

Looks like IB gives possibility again to run both Real and Paper accounts at the same time on same PC, but how to connect them to MC.Net? I set different API socket ports for both accounts in TWS settings, I created two separate profiles in MC, but in Quote Manager we can set only one socket port. So, MC won`t be able to see them both. Is there any way overall to sort this problem out?

Regards,

User avatar
Henry MultiСharts
Posts: 8520
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2741 times

Re: Real and Paper IB connections on MC.Net

Postby Henry MultiСharts » 02 Oct 2012

Hello DRCM,

That is possible to start multiple TWS on the same PC and connect multiple IB broker profiles to them from MultiCharts. Follow this guide to do that.

That is not possible to have two IB data feeds. MultiCharts can be connected to only one TWS to get data.
These users thanked the author Henry MultiСharts for the post:
DRCM

DRCM
Posts: 164
Joined: 17 Apr 2011
Location: England
Has thanked: 65 times
Been thanked: 8 times

Re: Real and Paper IB connections on MC.Net

Postby DRCM » 02 Oct 2012

Ok, thanks. I see now.
Probably, it's better to run two separate MCs(standard and net in my case) to get separate data from both TWS. Do i still need to set different socket ports and clientIDs on both MultiCharts? E.g. MC ID-1, MC.Net ID-0?


Thanks,

User avatar
Henry MultiСharts
Posts: 8520
Joined: 25 Aug 2011
Has thanked: 1213 times
Been thanked: 2741 times

Re: Real and Paper IB connections on MC.Net

Postby Henry MultiСharts » 02 Oct 2012

DRCM wrote:Do i still need to set different socket ports and clientIDs on both MultiCharts? E.g. MC ID-1, MC.Net ID-0?
Thanks,

Yes, you need to set different port numbers in TWS to differentiate between them. Corresponding ports should be selected in MultiCharts.
Master API client ID is a different thing applied to the broker profile only. The API client with the specified client ID will receive all orders, even those placed by other API clients. This differs from the Client ID of “0” which will receive all orders sent from the TWS GUI. Source: API settings in TWS
These users thanked the author Henry MultiСharts for the post:
DRCM


Return to “MultiCharts .NET”