Re: Duplicate OrderID
First of all this is really weird case. I never seen this type of issue. Are you waiting for next valid order id event before starting with other things? But if you really want to Hack it then use
By
Stock Alerts
·
#52132
·
|
Duplicate OrderID
IB doesn't cease to amuse. I am baffled. Yesterday, the last executed orderId was 161178. Today,??ibapi.wrapper: ANSWER nextValidId {'orderId': 161044} No need to say, this caused a major headache
By
bespalex
·
#52131
·
|
Re: Delay up to 5 minutes after FX order is filled for balance to be updated in TWS
Thanks for your insights re: the position changes, and I'll look into the delays further.
By
PTRDL@...
·
#52130
·
|
interested in your experience migrating to .NET
I ran unattended for a few years to 2020 and I am interested in doing so again with a different algorithm and substantially different code-base. I used to use Linode, Ubuntu + ubuntu desktop,
By
Brian Lim
·
#52129
·
|
Re: Delay up to 5 minutes after FX order is filled for balance to be updated in TWS
In my experience position changes are coming even sooner than execution details. But this is stocks, not sure about FX, but anyway make sure the delay is not on your side, as 5mins sounds like too
By
bespalex
·
#52128
·
|
Delay up to 5 minutes after FX order is filled for balance to be updated in TWS
I'm used to TWS reporting the position sizes and position lists in a delayed manner, say 2-3 seconds after reporting that an entry or exit order was filled, but recently it's been more like 5 minutes
By
PTRDL@...
·
#52127
·
|
Re: Edge browser says Client Portal API is not secure
Nevermind... Apparently the documentation folder in the unzipped file is not the only documentation. Elsewhere IB says... "It is important to note that the connection is only insecure between the user
By
Brian Lim
·
#52126
·
|
Probability Chart
Is there a way to get data from TWS API to construct the probability chart that is available in the Probability Lab? Thought I'd check before I build it manually. Thanks!
By
VJS
·
#52125
·
|
Re: Edge browser says Client Portal API is not secure
Hi Brian, It is secure on localhost. Using such self-signed certs are at least as secure as the CA signed ones, since it uses the same encryption technology. The self-signed certs are just not
By
David
·
#52124
·
|
Re: Confusion between "adjustedStopPrice" and "adjustedTrailingAmount" when attaching "Adjusted to Trail" to a Stop order.
Yeah, you are right, apologies for pushing further confusion about this topic, I should have been more careful commenting on a feature that I only played around with too little to fully understand. --
By
ds-avatar
·
#52123
·
|
Edge browser says Client Portal API is not secure
I'm making the transition from TWS API to Client Portal API. When I login to https://localhost:5000 the Edge browser says Client Portal API is not secure. Why? Does this even matter? If it does
By
Brian Lim
·
#52122
·
|
Re: Impossible to reconnect after TWS restart, please help!
That shouldn't be too hard. Something like this: * Pick a good time for TWS/IBKR restart based upon the trading schedule for the instruments you are working with. For example some time between 16:00
By
J¨¹rgen Reinold
·
#52121
·
|
Re: Impossible to reconnect after TWS restart, please help!
Hey there Jurgen, thanks a lot for your input, it has really helped me see this problem in a different way. What's the best way I could approach a scheduled full disconnect right before TWS restarts
By
makeitrain512@...
·
#52120
·
|
Re: Impossible to reconnect after TWS restart, please help!
Thanks Gordon! I will take @btw advice as you say. Your opinion is exactly why I am in this problem: The fact that I need my program to go through the required TWS restart is what's got me struggling
By
makeitrain512@...
·
#52119
·
|
Re: Impossible to reconnect after TWS restart, please help!
I have followed this post for a while now. Gordon and btw provided a lot of great and relevant advice already, but what you (makeitrain512) are trying to do is pretty advanced. I am wondering whether
By
J¨¹rgen Reinold
·
#52118
·
|
Re: Impossible to reconnect after TWS restart, please help!
@btw give the best path: you should start from a working example and increase complexity gradually. Splitting issues to do small studies set, one topic at a time,? then assemble what mastered from
By
Gordon Eldest
·
#52117
·
|
Re: Concept of Data Lines
Not surprising, hence the recommendation from @Hilmar, We don't know your testing condition and benchmark. Keep in mind that even a few instruments are traded only once a day. (or even not at all!),
By
Gordon Eldest
·
#52116
·
|
Re: Impossible to reconnect after TWS restart, please help!
I did a test by running my python program with TWS offline and the results are as follows: 1 - From line 1 to 89 TWS was offline so it was not able to connect with anything. 2- Proceed to login into
By
makeitrain512@...
·
#52115
·
|
Re: Retrieving status of a specific orderID through orderStatus or openOrder
Thanks Gordon and bespalex. The value of profit_order_ID was assigned outside of the wrapper but after following bespalex's suggestion to print its value within orderStatus, I found?that the
By
Chris
·
#52114
·
|
Re: Impossible to reconnect after TWS restart, please help!
I would blend your code with the working code.? Add yours block by block until something doesn't work. Or do nothing.? I can't remember a problem in 20+ years unless there's been a power failure.
By
btw
·
#52113
·
|