Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change existing limit order

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

    Change existing limit order

    Can the price of an existing limit order that was submitted with EnterLongLimit() or EnterShortLimit() be changed in NinjaScript, or must the order be cancelled and resubmitted? It appears that the LimitPrice property is read only.

    Thanks,
    Cindy

    #2
    You'll "change" the price by calling EnterLongLimit again with a different limit price.

    Comment


      #3
      Thanks, Dierk for your quick reply - so to be completely clear, calling EnterLongLimit again automatically updates the existing order? Or does it cancel the earlier order and create a new one? In other words, would the IOrder object returned be different?


      Thanks,
      Cindy

      Comment


        #4
        >> calling EnterLongLimit again automatically updates the existing order?
        Yes

        Comment

        Latest Posts

        Collapse

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