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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    37 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    18 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    25 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X