Re: Cannot connect to Production API, test is OK.
Happy hunting, Lou. My gut tells me that this is not an issue? with IB or TWS. It is sufficient that some defunct process holds on to port 9707 for TWS to be denied access to that port. Those sockets
By
Jürgen Reinold
·
#49631
·
|
Cannot connect to Production API, test is OK.
Jürgen and joanmarcel119,
Again, thanks for your input.
Firstly, I don't use IB's ports simply because we may (and do) run multiple TWS's on the same machine.
I bought up another TWS on the same
By
Lou Dudka
·
#49630
·
|
Re: Cannot connect to Production API, test is OK.
But that sounds more like a network issue than a TWS issue, Lou.
* As joanmarcel119? said firewall or antivirus related that prevents access to port 9707
* Or even more subtle, a port clash with
By
Jürgen Reinold
·
#49629
·
|
Cannot connect to Production API, test is OK.
Hi All,
Fixed (cannot say "solved").
Out of desperation I changed the Prod Port from 9707 to 9777 and it connected.
I then changed the Port back to 9707 and received errors.
Put it back to 9777
By
Lou Dudka
·
#49628
·
|
Cannot connect to Production API, test is OK.
joanmarcel119,
Thanks for your input.
It might be that except both Test and Prod are on the same computer using exactly the same code.
Thanks, as always, and Be Well,
Lou Dudka
By
Lou Dudka
·
#49627
·
|
Re: Cannot connect to Production API, test is OK.
maybe firewall or antivirus updated or changed?
By
joanmarcel119
·
#49626
·
|
Cannot connect to Production API, test is OK.
Jürgen,
Thanks, as always, for your complete and speedy response!
I'm (almost) ready to try replacing 981 with 10.12, simply because I've run out of ideas.
BTW both Prod and Test are running on
By
Lou Dudka
·
#49625
·
|
Re: Cannot connect to Production API, test is OK.
We have not experienced any issues on our end, Lou, but then our setup is very different. Let me throw out a few thoughts, some or all of them you may have thought about yourself already:
* Which
By
Jürgen Reinold
·
#49624
·
|
Cannot connect to Production API, test is OK.
Hi All,
I suddenly (over the weekend) cannot connect on:
Call objTWSControl.m_TWSControl.Connect(connectionHost, connectionPort, clientId, False)
connectionHost is blank
connectionPort is correct in
By
Lou Dudka
·
#49623
·
|
Re: TWS Gateway: Requested market data is not subscribed
With a browser there's standard information passed back to the server (browser & version, OS & version, screen size, etc). When TWS or the Gateway connects who knows what is sent. It might send all
By
Hilmar
·
#49622
·
|
Re: TWS Gateway: Requested market data is not subscribed
I just wanted to add that I’m not trying to suggest we should actually try to get round this restriction on any kind of real usage, just that this experiment might confirm that it is in fact the MAC
By
Richard L King
·
#49621
·
|
Re: TWS Gateway: Requested market data is not subscribed
Interesting thought, but as that Wikipedia article also says, ‘Many network interfaces, however, support changing their MAC address’ and ‘two NICs connected to two different networks can share
By
Richard L King
·
#49620
·
|
Re: TWS Gateway: Requested market data is not subscribed
My guess is that the device's MAC address is analyzed because it is unique to every device.
https://en.wikipedia.org/wiki/MAC_address
By
J G
·
#49619
·
|
Sample code for most common use cases?
Hi all,
I wonder if there are sample codes of recommended methods for the most common use cases. I know IB API has sample code, but it's on very low level (e.g. get price of a stock). Sample codes of
By
PurpleIce
·
#49618
·
|
Re: TWS Gateway: Requested market data is not subscribed
Out of curiosity, how does it know/detect that is the "same device"?
By
Traveler
·
#49617
·
|
reqHistoricalData returns live data with date in the future
Hi all
As topic title, have a bit of an unusual one. So sometimes IBKR returns live daily data with date in the future, has anyone come across this problem?
I can handle it easily by restarting
By
Dan
·
#49616
·
|
Re: Gateway disconnects multiple times daily at around 2pm, sometimes failing to reconnect
I have the same experience as you Kevin, not sure why, since I've selected 'Asia' server in the TWS/Gateway login screen. I've found the IB response rate on tickets this year has also been abysmal,
By
Dan
·
#49615
·
|
Re: tickPrice tick type "4" (last price) not being emitted for Forex?
I can’t imagine that they would have trade prices either. Try it and see for yourself?
As I understand it, the raw data for the Forex feeds from IDEALPRO come from a wide variety of different
By
Richard L King
·
#49614
·
|
Best method to get prices of a batch of options?
Hi everyone,
This might be a silly question but I do appreciate your idea: I want to get the tick prices (bid and ask) of ~400 options (stock_symbols, expirations and strikes are known) to do some
By
PurpleIce
·
#49613
·
|
Re: tickPrice tick type "4" (last price) not being emitted for Forex?
Got it, does that mean the the 5 sec real time bars also don't contain actual trade prices but rather mid points too?? I suppose tick-by-tick subscription won't have last either then, is that
By
dam5h
·
#49612
·
|