Re: Why does placeOrder() require orderId when order already contains orderId?
Did you get an answer for this ? Why are there two orderIds being sent during placeOrder ?
By
web3ninja@...
·
#52169
·
|
Re: Market depth data has been RESET. Error Code: 317, C++ Program
Jurgen & Gordon,
I was also flushing my local order book each time at the end of the while loop after doing trade logic. I forgot to put that in the previous response.
Thank you
By
Brendan Lydon
·
#52167
·
|
Re: Market depth data has been RESET. Error Code: 317, C++ Program
Jurgen,
You are correct. I was calling it at multiple points rather than treating it as a subscription. Thank you for the additional error codes I might encounter as well. To clarify, Here is my
By
Brendan Lydon
·
#52166
·
|
Re: Market depth data has been RESET. Error Code: 317, C++ Program
I do not get a clear picture of what your client programs do exactly, Brendan, but I have the feeling that you need to go back to the drawing board. Gordon gave you some good pointers already, and
By
J¨¹rgen Reinold
·
#52165
·
|
Re: Market depth data has been RESET. Error Code: 317, C++ Program
Yes I mean flushing local order book.
*"Bank full":*
By bank I mean same thing as you do I guess: the local map of entries indexed after the 'position' value.
The maximum number of entries
By
Gordon Eldest
·
#52164
·
|
Re: Market depth data has been RESET. Error Code: 317, C++ Program
What do you mean by "I purge my bank, and de-facto expect to only receive types 2, or 1 only after I received a first set of new insert (0)." Mainly, "purge my bank", because I think me "flushing" the
By
Brendan Lydon
·
#52163
·
|
Re: Sim Account Platform Acting Up
I am speaking on TWS, and I am simultaneously watching the L2 windows in my paper account. The charts too are not very accurate. The current candle in my chart will take a weird shape that doesn't
By
Brendan Lydon
·
#52162
·
|
Re: Duplicate OrderID
Yes I know but this repeated order number won't collide with the already
executed order because it's gone
[email protected]>) escribi¨®:
By
joanmarcel119
·
#52161
·
|
Re: Duplicate OrderID
joanmarcel119 wrote: "If the number of the order (still open) is greater than the nextvalidId number I got at the beginning then I update it. This way the next increment is a number which won't
By
J G
·
#52160
·
|
Re: Sim Account Platform Acting Up
I have noticed very strange behavior recently. I've only been using the paper trading accounts. Specifically, on certain FX pairs, e.g. EURUSD, USDJPY, USDCAD, the balance may not be updated for up to
By
PTRDL@...
·
#52159
·
|
Re: Sim Account Platform Acting Up
Not sure I catch what you seems to imply by differentiating Paper vs Real. I don't think that Paper is less well serving LII than Real.
Some thoughts:
What do you call platform ? TWS or Gateway ?
Are
By
Gordon Eldest
·
#52158
·
|
Re: Multiple users Read only access
Nothing easy popup to my mind.
50 is quit a number of users and you most probably will face a wall with the pacing violation and limitations if you use a single account
There is a concept of ClienId
By
Gordon Eldest
·
#52157
·
|
Re: Multiple users Read only access
Even if someone can point me to an api spec or high level guidance would suffice. I¡¯m fairly tech savvy
By
Alikarimi160@...
·
#52156
·
|
Sim Account Platform Acting Up
Hi,
I have noticed that oftentimes my platform will halt for a split second and the market will suddenly move up or down by a considerable amount. It is as if the level 2 data I am streaming is
By
Brendan Lydon
·
#52155
·
|
Re: Duplicate OrderID
My humble solution for this problem of duplicate order Id:
First, I request all the open positions (client id = 0) and on the
"openorder" callback:
If orderId >= m_orderId Then
m_orderId
By
joanmarcel119
·
#52154
·
|
Multiple users Read only access
I¡¯m quiet new so please bear with me!
I¡¯ve been thinking about setting a training group and observe the students trades on IBKR as read only access. Is there any api, including this which allows
By
Alikarimi160@...
·
#52153
·
|
Re: Market depth data has been RESET. Error Code: 317, C++ Program
It has been happening quite a bit throughout the day. I would say it happened atleast 10 times today, once in the last hour of trading and several times throughout the day. Also, happened yesterday
By
Brendan Lydon
·
#52152
·
|
Re: Market depth data has been RESET. Error Code: 317, C++ Program
Here is my call -> reqMktDepth(reqId, m_contract, 5, false, TagValueListSPtr());
I am incrementing reqId every time I request, and the contract is for NQ e-mini expiring for december, NQZ3. My algo
By
Brendan Lydon
·
#52151
·
|
Re: Target order in bracket order not being placed!
Fantastic! That was the issue. Now works. Thank you very much Jurgen and Gordon for you quick responses and assistance. Very grateful indeed!
By
nesbitcrab
·
#52150
·
|
Re: Target order in bracket order not being placed!
I can't say for sure, but I can believe that this case would not generate an error. For TWS/IBGW this could very much look like on order change. They may not look at those two as separate orders
By
J¨¹rgen Reinold
·
#52149
·
|