Multicharts get real-time market data from IB gateway code 2108 problem
Welcome to futures io.
(If you already have an account, login at the top of the page)
futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.
At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.
With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.
We are fundamentally different than most other trading sites:
We are here to help. Just let us know what you need.
We work extremely hard to keep things positive in our community.
We do not tolerate rude behavior, trolling, or vendors advertising in posts.
We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
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.
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.