Re: API error - Your API version does not support fractional size rules (during forex price extraction)
I would like to let you know the latest Beta version I just tried today seems to fix the issue : version 10.21.0w. They added a tick box in the API settings (at the very bottom) to ? Send Forex
By
twoprint@...
·
#50531
·
|
Re: stupid ib authentication
Good point about the restart. I got the automated notifications working again, but I had to delete the app and reinstall without restoring the previous activation to make it work.
By
Greg C
·
#50530
·
|
Re: stupid ib authentication
I frankly understand your frustration. However, lots of pain can be taken off the process. Most recent TWS include a "restart" in the menu, which makes it unnecessary to enter your pin on the IB app
By
cactus74@...
·
#50529
·
|
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
hymagik is correct about the somewhat messy C++ Decimal support and the fact that IBKR has selected a decimal size of 8 bytes (64 bits). To be more precise, IBKR decimal uses a "MathContext with a
By
J¨¹rgen Reinold
·
#50528
·
|
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
There are really no settings you can change. You would have to use a TWS API Version of at least "163" for any of the fractional size rules to work. rossh_yh mentioned that "163" is available in TWS
By
J¨¹rgen Reinold
·
#50527
·
|
Re: Building up a C++ Client
Did you try the IB exemple ? From your code I wonder where is the reader thread launched. look for eConnectImpl and see what is inside Raw from my notes: (written as ongoing job, not sure 100%
By
Gordon Eldest
·
#50526
·
|
Re: trouble linking twsapi
I guess it's because you use 000, which if I remember well require that you call by reference. Try 100 I use https://netlib.org/misc/intel/ Look at the readme and bid_conf.h Makefile does generate a
By
Gordon Eldest
·
#50525
·
|
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
Thanks Jurgen for the very comprehensive answer which is much appreciated. I need to dig around and figure out why this change is preventing specifically the download of Audusd Forex contract. It
By
Mark Murari
·
#50524
·
|
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
Atop excellent answer from J¨¹rgen I may mention some caveats of Decimal from C/C++ perspectives (that may be source of inspiration for other language) - On 64 bits machine (and I suspect regardless
By
Gordon Eldest
·
#50523
·
|
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
There have been many changes between TWS API V9 and V10, but the one with the most impact is the transition of most "size" fields in classes and method signatures from "int/long" or "double" types to
By
J¨¹rgen Reinold
·
#50522
·
|
Re: trouble linking twsapi
Thanks! Pretty surprising that they didn't catch this. Tried installing the file from here (
By
Mayan Atid
·
#50521
·
|
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
"IB support mentioned they changed the variable type of AUD.USD to decimal" Having this issue myself. Could someone please shed some light on what is a 'decimal' variable type and how does differ from
By
Mark Murari
·
#50520
·
|
stupid ib authentication
It was always quite crap before. You had to open the IB app on your phone in order to get the automated alert to authenticate logging in. Now even that is broken and I am pissed, I don't want to type
By
Greg C
·
#50519
·
|
Building up a C++ Client
I am required to build a C++ IB Feed Handler, This is how I connect to the IBGW Instance : bool Connect() noexcept { LOG(INFO) << "Inside Connect"; if (IsConnected()) return true; if (host_.empty())
By
shubh5796@...
·
#50518
·
|
Re: trouble linking twsapi
The libbid.a file they've provided is faulty, try re-making that file manually after cloning its repo from github
By
shubh5796@...
·
#50517
·
|
Re: reqHeadTimestamp and reqHistoricalMktData return Strange Error
@J¨¹rgen, I read that topic and that is what led me to try to use Exchange = Primary Exchange. It worked for a similar case I had with the symbol "LIN" but failed to work with "VICI" hence my post.
By
David Armour
·
#50516
·
|
Re: reqHeadTimestamp and reqHistoricalMktData return Strange Error
We had topic No historical market data for AAL/STK@VALUE Last 1d ( /g/twsapi/topic/92765278 ) in august with a similar issue. At the end this is probably a question for IBKR, though.
By
J¨¹rgen Reinold
·
#50515
·
|
Re: trouble linking twsapi
Hey having this same issue. Have tried a bunch of things but seems like libbid.a is the culprit. I know it's been a year but hoping someone can help. Thanks!
By
Mayan Atid
·
#50514
·
|
Re: reqHeadTimestamp and reqHistoricalMktData return Strange Error
Strange, I have the same problem but when I use AMEX as the exchange it works...
By
buddy
·
#50513
·
|
reqHeadTimestamp and reqHistoricalMktData return Strange Error
I am placing a reqHeadTimestamp() to get the starting point for the data for the symbol VICI which is traded on the NYSE. It was added to the S&P500 in June '22 so the available data may be short, but
By
David Armour
·
#50512
·
|