Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Export Data Grid Programatically?

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

    Export Data Grid Programatically?

    How can one programatically export the Filled Order prices and if not possible then could the same be achieved by exporting a Grid to a say text file?

    #2
    Do Dome orders register in the Position Update Files?

    Comment


      #3
      Hello,

      Someone will respond to your post on Monday. Sorry for the delay.
      DenNinjaTrader Customer Service

      Comment


        #4
        Originally posted by mktrend View Post
        How can one programatically export the Filled Order prices and if not possible then could the same be achieved by exporting a Grid to a say text file?
        Yes, you would have to export data from the grid via the right mouse button click.
        RayNinjaTrader Customer Service

        Comment


          #5
          Originally posted by mktrend View Post
          Do Dome orders register in the Position Update Files?
          All positions for an account regardless of where the orders were submitted will registered in a Position Update File.
          RayNinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Ray View Post
            Yes, you would have to export data from the grid via the right mouse button click.
            In either case I meant programatically? Can it?

            Comment


              #7
              Originally posted by NinjaTrader_Ray View Post
              All positions for an account regardless of where the orders were submitted will registered in a Position Update File.
              Well that's good news at least, presuming the registration is immediate? Thenwe could have other programs extract the data from the txt files since it appears there are no other ways or means to programatically access your fills and correctly calculate the PL since NT sometimes goes way off in that dept by the order of Millions!

              Comment


                #8
                Hello,

                Well that's good news at least, presuming the registration is immediate? Thenwe could have other programs extract the data from the txt files since it appears there are no other ways or means to programatically access your fills and correctly calculate the PL since NT sometimes goes way off in that dept by the order of Millions!
                >> If they are updated it will be immediate. Please provide steps so we can reproduce the PL calcuation issue you speack of.

                In either case I meant programatically? Can it?
                >> You can access fill prices. This link shows one way to access the fill price (also click on the IExecution link):
                DenNinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_Ben View Post
                  Hello,

                  Well that's good news at least, presuming the registration is immediate? Thenwe could have other programs extract the data from the txt files since it appears there are no other ways or means to programatically access your fills and correctly calculate the PL since NT sometimes goes way off in that dept by the order of Millions!
                  >> If they are updated it will be immediate. Please provide steps so we can reproduce the PL calcuation issue you speack of.

                  In either case I meant programatically? Can it?
                  >> You can access fill prices. This link shows one way to access the fill price (also click on the IExecution link):
                  http://www.ninjatrader-support.com/H...radeClass.html
                  These seem to resolve my problem but just 1 question before I try them. Do these help retrieve fill prices for orders placed by the DOME?
                  My problem is that during real time none simulated trading when I scalp heavily the RT PnL shown by the Dome gets confused and shows me as being a couple of thousand contracts short for example!!!!! Very scary!
                  So I am looking for a way of not relying on the Dome to obtain my true live PnL.
                  Now, if these do not show the Dome trades then what is my alternative?
                  The fact that a txt file entry is generated every time a trade is filled, it confirms an event is raised and so how can we subscribe to that event???

                  Definition
                  Performance is the parent object that holds all trades and trade performance data generated by a strategy.
                  Last edited by mktrend; 01-05-2009, 02:25 AM.

                  Comment


                    #10
                    mktrend,

                    You cannot programmatically access information on manually placed trades. At least not from the NinjaScript traditional methods. You could try reading from a file? http://www.ninjatrader-support2.com/...ead.php?t=3476
                    Josh P.NinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by NinjaTrader_Josh View Post
                      mktrend,

                      You cannot programmatically access information on manually placed trades. At least not from the NinjaScript traditional methods. You could try reading from a file? http://www.ninjatrader-support2.com/...ead.php?t=3476
                      OK thanks.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by cre8able, Today, 01:16 PM
                      2 responses
                      9 views
                      0 likes
                      Last Post cre8able  
                      Started by chbruno, 04-24-2024, 04:10 PM
                      3 responses
                      48 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by samish18, Today, 01:01 PM
                      1 response
                      7 views
                      0 likes
                      Last Post NinjaTrader_LuisH  
                      Started by WHICKED, Today, 12:56 PM
                      1 response
                      9 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by WHICKED, Today, 12:45 PM
                      1 response
                      11 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Working...
                      X