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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        578 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        334 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X