Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy stop order cancelled immediately

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Buy stop order cancelled immediately

    Hello,

    My buy stop orders are cancelled immediately after submitted and I am receiving these messages in the log:

    Strategy A Buy order placed at '2013/7/22 14:10:00' 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.

    Order Order='359775577' Name='long10' New state=Cancelled Instrument='N225M 08-13' Action=Buy Limit price=0 Stop price=14260 Quantity=1 Type=Stop Filled=0 Fill price=0 Error=NoError Native error='Order Canceled - reason: (202)'

    As you can see the date and time shown in the message is incorrect and my stop price is not less or equal to close price of the current bar.
    Last edited by beierde888; 07-25-2013, 11:43 PM.

    #2
    beierde888, the date would be correct, as it would be an order of the past on historical backtesting that was found to have this issue. Here you tried to place a BuyStop below the bar's Close price which would be considered invalid (would get a rejection in live trading as well).

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    115 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    225 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    411 views
    0 likes
    Last Post CaptainJack  
    Working...
    X