Thank you.
This behavior I was observing happens when say we are in a long with a sell stop below. I get the error message when the strategy wants to reverse and go short and there is a sell stop order down below it. I guess it confuses it? I only have a stop and go long and short logic coded. So either I stop out or the strategy reverses on an opposite signal. If the stop is filled before getting an opposite signal it generates no error messages and works correctly. Any way to work around this?
Thank you.
Comment