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://futures.io/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.
Can you help answer these questions from other members on futures io?
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.
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.