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 NullPointStrategies, Today, 05:17 AM
              0 responses
              44 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              124 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              65 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              42 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              46 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X