Multicharts get real-time market data from IB gateway code 2108 problem - MultiCharts | futures.io
futures io futures trading


Multicharts get real-time market data from IB gateway code 2108 problem
Started: by huzisg Views / Replies:188 / 0
Last Reply: Attachments:3

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

Multicharts get real-time market data from IB gateway code 2108 problem

  #1 (permalink)
Trading Apprentice
HANGZHOU,ZHEJIANG,CHINA
 
Futures Experience: Advanced
Platform: Multicharts
Favorite Futures: MC
 
Posts: 5 since Aug 2016
Thanks: 0 given, 0 received

Multicharts get real-time market data from IB gateway code 2108 problem

Hi guys,

I want to use IB gateway to provide real-time market data for Multicharts' auto trading strategy, and I found a big problem.

I set the port 4001 for IB gateway in MC Quote Manager, at the beginning, every thing is fine, and the QM showed I have connected to the real-time data, and MC can receive the real-time data and update the charts immediately.

But after several minutes, the MC charts would not update anymore, the QM log showed that "warning message: Id= -1; code= 2108; description= Market data farm connection is inactive but should be available upon demand.usfarm".

I think there is no active market data request is connected so the farm connection is become inactive, but I opened MC work space all the time and I need to receive real-time market data.

And When I change the market data source from IB gateway to IB TWS, everything is ok, and the real-time market connection will not be inactive automatically.

Does anyone face this problem before? Please help me, thanks a lot.

LOG FROM MC QM:

[10/04/2016 22:53:09] Connected to real-time data for UVXY ARCA STK USD
[10/04/2016 22:56:14] TWS warning message: Id= -1; code= 2108; description= Market data farm connection is inactive but should be available upon demand.usfarm
[10/04/2016 22:56:14] TWS warning message: Id= -1; code= 2108; description= Market data farm connection is inactive but should be available upon demand.usfarm

LOG FROM IB GATEWAY 952 x64:
JE 22:54:14:710 JTS-Cleaner-25: market data wrapper, cleaning maps
JE 22:55:14:710 JTS-Cleaner-25: market data wrapper, cleaning maps
JE 22:56:14:672 JTS-CommonScheduler-40: Disconnecting usfarm when checking activity
JE 22:56:14:672 JTS-CommonScheduler-40: Farm usfarm/CCP: Stopping connection
JE 22:56:14:672 JTS-CommonScheduler-40: Disconnecting mcgw1.ibllc.com.cn:4000 with status DISCONNECT_ON_INACTIVITY
JE 22:56:14:672 JTS-usfarmServicePingS10-154: Terminating ping thread
JE 22:56:14:672 JTS-usfarmDispatcherS10-151: Terminating dispatcher
JE 22:56:14:672 JTS-usfarmListenerS10-150: Socket for connection mcgw1.ibllc.com.cn:4000 was closed by another thread
JE 22:56:14:672 JTS-CommonScheduler-40: AuthTimeoutMonitor: deactivate
JE 22:56:14:673 JTS-usfarmListenerS10-150: Terminating Listener thread
JE 22:56:14:673 JTS-DisconnectedS10-161: Farm usfarm/UNCONNECTED: Lost active connection with disconnect status DISCONNECT_ON_INACTIVITY
JE 22:56:14:673 JTS-DisconnectedS10-161: Farm usfarm/UNCONNECTED: Not resetting
JE 22:56:14:712 JTS-Cleaner-25: market data wrapper, cleaning maps



Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Last edited by huzisg; October 4th, 2016 at 11:00 PM.
Reply With Quote

Reply



futures io > > > > Multicharts get real-time market data from IB gateway code 2108 problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Market Data source Real Time iOS Mac OS X moon47usaco Tech Support 0 September 28th, 2016 02:27 PM
Accessing IB Data, Real-Time & Historical cesheri IB Trader Workstation 9 August 14th, 2015 10:42 AM
IB GATEWAY luvs321 IB Trader Workstation 4 July 11th, 2014 05:02 AM
IB Gateway and Ninja sam028 Brokers and Data Feeds 5 August 5th, 2013 09:03 AM
IB Gateway freddy250 IB Trader Workstation 4 January 20th, 2012 11:16 AM


All times are GMT -4. The time now is 07:41 PM.

no new posts
Page generated 2017-03-28 in 0.07 seconds with 20 queries on phoenix via your IP 54.204.253.227