Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

execution.Quantity execution.Order.Filled

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

    execution.Quantity execution.Order.Filled

    Hi,

    I am getting OnExecution events with both execution.Quantity = 0 and execution.Order.Filled = 0 for an entry order that has a quantity. Ninja pops an Assertion Failed message and the a print statement shows 0 for both.

    I have checked the entry and it always has a quantity > 0 and I have even tried hard coding it to no avail.

    Any suggestions?

    Best Regards,
    Scott

    #2
    Scott, is this on a live account? Can you reproduce this event? If so, please send us the script so we can test it out.
    AustinNinjaTrader Customer Service

    Comment


      #3
      Austin thanks for getting back to me so quickly. No this is in back test and not only can I reproduce it; I can't get by it.

      I can't post the strategy but I will email support with a few more details and the trace file.

      Comment


        #4
        Scott, we'll need a reproducible scenario to see whether or not this is a bug. If you could strip down your strategy as much as possible, we'll take that instead. Unfortunately the trace files won't be enough data here. Thank you for your time on this issue.
        AustinNinjaTrader Customer Service

        Comment


          #5
          Austin, it isn't my call on releasing any code whatsoever. You would also have to have the exact data we are using.

          The best I can ask for in the short term is if you have seen something like this before and know of any fixes. As I mentioned, I printed out the entry quantities and they were all as expected; I even hard coded a number in just to make doubly certain.

          Comment


            #6
            Scott, understood. Development is taking a look. We'll let you know what we discover via email. Thanks again for your time.
            AustinNinjaTrader Customer Service

            Comment


              #7
              You are quite welcome.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              110 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              156 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              75 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              125 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              79 views
              0 likes
              Last Post PaulMohn  
              Working...
              X