I met this issue this morning.
I'm using strategy builder.
The structure of my strategy is when system is still in the long round ,if the condition matches the entry short signal, system will entry short directly,no need exit the long first.May this be the reason of order rejected?
In the same way,when the system still in the short round,if the condition matches the entry long signal,system will entry long directly,no need exit the short first.
If this maybe the reason.
Please let me know how to solve this.
Will it help,if I add this condition into the short signal:current position != short;
in the same way add current position != Long; in the long signal ?
Really appreciate your help!
Comment