Line 1: EnterLongLimit (1, 1253, TLFdBnd)
Once I enter the trade, I send out a stop and target order.
Line 11: ExitLongStop (0, True, 1, 1251, BigStop, TLFdBnd)
Line 13: ExitLongLimit (0, True, 1, 1253.5, TLFdFixPrf, TLFdBnd)
Then I cancel the target order (ExitLongLimit on Line 13) by calling
CancelOrder ("TLFdFixPrf") and the status of the cancel shown in Line 21
Later on, I try to reset the stop target:
Line 25: ExitLongLimit (0, True, 1, 1253.5, TLFdFixPrf, TLFdBnd)
I got an error on Line 27 = 'There already is a matching, terminal exit order in place'
I am not sure why I get an error on Line 27.
Comment