开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
can two clients for the same ibgateway share market data?
I have 2 clients connecting to the same ibgateway and both of them subscribe to some market data. The 2nd connected client has error - "Code: 10197, Msg: No market data during competing live
By liulinglll@... · #49644 ·
Tws Vs Gateway Api
Does anyone happen to know? I use the Gateway API for placing orders using my python script. In?the gateway settings there are a few options to set specific order conditions, However in the settings
By adamsmail54321@... · #49643 ·
Strange Glitch When Requesting PNL
This took me forever to diagnose, but here is the glitch.? When request PNL message is sent there is no PNL response if you've already asked before.? Let me explain. This only happens under certain
By Marc Valme · #49642 ·
Re: What is manualOrderCancelTime param of Eclient::cancelOrder( int id, String manualOrderCancelTime)
Thanks again, Jurgen E [email protected]> wrote: Ed Gonen
By Edward · #49641 ·
Re: What is manualOrderCancelTime param of Eclient::cancelOrder( int id, String manualOrderCancelTime)
No problem, Ed. If you follow the call path in the Java API source code you will find that either option (null or "") is fine and yields the same result. The Order class uses Order.EMPTY_STR to
By Jürgen Reinold · #49640 ·
Re: What is manualOrderCancelTime param of Eclient::cancelOrder( int id, String manualOrderCancelTime)
Thanks a lot for such an elaborated answer. I guess you're right. I was wondering if anybody is really using 10.16 API and what do they pass as this parameter. There are two options-empty string ot
By Edward · #49639 ·
Cannot connect to Production API, test is OK.
Jürgen, I'd first like to thank you for the time and effort you put into this site, we are very fortunate to have you. Secondly, I like to especially thank you for the same time and effort you put
By Lou Dudka · #49638 ·
Re: What is manualOrderCancelTime param of Eclient::cancelOrder( int id, String manualOrderCancelTime)
Just guessing here, Edward, but this is probably related to the new order class ( https://interactivebrokers.github.io/tws-api/classIBApi_1_1Order.html ) field ManualOrderTime (
By Jürgen Reinold · #49637 ·
Re: What is manualOrderCancelTime param of Eclient::cancelOrder( int id, String manualOrderCancelTime)
Any answers to this? I've replaced my 9.x API with the 10.16 and, naturally I had to add this parameter. Having added it as just DateTime.Now led to a problem that the submitted orders are not always
By edwardgonen@... · #49636 ·
Re: ERROR -1 2104 Market data farm connection is OK:usfarm.nj
Found the answer on https://interactivebrokers.github.io/tws-api/message_codes.html 2104 Market data farm connection is OK A notification that connection to the market data server is ok. This
By PurpleIce · #49635 ·
ERROR -1 2104 Market data farm connection is OK:usfarm.nj
Hi all, Each time I started my TWS api program (python) these messages show up. They start with "ERROR" but seems connection status report. Anyone knows why they show up? Using args
By PurpleIce · #49634 ·
Re: reqHistoricalData - volume returned as 0.0
It looks like your contract object relates to NQU2 futures but on 20220401, NQM2 is still the front future. I just repeated your query and while NQM2 does have trades in pretty much every second in
reqHistoricalData - volume returned as 0.0
Hey, I am trying to pull out some historical data about NQ Future. The time frame is 1 sec for the last 30 min (for example) - The thing is that the volume is always returned as 0.0 which is doesn't
By shriki36@... · #49632 ·
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 ·