"A Buy order placed at '6/13/2008 9:00:00 AM' has been ignored since the stop price is less than or equal to the close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy."
The error is fairly straightforward, but I want to know can it be worked around in anyway. The trade is filling on the next bar, and when the close of the next bar is below the entry price I am not getting this error. However, since I am actually getting filled on the prior bar in real-time, this should not be an issue in real-time. Is there anyway to make it so the trade just gets filled no matter what if the level is touched?

Comment