Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Execution of a limit order

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

    Execution of a limit order

    I am testing out a strategy that uses limit orders.

    Let's say that I want to buy an ES-future at a limit price of 780.25. In the next couple of seconds price moves from 780.75 to 780.25 and then goes up again to 781 and never touches my limit price again.

    How does NinjaTrader deal with the situation that I may not have gotten filled? Is it checking the real execution info or just using the datastream in making the decision if I have been filled or not? Is there a risk in the way NinjaTrader deals with this that I become out-of-sync?

    Please advise.

    Thank you.

    Daniel

    #2
    Hello Daniel,

    If your order was not in line at the exchange to be filled for the period the market touched the limit price, it will not execute.

    It checks the real execution information.

    Comment


      #3
      Thank you, Jason.

      In a strategy Ninjascript, do I have to program something myself to accomplish this (IOrder?) or is it automatically being taken care of based on the fact if I have been filled or not? Does it know I have been filled (or not) without any additional programming?

      Regards,

      Daniel

      Comment


        #4
        Hello Daniel,

        It will automatically know when an order is filled or not.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        54 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        130 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        72 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        44 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        49 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X