Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

resubmit order if rejected

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

    resubmit order if rejected

    on my strategy i'm asking for the bid +1 tick o ask - 1. sometimes it get rejected because the market was moving to quick for it. instead of my strategy becoming un enabled. can i somehow make it resubmit the order? and, keep doing so until it is filled.

    #2
    Hello SteveReiza,

    You can detect the order.OrderState is OrderState.Rejected in OnOrderUpdate() and submit a new order.


    Note, doing this is an easy way to cause an endless loop of submitting, rejecting, submitting, and could cause pacing violation errors.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    52 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    29 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    194 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    355 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    274 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X