Re: Delay of about a minute or so for the API orders to show up on TWS
Valid point. There are enough active traders here that anything widespread would probably get a mention.
It could be something affecting only certain instruments.
Hope it all goes back to normal for
By
Nick <news1000@...>
·
#49264
·
|
Delay of about a minute or so for the API orders to show up on TWS
HI Nick,
I agree that not to much emphasis should be placed on paper trades.
However, in all my experience over the years, IB paper has been a fairly accurate barometer of live trading.
I'm only
By
Lou Dudka
·
#49263
·
|
Re: Delay of about a minute or so for the API orders to show up on TWS
Everyone has different experiences but I don't think you can make meaningful connections between fills on paper account and live. You just don't know what would have happened on live.
If you are
By
Nick <news1000@...>
·
#49262
·
|
Delay of about a minute or so for the API orders to show up on TWS
And yes, the order is for 2300 shrs, but I should've received at least a partial fill.
Am I in error?
By
Lou Dudka
·
#49261
·
|
Delay of about a minute or so for the API orders to show up on TWS
Here's the jpg attachment of the 5 sec chart.
By
Lou Dudka
·
#49260
·
|
Delay of about a minute or so for the API orders to show up on TWS
HI All,
I experienced a no-fill (as of now) on the paper trading system today on a STPLMT bracket entry order:
OSTK 2330 Shrs short TRIG: 48.22? LMT: 48.22
The trigger fired at about 9:40 AM and
By
Lou Dudka
·
#49259
·
|
Re: Delay of about a minute or so for the API orders to show up on TWS
The first step is to enable api logging and look to see when the order arrived at TWS. This will give clues as to whether the issue is in TWS or on the client side.
By
Nick <news1000@...>
·
#49258
·
|
Re: Connection disconnects immediately after connect with PACEAPI enabled
Waiting for the nextValidID callback before calling other API seems to have fixed the issue. Thanks for your help.
________________________________
Sent: Tuesday, March 22, 2022 8:17 PM
To:
By
Crow
·
#49257
·
|
Delay of about a minute or so for the API orders to show up on TWS
On live account, today, I experienced API order not showing up on TWS for quite some time, and by which time, the targeted price moved away.
And similar order, entered through TWS interface executes
By
Ketan
·
#49256
·
|
Re: Re-login failures with TWS auto-restart option.
Hi J¨¹rgen,
Thanks for the reply!
I'm running stand-alone older TWS version Build 981.3c, Jun 29, 2021.? Win7. Old dual-processor Lenovo E545, 12GB RAM, 256GB SSD.
It's not a deal breaker since
By
Lou Dudka
·
#49255
·
|
Re: Re-login failures with TWS auto-restart option.
That's about the time when our TWS restarts take place as well, Lou and we did not have an issue for a long time (maybe a couple years).
Are you running "standalone/offline" versions of TWS or the
By
J¨¹rgen Reinold
·
#49254
·
Edited
|
Re: Re-login failures with TWS auto-restart option.
Hi Mark,
Thanks for the input.
Can't swear to it, but yeah, the "soft token" error might be it.
I just rebooted the computer yesterday evening about six, so it shouldn't complain about the Sunday
By
Lou Dudka
·
#49253
·
|
Re: Re-login failures with TWS auto-restart option.
I get a "soft token" error where it complains about expecting a different
token every sunday. I assume this is when it expires the week long session
token. Is that what you are seeing?
Best
By
mark collins
·
#49252
·
|
Re-login failures with TWS auto-restart option.
Hi All,
I've been experiencing problems with the TWS auto-restart options, I'm getting some type of "token error" and have to completely shut down TWS and manually re-start it and manually log on.?
By
Lou Dudka
·
#49251
·
|
Re: PNL of covered call
Short answer: no.
Longer answer, you could run a flex query to get the P&L on the two legs and add them.? The call and the stock will have their own P&L, and aren't fundamentally linked from an
By
Peter Drier
·
#49250
·
|
Re: Connection disconnects immediately after connect with PACEAPI enabled
Crow,
the issue with your code is not the .setConnectOptions("+PACEAPI") call. It is rather the location (timing) of the reqPosition() and reqMarketDataType() calls.
You might want to reread the
By
J¨¹rgen Reinold
·
#49249
·
|
Re: TWS 50/sec limit
I submit 50 every 1015ms.? A list of messages is managed by a thread that also maintains a list of timestamps for the last 50 submitted.? I haven't had a pacing problem in years.
By
Frank Bell
·
#49248
·
|
Connection disconnects immediately after connect with PACEAPI enabled
The attached Java sample will connect to TWS, but then immediately disconnect (printing "Connection Closed") when I have m_client.setConnectOptions("+PACEAPI"); uncommented. After that, I can
By
Crow
·
#49247
·
|
Re: TWS 50/sec limit
I believe the OP is asking if the limit can avoided, not whether the error can be avoided. Pacing the requests does not avoid the limit but does avoid the error.
By
Nick <news1000@...>
·
#49246
·
|
PNL of covered call
Let's say I hold a stock with a covered call. The stock rises over the strike of the call??and the option expires in the money => the stock is called away. Is there a way to get the pnl of this
By
Despair
·
#49245
·
|