¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: How to get longer historical data?
Hi David, For the reqHistoricalData <https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#aad87a15294377608e59aec1d87420594>() call I would recommend to use "formatDate" argument
By Dmitry Shevkoplyas · #46169 ·
Re: Linked accounts
I believe that only one can use the subscription at a time.? When you launch trading with one user, it pauses the other.? You can test it out easily enough by running two instances of TWS and see
By Jonathan S · #46168 ·
Starting with TWS APi using C++, looking for advice
I'm just getting started with using the TWS APi.? I'm using c++ as that's the language I'm most familiar with. Questions: 1) Is it better for me to use the latest APi version 9.81 or the stable
By ron.hardock@... · #46167 ·
DDE Socket Bridge with Virtual Windows Server
Hi, I've been successfully using an Excel trading model and DDE Socket Bridge to automate my trading on a local desktop computer.? I'm trying to move that to the cloud.? I tried to run it all in a
By David J · #46165 ·
Re: Combo STK/STK position update delay
I meant it occasionally takes a moment for the position to update. Upon receiving the filled event I immediately request the current position and send out a reactionary order. I had initially assumed
By kav · #46164 ·
Re: How to write report for Algotrading
Hello, You need to answer that for yourself. It is not possible for others to say what you might find informative or not. I very strongly recommend you think about what you are trying to do,
By mark collins · #46163 ·
How to write report for Algotrading
Good evening! I am a newbie for algo trading How to write an account summary, positions report in Algo Trading. What is the main parameters that needs to pay attention, there is a lot of parameters, I
By AnerG corp · #46162 ·
Re: Combo STK/STK position update delay
What do you mean by "it takes to update the position"? I'm using STK/STK orders myself. Directly after an order is executed I receive updates for the order status (usually a whole bunch of events),
By Despair · #46161 ·
Re: Combo STK/STK position update delay
Also, is it best practice to pull current position from IB periodically or instead to just pull position once at algo inception and keep an internal ledger based on filled confirms?
By kav · #46160 ·
Combo STK/STK position update delay
Hello, I am using the IB Combo trader to route an order in a stock/stock combo. I check the position after receiving an order filled event, however I've noticed there is often a delay in the time it
By kav · #46159 ·
Re: soft token issue at IB server
Sunday often has issues, but last night there was something up: I lost contact to some accounts at 05:30 GMT, and the login servers failed for a while. It came back up though. So I'm guessing all
By mark collins · #46158 ·
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 ·