I have an auto trading strategy enabled.
When it makes an entry e.g. for 2500 stocks, instead of placing one stop loss order and one profit taker, it breaks down the stop loss and profit taker into all smaller chunks that were combined in order to fill the whole amount.
This results in a large volume of orders being active...and in the event of a position reversal, as soon as it tries to place the new profit taker and stop loss orders, I get an error from NT saying that IB has rejected my order because I had more than 15 open orders already for the given instrument. At that moment, the actual reversal orders goes through and immediately after that it is being closed...which results in unnecessary position close.
The strategy has "PerEntryExecusion" as a setting for stop and profit handling, which also brings me to the other question. What is the difference between PerEntryExecution and ByStrategyPosition?
Comment