Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reject Order.

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

    Reject Order.

    Could you please help me with this reject order? What can I do in my strategy to solve this kind of error?

    Time Category Message
    3/26/2020 11:00:03 AM Order Order='d65dc0a22fbe45d5863b48083dfce62c/52857' Name='Profit target' New state='Rejected' Instrument='WIN 04-20' Action='Sell' Limit price=82825 Stop price=0 Quantity=1 Type='Limit' Time in force=DAY Oco='72204:13563764:2' Filled=0 Fill price=0 Error='Order rejected' Native error='Order price is outside the limits 'Ask of 82825.00 violates High Limit of 82320.00''

    #2
    Hello wagner4691,

    Thanks for your post.

    This indicates that the order is placed too far away from the last traded price per the exchange regulations. The order will need to be placed closer to the last traded price.

    To prevent the strategy from being deactivated, you can set the strategy's RealtimeErrorHandling property to IgnoreAllErrors or StopCancelCloseIgnoreRejects. With this property set, you can then trap order rejections in OnOrderUpdate if you would like to have the strategy attempt a different action.

    RealtimeErrorHandling - https://ninjatrader.com/support/help...orhandling.htm

    OnOrderUpdate() - https://ninjatrader.com/support/help...rderupdate.htm

    Please let me know if I can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    51 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    127 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X