Barcelona, Spain
Experience: Beginner
Platform: NinjaTrader
Trading: ES, FDAX, CL
Posts: 2 since Aug 2016
Thanks Given: 4
Thanks Received: 0
|
Hi all,
I use NT7 and IB as a broker and trade only during RTH with automated strategies, when my strategy uses stop entry orders I have the following problem.
The stop order is sent to broker during RTH, if the stop price is not reached the stop order remains as an active order in the broker even after RTH, with this situation it may happen that the stop price is reached out of RTH and the order is filled (NT is not aware of that), this is incorrect as it is outside RTH but the order was not cancelled by NT.
I have tried with ToTime() function but it doesn't work, NT places the stop order anyway and leaves it in the broker, the correct way of working should be:
- During RTH NT evaluates the strategy and places stop entry orders if necessary.
- If the stop price is not reached when RTH finishes NT must cancel the existing order in the broker.
- The next day when RTH begins NT should re-instate the stop entry order and then continue evaluating the strategy on each bar update as usual.
I hope I made myself clear, am I the only one experiencing this issue?
Thank you.
|