开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
Re: Strange Glitch When Requesting PNL
I had a couple minutes and a paper account with no positions and was able to replicate the TWS behavior you report: * A (paper) account has no positions (other than cash) * The portfolio/account
By Jürgen Reinold · #49664 ·
Re: can two clients for the same ibgateway share market data?
I ran two and more clients connected to the same IB Gateway 981.3o in paper and real accounts and received no error conditions. Everything worked fine, as expected, and just like always, and I cannot
By Jürgen Reinold · #49663 ·
Re: can two clients for the same ibgateway share market data?
ibgateway is 981 and only the 2nd connected client has 10197...it happens consistently based on previous discussion about 10197 IB definitely changed rules...
By liulinglll@... · #49662 ·
Re: Tws Vs Gateway Api
Hello Jurgen, Wow thank you for the through explanatio, I super appreciate it! Also I am eager to try to come up with something using your solution;? the IBApi.Order object
By adamsmail54321@... · #49661 ·
Re: Strange Glitch When Requesting PNL
Which PNL feed are you trying to subscribe to, Marc? * IBApi::EClient::reqPnLSingle ( https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#a9ba0dc47f80ff9e836a235a0dea791b3 ) *
By Jürgen Reinold · #49660 ·
Re: VIX weekly settlement price
Glad this helped. And I learned a few new VIX tidbits, too. Jürgen
By Jürgen Reinold · #49659 ·
Re: can two clients for the same ibgateway share market data?
Does this happen all the time? Which IB Gateway version are you running, and will both clients get the error? We sometimes (but rarely) see "Code: 10197" errors during the nightly IBKR maintenance
By Jürgen Reinold · #49658 ·
Re: Tws Vs Gateway Api
Are you referring to the Global Configuration -> Presets -> ... settings in TWS, Adam? Those only impact orders you manually place from within TWS and they are missing from IB Gateway since it does
By Jürgen Reinold · #49657 ·
Re: VIX weekly settlement price
Wonderful! Thank you so much. This was exactly what I was looking for.
By Despair · #49656 ·
Re: VIX weekly settlement price
IBKR has some material online about VIX trading. Among them is this CBOE document from 2010 ( https://www.interactivebrokers.com/webinars/Trading_VIX_Futures_Options.pdf ). On page 17 they describe
By Jürgen Reinold · #49655 ·
Re: updateAccountValue callbacks received but not accountDownloadEnd
Thanks Jürgen. I wasn’t aware of observable data objects, so that is a great tip. Yes, using Python. Sent: Friday, 15 July 2022 1:02 PM To: [email protected] Subject: Re: [TWS API]
By David Walker · #49654 ·
Re: updateAccountValue callbacks received but not accountDownloadEnd
Details depend on your application architecture, your framework(s), and to some degree the programming language you use. In the simplest case you could use a model (as in Model-View-Controller) with
By Jürgen Reinold · #49653 ·
Re: updateAccountValue callbacks received but not accountDownloadEnd
Excellent, thanks Jürgen. So in terms of live monitoring of account/order updates, a separate thread event object (for the incremental updates) is best. Dave Sent: Friday, 15 July 2022
By David Walker · #49652 ·
Re: updateAccountValue callbacks received but not accountDownloadEnd
In general, you should expect one and only one "end" callback for each request call. If the request also subscribes you to future updates, in general, do not expect any additional "end" calls. When
By Jürgen Reinold · #49651 ·
Re: updateAccountValue callbacks received but not accountDownloadEnd
Can anyone help on this one? Would just like to know if accountDownloadEnd is sent by the API at the end of each (3 min) accountDownload subscription set, or only after the initial request is
By David Walker · #49650 ·
VIX weekly settlement price
Is it somehow possible to retrieve the weekly settlement price of the VIX via the API? And if so when is it available? So far I fetch it directly from www.cboe.com ( http://www.cboe.com ) but I hoped
By Despair · #49649 ·
Cannot connect to Production API, test is OK.
Jürgen, The "q" netstat option in not supported on my Win7 machine.? Thanks for suggesting, though. All's well so far ... Thanks, as always, and Be Well, Lou Dudka
By Lou Dudka · #49648 ·
Re: Cannot connect to Production API, test is OK.
Nothing is impossible, Lou, but my money is still on some application (real or defunct) holding the port. And it could simply be the old TWS during restart in case it does not completely
By Jürgen Reinold · #49647 ·
Cannot connect to Production API, test is OK.
Jürgen, OK, so Friday evening 07/08/22 I shut down everything and re-booted.? All times NYC. I brought up both test and prod TWS.? Everything went fine, as expected, and there were no port
By Lou Dudka · #49646 ·
Re: Sample code for most common use cases?
Getting back on this topic, I found a website providing useful code samples for common use cases of TWI API: https://algotrading101.com/learn/interactive-brokers-python-api-native-guide/ Some
By PurpleIce · #49645 ·