开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
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 ·
Re: tickPrice tick type "4" (last price) not being emitted for Forex?
They don’t transmit “last” because they don’t have that information. I believe this is documented somewhere, but I don’t recall where. What you see as “last” in TWS is actually the
By Richard L King · #49611 ·
Re: tickPrice tick type "4" (last price) not being emitted for Forex?
Thanks @Orionn.? I did assume that about volume since that is usually the case with forex, but crazy they don't tell you about the actual trades. They clearly show "last" in TWS, wonder why they
By dam5h · #49610 ·
Re: tickPrice tick type "4" (last price) not being emitted for Forex?
That is the expected behavior. IB never provided last price nor volume data for Forex (and metals like XAUUSD). Only bid/ask data is provided. To get last price and volume data you need to request
By Orionn · #49609 ·