Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

it is happening to me on entry. how can I resubmit the order at a different price?

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

    it is happening to me on entry. how can I resubmit the order at a different price?

    it is happening to me on entry. how can I resubmit the order at a different price?

    #2
    Hello babouin77,

    I've moved this to its own thread as it was not on the topic of a strategy becoming disabled when using RealtimeErrorHandling.IgnoreAllOrders.

    The message itself is that the stop price is on the wrong side of the market.

    You can move an order by calling the same order entry method and same tag name using a different price.

    You can detect an order is OrderState.Rejected in OnOrderUpdate().

    Just ensure the new stop price is a valid price for the exchange to accept (buys above the GetCurrentAsk(), sells below the GetCurrentBid()).
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X