NexusFi: Find Your Edge


Home Menu

 





Interactive Brokers Order Repricing Issue -


Discussion in Platforms and Indicators

Updated
    1. trending_up 695 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
 

Interactive Brokers Order Repricing Issue -

 
 sjmuk1 
London, uk
 
Experience: Intermediate
Platform: Ninjatrader
Trading: Stocks
Posts: 3 since Jan 2023
Thanks Given: 0
Thanks Received: 1

Hi, I day trade stocks and I am testing my recently automated strategies in Ninjatrader with Interactive Brokers in the Paper Account. I am experiencing an issue that Ninjatrader won’t accept any responsibility for and that Interactive Brokers can’t explain. As I trade Stocks I buy quite large volumes (1000+ shares) frequently, and they naturally partially fill. Every time an entry order executes (Market, Limit, Stop) after the initial partial fill when my bracket order (proportional to the partial fill) gets submitted, IB decides to Reprice my entry order and sends a warning message. The message is along the line of, “XYZ Buy Order has been repriced so as not to cross a related resting order”. The thing is the only other orders are the stop and limit of the bracket just submitted which are nowhere near the executing entry order. The stop is at least 20c away sometimes a couple of dollars away. This repricing doesn’t cause a problem with the entry order which continues to execute acceptably but forces Ninjatrader to display multiple warning dialogue boxes about it every time an entry order executes. IB told me to just ignore the warning and hide the TWS popup but I can’t suppress it in Ninjatrader, they force you to click every warning dialogue box for every partial fill. I don’t like ignoring a warning and I am getting annoyed at all the dialogue boxes in Ninjatrader. This also happens if I just place an order in TWS and attach a bracket without using Ninjatrader.

Looking at the logs the sequence is:

The entry order partially fills,
The stop and target proportional orders are placed.
IB Paper Account reprices the entry order, even market orders.

I have already read the thread located here and I didn’t see an answer to my issue: [URL="https://nexusfi.com/elite-easylanguage-algorithmic-trading/42827-warning-your-order-repriced-so-not-cross-related-resting-order.html#post652030"]

Has anyone ever experienced this with IB in either the paper account or the live account and how did you manage to fix the issue?

Advice is much appreciated.

Started this thread

Can you help answer these questions
from other members on NexusFi?
Exit Strategy
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Deepmoney LLM
Elite Quantitative GenAI/LLM
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
 
 
vsicth12's Avatar
 vsicth12 
Chicago, IL, USA
 
Experience: Advanced
Platform: TWS & NinjaTrader
Broker: IB
Trading: Minis & Micros of Indices
Posts: 11 since Mar 2022
Thanks Given: 3
Thanks Received: 13

There is an option in Ninjatrader settings which will suppress the IB warnings. I believe it's listed under the IB market feed, though.
It's called runtime popup handling. Check that box. That's what has worked for me.



sjmuk1 View Post
Hi, I day trade stocks and I am testing my recently automated strategies in Ninjatrader with Interactive Brokers in the Paper Account. I am experiencing an issue that Ninjatrader won’t accept any responsibility for and that Interactive Brokers can’t explain. As I trade Stocks I buy quite large volumes (1000+ shares) frequently, and they naturally partially fill. Every time an entry order executes (Market, Limit, Stop) after the initial partial fill when my bracket order (proportional to the partial fill) gets submitted, IB decides to Reprice my entry order and sends a warning message. The message is along the line of, “XYZ Buy Order has been repriced so as not to cross a related resting order”. The thing is the only other orders are the stop and limit of the bracket just submitted which are nowhere near the executing entry order. The stop is at least 20c away sometimes a couple of dollars away. This repricing doesn’t cause a problem with the entry order which continues to execute acceptably but forces Ninjatrader to display multiple warning dialogue boxes about it every time an entry order executes. IB told me to just ignore the warning and hide the TWS popup but I can’t suppress it in Ninjatrader, they force you to click every warning dialogue box for every partial fill. I don’t like ignoring a warning and I am getting annoyed at all the dialogue boxes in Ninjatrader. This also happens if I just place an order in TWS and attach a bracket without using Ninjatrader.

Looking at the logs the sequence is:

The entry order partially fills,
The stop and target proportional orders are placed.
IB Paper Account reprices the entry order, even market orders.

I have already read the thread located here and I didn’t see an answer to my issue: [URL="https://nexusfi.com/elite-easylanguage-algorithmic-trading/42827-warning-your-order-repriced-so-not-cross-related-resting-order.html#post652030"]

Has anyone ever experienced this with IB in either the paper account or the live account and how did you manage to fix the issue?

Advice is much appreciated.


~c. Hoffman
 
 sjmuk1 
London, uk
 
Experience: Intermediate
Platform: Ninjatrader
Trading: Stocks
Posts: 3 since Jan 2023
Thanks Given: 0
Thanks Received: 1


Thanks vsicth12, I found that setting and enabled it. It has significantly reduced the number of popups in Ninjatrader but no resolved the issue completely. I still don't understand why the repricing is occurring in the first place. I would be keen to hear if anyone has experienced this in a Live account.

Regards

Started this thread

 



Last Updated on April 9, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts