¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
How to get specific data (like Open, High, Low) of Options using TWS reqContractDetails()?
Hi, I am using the following code to get Options Data using TWS: I just print the response now, the code looks like this: Which returns a bunch of output as:
By Tareq Naushad · #48319 ·
Re: Sending multiple orders
Thank you for your answer. I did the changes, and now multiple orders are being send. I added more tickers to my list, and it's sending as many orders as I have in my list. But unfortunately,? the
By alexandrejvrichards@... · #48318 ·
Re: Scanning with IABSocketAPI in C++ Builder
I doubt anyone here will be able to help since almost everyone uses one of the IB supplied libraries. Your best best would be to contact the library developer if they are still around.
By Nick <news1000@...> · #48317 ·
Scanning with IABSocketAPI in C++ Builder
Hi, I am using IABSocketAPI from hhssoftware.com and trying to do a gap scanner. After months, I cant get the code working Note: I dont do python, of Visual studio or Java. I got the hhssoftware
By Colin B Maharaj · #48316 ·
Re: MOC orders and ocaGroup
MOC orders can be placed in OCA groups in unprotected-reduce mode. That's the single mode that has worked in my experience?with MOC orders, with an additional caveat that the closing order will
By ds-avatar · #48315 ·
Re: Sending multiple orders
The code (as you've shown it) only iterates the definition of the contract.? The rest of the code (defining the order, reqId, placeOrder) is only called once.? You need to indent the relevant
By David Walker · #48314 ·
Sending multiple orders
Hey guys, newbie here. I have been working on the tws api with python for two months now, and for the past two weeks I've been trying to send multiple orders at once. But unfortunately only the last
By alexandrejvrichards@... · #48313 ·
Re: MOC orders and ocaGroup
You'll probably have to talk to IB to get an official answer. If I remember right MOC orders can't be modified within 10 minutes of the close. Cancelling one of the other orders in this time would
By Nick <news1000@...> · #48312 ·
Re: MOC orders and ocaGroup
That's too bad. Maybe the MKT plus TimeCondition near market close we use for futures can work for you, too.
By J¨¹rgen Reinold · #48311 ·
Re: MOC orders and ocaGroup
Great suggestion, thanks J¨¹rgen. Manually keying a MOC order in an ocaGroup with a trailing stop and a limit stop gives these errors: Reduce others:? OCA handling method mismatch Reduce others
By David Walker · #48310 ·
Re: MOC orders and ocaGroup
Does TWS allow your construct when you key that in manually? Reason why I ask is that I just went through a debug cycle for a very similar issue. In my case it was a MKT order with TimeCondition set
By J¨¹rgen Reinold · #48309 ·
MOC orders and ocaGroup
Has anyone worked out how to handle MOC (Market on Close) orders inside an ocaGroup?? There doesn't seem to be a valid ocaType setting for a MOC order: 1 & 2 return error 201 ("Order rejected -
By David Walker · #48308 ·
Re: Version 10.10 of Gateway.
Many thanks Richard. I discovered what my problem was. My client was still using the old TWS port, instead of the new IBG port.
By polomora@... · #48307 ·
Re: Version 10.10 of Gateway.
Don't worry. That option is not needed for the Gateway because it really only exists for use of the API, so it always allows socket-based technologies such as ActiveX and the new DDE Bridge. So it
By Richard L King · #48306 ·
Re: Version 10.10 of Gateway.
Sorry for highjacking the original message content. I was searching though the group posts, and found this message. I've decided to ditch TWS and switch to IB Gateway. I currently TWS in combination
By polomora@... · #48305 ·
Re: Wednesday night TWS restart not clean - stuck in "Initializing managers..." and purple grids
Thanks for the prompt responses. I am not sure if/how its connected to daily resets or daily restarts. I have tried restarts before resets as well ( 8 PM PST) and thats when I noticed this first. So I
By rajeshh · #48304 ·
Re: Wednesday night TWS restart not clean - stuck in "Initializing managers..." and purple grids
As Nick already suggested, you might want to move your daily restart time a little. Maybe past midnight your time or after the markets have closed. We moved ours to 16:45 US/Central a while back and
By J¨¹rgen Reinold · #48303 ·
Unpicking Java API 10.10.04
Going through the code now as it's broken my Clojure wrapper. Here are a few findings that may help others. Please chime in if you've found other problems, my daily usage covers such a small area of
By Alex314159 · #48302 ·
Re: How to connect to TWS from server side
It's a pretty lightweight node.js Typescript App. https://github.com/waytrade/ib-api-service (the code on github in the mid of ongoing rework, some features not re-added again and docker not merged
By Matthias Frener <matthias.frener@...> · #48301 ·
Re: How to connect to TWS from server side
That sounds compatible with the latest from IBKR where they say a new login is needed weekly. Is your middleware a python script looping and doing the REST commands, or something more heavy? I'll look
By John Griessen · #48300 ·