NexusFi: Find Your Edge


Home Menu

 





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


Discussion in MultiCharts

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




 
Search this Thread

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

  #1 (permalink)
huzisg
HANGZHOU,ZHEJIANG,CHINA
 
Posts: 6 since Aug 2016
Thanks Given: 0
Thanks Received: 0

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




Last Updated on October 4, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts