¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
How to handle if I sell stock from TWS while it was bought by API application ?
Hi all, I have a question for a case which I need to handle. During my tests I have experienced the following a. API application generates a signal to buy and place the order, I keep the inventory
By Obiwan23 · #50053 ·
Re: C++ upgrade api to 10.11, __bid64.. error
You're saying you can't build the sample either? You should be able to IMHO. I tend to agree with J¨¹rgen on this one... if they ship the library, use it. As far as if your tick info is correct...
By buddy · #50052 ·
Re: C++ upgrade api to 10.11, __bid64.. error
The latest TWS API 10.18.02 ships with a makefile for C++ on Linux that contains rules for static and shared library client client compilations and uses the libraries supplied by IBKR. It also
By J¨¹rgen Reinold · #50051 ·
Re: C++ upgrade api to 10.11, __bid64.. error
I'm using Arch Linux, which as far as I know doesn't have a package for libintelrdfpmath. I obviously tried using the stock library provided with the API
By thepeete · #50050 ·
Re: C++ upgrade api to 10.11, __bid64.. error
Why can't you link your programs with the TWS API provided libraries? Those are the ones IBKR uses and has tested the API against. Using any "similarly named" libraries from source or Debian packages
By J¨¹rgen Reinold · #50049 ·
Re: C++ upgrade api to 10.11, __bid64.. error
That looks like an endianness issue.? Make sure your intel fp libraries is the correct one for your CPU.? 0x31C0000000000000 is 3091 (base 10) or 0x0C13 (in hex) when the endianness is switched.?
By Hunter C Payne · #50048 ·
Re: C++ upgrade api to 10.11, __bid64.. error
Not to mention, how exactly are you outputting the contents? After all, it is a binary encoding so looking at the hex or casting it to some other type doesn't make a lot of sense. In other words,
By buddy · #50047 ·
Re: C++ upgrade api to 10.11, __bid64.. error
Can't say I have. However, it's interesting to me that you downloaded the Intel library and built it from source yourself. Because... a quick internet search for "__bid64_from_string" yields
By buddy · #50046 ·
Re: C++ upgrade api to 10.11, __bid64.. error
Hi, I'm trying to revive my old linux C++ program that connects to TWS, updating it use IBJts.10.16 (and now .18).? That Decimal type is really messing with me.? I can't link my program with the
By thepeete · #50045 ·
Re: Out of Memory error when using ActiveX for Excel API
joanmarcel119, you are my hero!? Thank you SO MUCH for taking the time to provide your thoughts.? Problem solved!!!
By martintanner@... · #50044 ·
Re: Out of Memory error when using ActiveX for Excel API
Yes, I had this problem once and I did create a new Excel file and copy the vba to this new one, everything worked again. Sometimes any Microsoft software gets corrupted and start to fail or runs
By joanmarcel119 · #50043 ·
Out of Memory error when using ActiveX for Excel API
Only in the last few days I have been getting VBA "Out of Memory" errors when I start my Excel API (even if the exact same workbook worked perfectly fine beforehand and whether or not TWS or other
By martintanner@... · #50042 ·
Re: non-simultaneous clients w/ different ID#s won't receive price ticks
Thanks guys. You've just just saved me a ton of time. I've been seeing this behaviour for a while but I'd be ignoring it because I thought it was probably my code at fault. I've got higher priorities
By Anders <anders@...> · #50041 ·
Re: non-simultaneous clients w/ different ID#s won't receive price ticks
Thanks for this Richard. I know there are a number of workarounds and since I am "Linux folk" I haven't looked closely at what you're proposing since it's heavily based on VB. At the end of the day
By buddy · #50040 ·
Re: non-simultaneous clients w/ different ID#s won't receive price ticks
Ok, maybe I wasn¡¯t explicit enough. The point of step 7 is to demonstrate your original observation that after the first connection is broken, another client cannot get the data for that same
By Richard L King · #50039 ·
Re: Setting exchange for "NASDAQ" traded stocks yields Error 200.
It is a good practice to retrieve contract objects from IBKR (rather than making them yourselves) as described in Requesting Contract Details (
By J¨¹rgen Reinold · #50038 ·
Re: Setting exchange for "NASDAQ" traded stocks yields Error 200.
may you try ISLAND instead of NASDAQ ?
By Gordon Eldest · #50037 ·
Setting exchange for "NASDAQ" traded stocks yields Error 200.
Hello, I am trying to download historical data for a universe of US stocks and ETFs. I have code that creates a new contract and downloads the historical data. When I set the "contract.Exchange"
By dankoc@... · #50036 ·
Re: non-simultaneous clients w/ different ID#s won't receive price ticks
In other words... once all clients disconnect, you MUST re-connect with the same ID that the first connection was made with. It's a ridiculous requirement, I know... but that's the nature of this bug.
By buddy · #50035 ·
Re: non-simultaneous clients w/ different ID#s won't receive price ticks
I previously thought that could be a solution too and so I actually tried using cancelMktData before disconnecting as well. I just tried it again and it doesn't solve the problem. However, it does
By buddy · #50034 ·