¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: TWS API 10.20 c++ windows
Hi David, I have installed VCPKG and "intelrdfmathlib" but still getting 2 (3) errors trying to compile to x64. Severity Code Description Project File Line Suppression State Error LNK2019 unresolved
By YubiVan · #50885 ·
Re: logout to run a new historical data request?
I don't think it's disconnecting gracefully after app.run() is called. I can't find anything in the docs [https://interactivebrokers.github.io/tws-api/connection.html] about disconnecting either. It
By tbrown122387@... · #50884 ·
logout to run a new historical data request?
I'm running a Python script I found on the internet (attached below) to pull some historical data from ib. It works well if I run it once. If I run it twice it doesn't receive anything. If I run it in
By tbrown122387@... · #50883 ·
c++ requesting option chain and option data
I have a goal of using the scanner, then getting the entire option chain and option bid/ask data of scanner results, and use that to placeorder, so far I have had to use four
By H Liu · #50882 ·
Re: Stock Margin requirements
afaik it is not
By fordfrog · #50881 ·
Re: Stock Margin requirements
Yeah, that's exactly what I wanted: a stock margin independent from my account, and the one displayed in the details window. Anybody knows if this margin is available via API? Normally, everything
By Francois G · #50880 ·
Re: Stock Margin requirements
what you get via placeOrder() is rather what you get in tws in the preview window than what's in the contract description window. in general these two should be the same, though there might be cases
By fordfrog · #50879 ·
Re: Stock Margin requirements
Thanks fordfrog. You're 100% right. This margin can be retrieved with WhatIf Buy order. Below margin returned is indeed 100% for ADMP. I was actually so sure it would not, as it is attached to the
By Francois G · #50878 ·
Re: Stock Margin requirements
i didn't test it on this stock (or stocks), but are you sure you cannot retrieve it using placeOrder() (
By fordfrog · #50877 ·
Stock Margin requirements
Hello, I read this forum extensively, but didn't find how I can retrieve the margin informations about a US Stock. It's not in Contract, neither ContractDetails, This is not the information I should
By Francois G · #50876 ·
Re: Can't get snapshots from API
Did you get any further with this topic? I have the same problem... why can I draw a snapshot inside TWS, but not from an API call?! For the same asset. Not matter how I set my flags. Is it possible
By DreamAwake · #50875 ·
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
Hi J¨¹rgen, thank you for your explanation. Especially the relationship between IB's Decimal and Java's BigDecimal classes. I understand what you mean by the sentence "once in decimal you want to stay
By J G · #50874 ·
Re: IB Gateway won't work after May 8?
There were breaking API changes in 10.14 if you used any third party layers as errorHandler obtained another parameter.
By misantroop · #50873 ·
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
Traditionally, the TWS API used floating point "double" values for price fields a mixture of data types (int, long, double) for size and quantity fields in order related classes an for real-time and
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
J¨¹rgen, you mention "With the introduction of the new Decimal type, transition to API V10 versions is not trivial". I have not done the upgrade yet, am using API version 972. All my software is
By J G · #50871 ·
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
You might still want to put in the elbow grease and start moving from V9 API to V10 soon, but on your own terms and time frame, Mark. You will be able to keep your FX data flowing in the interim with
By J¨¹rgen Reinold · #50870 ·
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
Thanks for the responses everyone, if anyone else hits this: There is a setting preset in the newer versions of TWS, which should allow you to overcome error 163: TWS > File (top-left corner) >
By mark collins · #50869 ·
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
i can see here ( https://interactivebrokers.github.io/ ) both 10.19 and 10.20 available, so no signing up should be needed. i am also signed to their project, but recently i implemented the tws api
By fordfrog · #50868 ·
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
What error message are you getting, Mark? If TWS API complains about the fact that your client does not support fractional sizes, you need a client API version with MAX_VERSION of at least 163. Client
By J¨¹rgen Reinold · #50867 ·
Re: API error - Your API version does not support fractional size rules (during forex price extraction)
I'm probably still being a bit slow here, but how do you get the client to be able to read the data without signing up to a github research project and using a beta release? Best
By mark collins · #50866 ·