¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
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 ·
Re: Target order in bracket order not being placed!
J¨¹rgen did answer while I was also answering. His suggestion is sounder, you should avoid "hard" assignment of order id.
By Gordon Eldest · #52148 ·
Re: Target order in bracket order not being placed!
should be +2 I would expect an error message to be generated but as the "transmit" is collective maybe your takeprofit it is silently overwritten by your trailstop. I am not familiar enough with
By Gordon Eldest · #52147 ·
Re: Target order in bracket order not being placed!
Without a lot of research into your code what jumps at me is that you assign the same orderId to the profitTaker and trailStop orders. Both are set to "parent.orderId + 1'. Using this incremental
By J¨¹rgen Reinold · #52146 ·
Target order in bracket order not being placed!
I am at my wits end here, and have pulled out what his left of my hair trying to resolve this. The code below is basically to place two identical orders, but one with take profit and the other
By nesbitcrab · #52145 ·
Re: Market depth data has been RESET. Error Code: 317, C++ Program
Any clue you can give on which instrument generate it ? At what time ? How many rows did you look for ? What did you choose for isSmartDepth ? I would be very interested to know if you still see
By Gordon Eldest · #52144 ·
Market depth data has been RESET. Error Code: 317, C++ Program
Hi All, Lately, I have been seeing the error code: 317 periodically appear when streaming reqMktDepth() repeatedly, in my main trade logic loop. Currently, I am building the order book through the
By Brendan Lydon · #52143 ·
Re: Code samples
/g/insync/message/9550 Think you need to join the ib -insync group. There more code examples there.
By mikey823 · #52142 ·
Code samples
Hi all, Have a newbie question here. I've gone through the notebooks and code recipes on the ib-insync page but needing more example code. Where can I find more extensive code samples based on
By dakr · #52141 ·