I have a new enviroment with ninjatrader using IB gateway for trade Futures, MNQ in this case.
I'm receving the error "your order was repriced so as not to cross a related resting order" when a previuos trade reach the stop loss and a new one is created. Leving the new Long or Short alive but without the new stopLos.
I have other enviroment with ninjatrader platform and ninjatrader broker running the same ninjascript strategy without any problem.
I only can found one diference between the logs.
After reach the stop loss in the first trade in ninjatrader with IB gateway I found this line:
Instrument='MNQ 12-22' Account='xxxx1' Average price=0 Quantity=0 Market position=Long Operation=Remove |
Instrument='MNQ 12-22' Account='xxxx2' Average price=0 Quantity=0 Market position=Flat Operation=Remove |
Could some one help me?
Thanks in advance
Fabián
Comment