Connecting to TWS failure Error Message

Questions about MultiCharts and user contributed studies.
SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Connecting to TWS failure Error Message

Postby SP » 17 Oct 2019

With the new TWS Build 978.c i get a "Connecting to TWS failure" error message around every 4 minutes. Any solutions ?
Version: MultiCharts64 Version 12.0 Release (Build 18184)

I tried to attach a picture, but the board says "Sorry, the board attachment quota has been reached."

https://ibb.co/CWBghHv

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Connecting to TWS failure Error Message

Postby Henry MultiСharts » 17 Oct 2019

Hello SP,

Your TWS settings may have been reset. Please follow the IB Data feed connection guide to configure it:
http://www.multicharts.com/trading-soft ... ve_Brokers
Broker configuration: 
http://www.multicharts.com/trading-soft ... er_Profile
Video tutorial:
https://www.multicharts.com/tutorials/

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Connecting to TWS failure Error Message

Postby SP » 17 Oct 2019

It seems like a custom future of @CL caused the error requesting data for a previous expiration date.

[10/17/2019 16:57:39] TWS error message: Id= 14; code= 200; description= Es wurde keine Wertpapierdefinition zu der Anfrage gefunden; for CLV9;NYMEX;FUT;USD;
[10/17/2019 16:57:39] No security definition has been found: Symbol= CLV9;Trade;Tick;NYMEX;FUT;USD;
[10/17/2019 16:57:39] TWS error message: Id= 1000196; code= 162; description= Service für historische Marktdaten - Fehlermeldung:Die HMDS-Anfrage ergab keine Daten: CLV9@NYMEX Trades

After deleting the CL chart the error messages are gone.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Connecting to TWS failure Error Message

Postby Henry MultiСharts » 18 Oct 2019

It seems like a custom future of @CL caused the error requesting data for a previous expiration date.
This issue has been fixed in MultiCharts 12 Release 8:
Interactive Brokers: rectified the issue with receiving historical data for continuous futures if the instrument was added to the database when the previous contract was active.

User avatar
signalworks
Posts: 65
Joined: 06 Oct 2013
Location: Germany.Solingen
Has thanked: 23 times
Been thanked: 2 times
Contact:

Re: Connecting to TWS failure Error Message

Postby signalworks » 31 May 2022

Hello,
the connection to TWS v10.14 works without problems, but to v10.15 is acknowledged with error message. The necessary settings have been made. Does anyone else have this problem?
Thanks.
error_tws_connection.PNG
(9.67 KiB) Not downloaded yet

User avatar
Kate MultiCharts
Posts: 575
Joined: 21 Oct 2020
Has thanked: 7 times
Been thanked: 144 times

Re: Connecting to TWS failure Error Message

Postby Kate MultiCharts » 31 May 2022

Hello signalworks,

Please try unchecking the "Launch Trader Workstation at Start" box in the IB data feed and broker profile settings.
Then restart MultiCharts and IB TWS and check the connection.

User avatar
signalworks
Posts: 65
Joined: 06 Oct 2013
Location: Germany.Solingen
Has thanked: 23 times
Been thanked: 2 times
Contact:

Re: Connecting to TWS failure Error Message

Postby signalworks » 01 Jun 2022

Hello Kate,
I have unchecked in both settings and restarted each. but this did not do the trick yet.

User avatar
Kate MultiCharts
Posts: 575
Joined: 21 Oct 2020
Has thanked: 7 times
Been thanked: 144 times

Re: Connecting to TWS failure Error Message

Postby Kate MultiCharts » 03 Jun 2022

Hello signalworks,

Please double-check the IB data feed and broker profile settings just in case:
1. “Socket port” should be the same in IB TWS and MC
2. “Enable ActiveX and Socket Clients” in IB TWS should be checked
3. “Read-Only API” in IB TWS should be unchecked
4. “Send API messages in English” in IB TWS is checked (if IB TWS current language is set to any language except English)

Also, when connecting please check the IB TWS to see if there are any prompts/pop-ups.

If the settings look good, there are no messages in IB TWS, but the issue is the same, please send us logs via the main MultiCharts window -> Help -> Feedback.
In the description field kindly leave a link to this forum thread.
Then please select the options:
Attach a screenshot;
Attach log files…;
Upload collected data to Help Desk;
uncheck other options and click Send.


Return to “MultiCharts”