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



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


Discussion in MultiCharts

Updated
    1. trending_up 1,416 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

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

(login for full post details)
  #1 (permalink)
HANGZHOU,ZHEJIANG,CHINA
 
 
Posts: 6 since Aug 2016
Thanks: 0 given, 0 received

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






Reply With Quote


futures io Trading Community Platforms and Indicators MultiCharts > Multicharts get real-time market data from IB gateway code 2108 problem


Last Updated on October 4, 2016


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1500 prizes from Topstep!

February
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Call Option Buying: The New Pain Trade? w/Carley Garner

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts