开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Date
TWS alerts to API
Hi. Can't find a way to get Alerts set up in TWS to show in API. Or a way to set up Alert via API. API documentation doesn't help. Regards Priit
By priit@... · #47231 ·
IBAPI - Contract details for micro contracts MYM
Hello, I'm new at this, and would like some help with Contract Definitions for the ECBOT exchange contracts. Using the provided Python sample Program.py and am able to obtain snapshot data for
By Kevin · #47230 ·
Re: ibapi nextValidId not always invoked
indeed, that is the solution i adopted too. thank you very much @ScottBrian
By alexbodn@... · #47229 ·
Re: ibapi nextValidId not always invoked
thank you @ScottBrian, this is indeed my first time to deal with threads. my program is not intended to stop receiving data, but to handle as much of it. about your solution: i see the run() method
By alexbodn@... · #47228 ·
Re: ibapi nextValidId not always invoked
Hi Alex, I have some additional thoughts: IBapi __init__ calls host_connect which will be unsuccessful if TWS is not yet up. This we know. But then, __init__ instantiates a thread for the EClient run
By @ScottBrian · #47227 ·
Re: OCA Order Examples
My apologies for the spamming of messages - last one. I figured it out. For anyone else that searches for and finds this, my mistake was believing that I needed to submit the multiple orders through
By zirndorfer2021@... · #47226 ·
Re: OCA Order Examples
The ocaContract list above was just testing to see if I could use a list for that purpose - I obviously couldn't.
By zirndorfer2021@... · #47225 ·
Re: OCA Order Examples
After working on this further, my main issue seems to be with the contract field in the placeOrder for the OCA. When checking via relevant prints, the list doesn't seem to contain the full contract
By zirndorfer2021@... · #47224 ·
Re: Do I need to create a GUI for using the IBAPI sample program TestCppClient. Thanks.
Thank you for your info, hymagik. My MFC Dialog-based window program is running OK now. Thank you anyway.
By jnyusf · #47223 ·
Re: ibapi nextValidId not always invoked
Hi Alex, I had a similar problem with a connect being done on the heals of a disconnect. I determined that the EClient disconnect code failed to wait for the reader thread to come home. It was
By @ScottBrian · #47222 ·
OCA Order Examples
Hey everyone, I'm in the process of setting up the IB Api in Python and I am pulling my hair out trying to get a One Cancels All order setup correctly (i.e. without errors). I was wondering if anyone
By zirndorfer2021@... · #47221 ·
Re: Is it possible to open multiple connection through TWS API?
Well then you do this. Connecting with different client IDs will allow you to stream quotes with one client and download historical data with the other for example.
By Despair · #47220 ·
Re: How Market Data Farm is ON when the API Client is not connected itself?
The TWS display of market data farm has nothing to do with the api. It is telling you that TWS itself is connected to IB's data farm server. You broke your code when you changed it so that you are
By Nick <news1000@...> · #47219 ·
Re: Is it possible to open multiple connection through TWS API?
Hello, Despair, Thanks for your message. Actually, I am not interested to store Historical Data in the database. I want to pull historical data direct from IB and calculate the required indicators.
By Tareq Naushad · #47217 ·
Re: Is it possible to open multiple connection through TWS API?
You can be connected to the API with several different client IDs simultaneously. However you don't really need the API to calculate indicators.
By Despair · #47216 ·
Is it possible to open multiple connection through TWS API?
Hello, In one of our custom web-based applications for strategy making in trading, we are running a TWS API connection to stream data (which is run all-time). Now we want to open another connection to
By Tareq Naushad · #47215 ·
ibapi nextValidId not always invoked
i built a small ibapi python app to run some strategy, while taking care to stay connected to tws. if tws is inactive, the python app will start and wait, and will connect to tws when tws will start,
By alexbodn@... · #47214 ·
Re: Contents of "SecIdList" within a contract object.
I doubt they'd have Ric or Sedol..? Those are also subscription based on the source side, which I haven't seen mentioned in IB..? I believe the SecIdList is populated with what's available
By Peter Drier · #47213 ·
Contents of "SecIdList" within a contract object.
According to the TWS API guide, we have the following definition for this sub-field of the Contract object: List< TagValue ( https://interactivebrokers.github.io/tws-api/classIBApi_1_1TagValue.html )
By Aquiles Páez <aquilesjlp300@...> · #47212 ·
Historic ETF NAV
Hello, Is there a way to get daily historic ETF NAV?, i.e. the NAV Prior Close value as shown in ETF watch list columns
By nshale2@... · #47211 ·