QM wants to connect to TWS

Questions about MultiCharts and user contributed studies.
User avatar
siscop
Posts: 197
Joined: 09 Jan 2011
Has thanked: 34 times
Been thanked: 29 times

QM wants to connect to TWS

Postby siscop » 04 May 2012

Hi,
I am using MC8 beta3 64.
Situation:
Portfolio Backtester is running with freequotes.
Connected to TWS and just closed the last chart on MC that was connected to IB.
Waited a while until QM stopped showing updated messages on the log
I close MC.
Now I close TWS and this lines are coming up and does not stop.

“Connecting to TWS… host= 127.0.0.1, hostIP…….
Connection to TWS failure. Is the Interactive Brokers TWS software running and is it enable for socket client? Is firewall disabled? Res=0”

So I opened TWS again… QM stopped showing the lines.
I opened MC with an empty workspace… Waited a while and closed MC. Meanwhile Portfolio Backtester was finished. I closed TWS.
Again QM constantly showed those 2 lines.
Launch Trader Workstation is not set.

How can I stop those 2 lines filling up my logs?

EDIT: I restarted the computer and started TWS, QM and MC. Opened "BAC" and closed it again. Closed MC and after a while TWS. QM keeps on showing those 2 lines.

EDIT2:
On beta 2 this only happened when I didnt let MC disconnect from a stock. On this issue I did let him disconnect from the stocks.

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

Re: QM wants to connect to TWS

Postby Henry MultiСharts » 07 May 2012

Hello Siscop,

What chart resolution are you using?
Do you have "Collect data without plotting" enabled for IB instruments in QuoteManager?
Is “Utilization of cache for real-time price data” enabled in Quote Manager->Tools->Data sources->IB-> Settings?


Return to “MultiCharts”