Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NTChange() Function Question

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

    NTChange() Function Question

    When using the NTChange() function, is it possible to just adjust the limit price and leave the contract quantity alone (perhaps by entering 0 for quantity)?

    #2
    Yes, you can pass in zero and it will be ignored.
    RayNinjaTrader Customer Service

    Comment


      #3
      Similarly, if I want to change the stop price on a stop order but not the quantity do I set the quantity AND limit price to 0?

      E.g. Tradestation code:

      NTChange(orderID, Quantity, LimitPrice, newStopPrice);

      ....

      NTChange(123456, 0, 0, 850.50);

      Thank you!

      Comment


        #4
        Pass in zero (0) values for items you do not wish to change.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        61 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        39 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        21 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        23 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        51 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X