¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
soft token issue at IB server
Odd, just when I thought all was well. Had restarted and relogged into IB¡¯s TWS app a day ago after it had run perfectly for a week. The restart and login went well and it was running fine from
By Stuart Cracraft <smcracraft@...> · #46157 ·
Linked accounts
If you create two linked accounts with a shared market data subscription, is it possible to be logged in to both accounts simultaneously via the API and have market data on both?
By Despair · #46156 ·
Re: Java switch/case, TickType Enum, and tickPrice()
Thanks, JR. I like this and am going to go with it. As you said, it probably shouldn't be a concern but I'll feel better having done it.
By B Talladell · #46155 ·
Re: Java switch/case, TickType Enum, and tickPrice()
I wouldn't be too concerned about the overhead from converting integers to TickType constants (spoken by someone who was brought up hand-optimizing MC68K code because coding in C was too much
By J¨¹rgen Reinold · #46154 ·
Re: Trading in the Last Minute of the Market
Edward, there may be many more order status changes than those that pertain to position opening and closing, e.g. between pre-submitted and submitted, so position tracking alone is not enough to
By ds-avatar · #46153 ·
Re: Java switch/case, TickType Enum, and tickPrice()
Yes, thank you.? I was hoping, however, to avoid iterating the the list of tick types every time tickprice() gets called.? Maybe it doesn't matter, but I do follow a few thousand symbols, so I try
By B Talladell · #46152 ·
Re: Java switch/case, TickType Enum, and tickPrice()
You can use TickType::get method. public void tickPrice(int tickerId, int field, double price, TickAttrib attrib) { TickType type = TickType.get(field); switch (type): { case
By Mikhail Ershov · #46151 ·
Java switch/case, TickType Enum, and tickPrice()
Hello, I'm trying to implement the switch/case below in java but can't seem to find an efficient way to avoid the "case expressions must be constant expressions" error.? I can create a new class and
By B Talladell · #46150 ·
Re: TWS API | Options market data request issue.
TWS API team?buried in the research of the problem... I'm currently ignore that error as a warning, and it seems market data comes after some time.
By Mikhail Ershov · #46149 ·
Using old versions of TWS
Occasionally members decide they want to use a version of TWS or Gateway that is no longer supported by IB. A prime example of this is version 972: this was the last 'stable' version that did not
By Richard L King · #46148 ·
Re: Trading in the Last Minute of the Market
This is a very interesting addition to the thread. My IB API code has not changed in about 10 years now, placing since then millions of orders. And I have never encountered a missing orderStatus. I
By Edward · #46147 ·
Re: Trading in the Last Minute of the Market
You *should* receive an openOrder callback for each transmitted order for the connected client. You *may* receive orderStatus callbacks for each status change of the order.
By ds-avatar · #46146 ·
Re: Find stock with ISIN given (VBA)
First, you absolutely need to understand how to use the Object Browser, which enables you to examine all the API classes, and their methods and properties in great detail. Also when you're typing
By Richard L King · #46145 ·
Re: Find stock with ISIN given (VBA)
Hello, I finally found the time to check out this method but I haven?t been successful yet. Below you can see the code I used to get the stock information with the ISIN given.
By ApiMadness · #46144 ·
Re: Trading in the Last Minute of the Market
I agree with Nick - it is up to you to select the desired implementation. I don't have any timers for the Market order and I'm handling following status changes: here is the list of statuses I
By Edward · #46143 ·
Re: Trading in the Last Minute of the Market
You will find that different people use different methods to keep track of orders and execs. I never use order status and only use exec details. I don't care what IB's internal order flow is, I only
By Nick <news1000@...> · #46142 ·
Re: Trading in the Last Minute of the Market
Hi Ed, Do you have a timer on your wait for orderStatus()? And are you submitting MKT orders with transmit=true? The reason I ask is because the code I have earlier on in my program uses orders with
By David Armour · #46141 ·
Re: Trading in the Last Minute of the Market
Yes, I've rechecked in my code. I use only orderStatus events. The execDetails event (callback) in my code exists but commented out. [email protected]> wrote:
By Edward · #46140 ·
Re: Trading in the Last Minute of the Market
Frankly, I don¡¯t remember my TWS code, but I¡¯m quite sure that I don¡¯t use execDetails. As far as I remember I ¡°sit¡± on the orderStatus. Ed Gonen
By Edward · #46139 ·
Re: Trading in the Last Minute of the Market
Actually it is the placing that is giving me the problem but I think it is a "feature" of the TWS API. I am entering MKT orders and I am expecting an orderStatus() callback but none comes within 5
By David Armour · #46138 ·