Re: "438 : The application is now locked" and "326 : Unable to connect as the client id is already in use..." discontinued ?
I have just received the following update from IB regarding this issue:
"Please be aware that "Client ID is already in use" error will be brought back in the upcoming releases."
I have asked that
By
Orionn
·
#54023
·
|
Is a race condition that causes inconsistent states of position and open orders possible?
If in the messages TWS streams back to the client, it sends the order/execution message first before it sends the position update message, it is possible for the client to be in an inconsistent state
By
Little Trader
·
#54022
·
|
Re: Accounting for 2024, always 10% off
I am not a tax expert either and use FlexQueries only infrequently (so I am not very well qualified for an answer, but ...)
Depending on what instrument you trade, at least here in the US, trade
By
Jürgen Reinold
·
#54021
·
|
Re: Accounting for 2024, always 10% off
1.) I think they are subtracted.
2.) They are luckily not 10%.
Has anybody a link to where all the fields of the flex query are explained in detail? I searched but couldn't find this info.
There are
By
Despair
·
#54020
·
|
Re: Accounting for 2024, always 10% off
What about the transaction fees ?
They may have been substracted or not from the amount you got.
By
Tradiator
·
#54019
·
|
Re: Accounting for 2024, always 10% off
Hmm I'm not US citizen. I'm in Europe and with IB Ireland. I sent in this form to avoid double taxation but that maybe has nothing to do with it (I'm awful with all this tax things)?
However the
By
Despair
·
#54018
·
|
Re: Accounting for 2024, always 10% off
Perhaps this is due to an automated 10% withholding tax that IB automatically deducts (for example, if you are not a US citizen)
By
Yair Altman
·
#54017
·
|
Accounting for 2024, always 10% off
For my tax declaration I always run a flex-query to get a file over all transactions of the year. The report gives me among many other things a column called CapitalGainsPnl.
This should be how much I
By
Despair
·
#54016
·
|
Re: ERROR -1 2104 Market data farm connection is OK:usfarm.nj
HMDS data farm connection is inactive but should be available upon demand.ushmds
By
hellemory612@...
·
#54015
·
|
Re: Building a real time feed: reqMktData vs reqHistoricalData vs reqRealTimeBars (with keepUpToDate=True)
I don't completely follow your suggestions, but you may misunderstand the TWS API capabilities.
You are correct in that one TWS/IBGW supports connections from up to 32 client applications
By
Jürgen Reinold
·
#54014
·
|
Re: Building a real time feed: reqMktData vs reqHistoricalData vs reqRealTimeBars (with keepUpToDate=True)
Also interested. By the way, I like the case that on one single machine, I can monitor real-time streaming for multiple symbols ( for example, 10 symbols) at the same time.
(a) I understand that one
By
hellemory612@...
·
#54013
·
|
Re: Why SPX options strike 5635 missing from options chain for 2025-03-14?
Thank you Daniel. I need to change my code to cater for this.
By
Lewis_Tang
·
#54012
·
|
Re: IB Gateway auto-restart fails - "COMPETE: session kicked out" and "Disconnect all farms due to competing session [control=false,context=]."
Yeah, that is true.
In fact I tried to manually just disconnect internet only, and upon reconnection the session was re-established fully without the re-login step, so it's not deterministically true
By
Renato Votto
·
#54011
·
|
Re: duplicated order id
thanks Jurgen,
I think, as usual :), you got the point in your second bullet. After
calling the nextOrderId function I have two assignments in the strategy
code and after a third instruction where
By
Marco
·
#54010
·
|
Re: IB Gateway auto-restart fails - "COMPETE: session kicked out" and "Disconnect all farms due to competing session [control=false,context=]."
I had a similar issue with IBC+IBGW+my trading app running in a Docker container. I used a cron job to shutdown the container after market close each day and then restart it before market open.
By
Bart D
·
#54009
·
|
Re: IB Gateway auto-restart fails - "COMPETE: session kicked out" and "Disconnect all farms due to competing session [control=false,context=]."
I would be a little careful with tests over the weekend, especially Saturdays. That is when IBKR does the "oil changes" on their servers and specifically logins and restarts may not work as expected.
By
Jürgen Reinold
·
#54008
·
|
Re: IB Gateway auto-restart fails - "COMPETE: session kicked out" and "Disconnect all farms due to competing session [control=false,context=]."
Ok, here's a (hopefully) good development: I just casually let a container displaying on the X server run on my local machine, went away, the machine went in standby and:
Excatly the same log
By
Renato Votto
·
#54007
·
|
Re: duplicated order id
The precise TWS API requirement is that order IDs for new orders shall be "greater than all previous order IDs returned to the client application in openOrder or orderStatus callbacks".
Your
By
Jürgen Reinold
·
#54006
·
|
duplicated order id
Hi All,
I have an issue with orderId assignment. I have a python code where the
client is a class and assign orderId to different strategies running in
parallel (each strategy implemented in a
By
Marco
·
#54005
·
|
Re: IB Gateway auto-restart fails - "COMPETE: session kicked out" and "Disconnect all farms due to competing session [control=false,context=]."
Hard to say what is going on, Renato.
While IBGW does not implement fancy forms and complex media content (compared to TWS), it still needs a complete and pretty sophisticated graphics subsystem for
By
Jürgen Reinold
·
#54004
·
|