First error: strategy submitted an order that generated the following error: 'Unable to change order'. Strategy has sent a cancel requests, attempted to close the position and termites itself.
Second error: Sim101, Stop price can't be changed above the market. Affected order: Sell 1 StopMarket.
My code creates a trailing stop when the price goes 20 ticks in my favor. It's doing that correctly, however, when the price stops me out, I get this error message and the strategy stops. What do I do?
Thanks,

Comment