Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entry Price question

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

    Entry Price question

    I have a strategy that has two positions opened at different values.
    How do I get the individual fill prices for each entry instead of the AvgPrice?
    Can't seem to find this in the docs.
    thanks,
    Gary

    #2
    Gary,

    You would want to keep track of it through the IOrder or IExecution object related to your entry orders.




    These would need to be tracked individually.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Missed the "Filled" value on the IOrder type.
      thanks,
      Gary

      Comment


        #4
        Originally posted by NinjaTrader_Josh View Post
        You would want to keep track of it through the IOrder or IExecution object related to your entry orders.




        These would need to be tracked individually.
        Josh,

        The IOrder help page has this description:

        Filled - An int value representing the filled amount of an order
        Since it is an "int" instead of a "double", I interpret this to mean that "filled" is the number of contracts filled from that order, as opposed to the price the order was filled at. Is that correct?

        Similarly, in the IExecution help page, it says this:

        Quantity - An int value representing quantity of an execution
        And once again I'd like to think this means at "quantity" is the number of contracts as opposed to the price? Is this correct?

        Originally posted by gyoung View Post
        Missed the "Filled" value on the IOrder type.
        Gary,

        If I've interpreted the "Filled" field in the IOrder correctly, this is not going to get you the price. Instead, you probably need to check the Price field of an IExecuion from the OnExeution event.

        Comment


          #5
          KBJ,

          You are correct.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Josh View Post
            You are correct.
            Josh,

            Thanks for the acknowledgement.

            Is there some way to get this into your documentation department so this clarification gets into the manual/help?

            Ideally, it would be nice to see the help continuously updated so that for each new release it becomes clearer and more complete.

            And if such help file updates and changes could be made available instantly or daily for web-access, this would in the end make your job much easier (i.e., you'd probably get fewer stupid questions that were based on misunderstandings that were long-ago cleared up if only someone could find these answers in the reams and reams of support forum topics.)

            You may have seen my other comment recently about pro-actively updating the help... I hope I'm not beating a dead horse.

            Comment


              #7
              Josh,
              I agree with KBJ.
              If there was a little more "meat" and substance to the documentation, I would not have half as many questions.
              I finally figured it out on my own but after many print statements to see what exactly was going on.

              Documentation is a pain but is a necessity in this environment.

              My 2 cents worth.

              Gary

              Comment


                #8
                The Help Guide is indeed continually updated. Unfortunately the updates only become available with each release. The reason the web help is not updated on a "real-time" basis is because it takes a considerable amount of time to rebuild the Help Guide for each edit. We would end up spending so much time trying to put up new versions that its just not a good use of time and resources. I do see value in this option though. If there is considerable time between releases or significant changes to the Help Guide I will look into possibilities of pushing updated Help Guides between releases going forward.

                That being said, improving and adding more content to the Help Guide is an ongoing process as we definitely do see value in it. It is a slow going process though since, for the most part, the information is sufficient when used in conjunction with the reference samples we have put out and a little trial and error.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  Thanks Josh,
                  I do understand the level of effort it takes to keep documentation up to par with development activities.
                  I believe a lot of us would benefit from a little higher priority in this area and now that releases are starting to slow down, maybe you can start peeling off a few hours to focus on this.

                  Appreciate your help.
                  Gary

                  Comment


                    #10
                    Originally posted by NinjaTrader_Josh View Post
                    The reason the web help is not updated on a "real-time" basis is because it takes a considerable amount of time to rebuild the Help Guide for each edit.
                    I was thinking more along the lines of something like an automated procedure that runs at midnight or maybe 3AM every night so users are always assured of (at most) a 1-day's delay in seeing the "latest and greatest" docs if they look at Ninja's website online.

                    Comment


                      #11
                      KBJ,

                      Unfortunately there is no infrastructure in place available for such automation. There are many steps to updating the Help Guide which just requires a human sitting there going through all the procedural motions to get it built and put online.
                      Josh P.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                      0 responses
                      646 views
                      0 likes
                      Last Post Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      367 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by Mindset, 02-09-2026, 11:44 AM
                      0 responses
                      107 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                      0 responses
                      569 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      573 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X