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 NullPointStrategies, Today, 05:17 AM
    0 responses
    23 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    120 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X