Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Turn off dll setup function

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

    Turn off dll setup function

    Once you have called the setup function to send data and trade signals to a remote computer, is it possible to turn it off or do you have to restart your computer?

    #2
    Atomic, have you tried calling the TearDown function to disconnect then?

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Atomic, have you tried calling the TearDown function to disconnect then?

      http://www.ninjatrader.com/support/h.../functions.htm
      I had not noticed that function before. Thank you.

      Comment


        #4
        I noticed just now that when I call up help from the NT platform and go to the directions for the dll functions, I do not find the teardown function listed.

        Now I've tried to access the teardown function and discovered that neither of my machines has it installed.
        Last edited by Atomic; 05-03-2011, 08:34 AM.

        Comment


          #5
          In which NT version are you working here? In both the inbuild and online helpguide TearDown is listed as DLL interface function for NTDirect.DLL.

          Comment


            #6
            Originally posted by NinjaTrader_Bertrand View Post
            In which NT version are you working here? In both the inbuild and online helpguide TearDown is listed as DLL interface function for NTDirect.DLL.
            I'm using NT 7.0.1000.4. When you go to the help, the dll functions are listed in two place. One of them has and one of them doesn't. It seems I am always looking in the wrong spot. Nevertheless, I do not have the teardown function anywhere. How do I get it?

            Comment


              #7
              Atomic, what interface option are you then using here? The functions available for DLL vs eSignal / TS would slightly differ, so you would need to check into how the 'convenience' functions are build from the DLL interface ones and then use the same approach for TearDown.

              Comment


                #8
                Originally posted by NinjaTrader_Bertrand View Post
                Atomic, what interface option are you then using here? The functions available for DLL vs eSignal / TS would slightly differ, so you would need to check into how the 'convenience' functions are build from the DLL interface ones and then use the same approach for TearDown.
                I am using TradeStation. I'm not exactly clear on how to apply the "teardown" function, I just know that it does not appear in my EasyLangue function library, so I cannot call it. I installed all the functions from the ELD that comes with the NT platform, so where am I to get the "teardown" function?

                Thanks.

                Comment


                  #9
                  The TearDown() function is available in the general DLL interface, there's not yet a TS convenience function supplied for it - you would need to code this in EasyLanguage on your own unfortunately.

                  Comment


                    #10
                    Originally posted by NinjaTrader_Bertrand View Post
                    The TearDown() function is available in the general DLL interface, there's not yet a TS convenience function supplied for it - you would need to code this in EasyLanguage on your own unfortunately.
                    I'm not clear on the syntax. What I've done:

                    In the external feed strategy code I have:

                    DefineDLLFunc: "NtDirect.dll", int, "TearDown";
                    TearDown;

                    It verifies, but the local NT platform does not pick up the external data feed.

                    Comment


                      #11
                      Hello,

                      Sorry however we are only able to provide limited support on use of the external DLL functions.

                      Are you able to reference any methods using this way at all or did you just try teardown()?

                      I look forward to assisting you further.
                      BrettNinjaTrader Product Management

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by argusthome, 03-08-2026, 10:06 AM
                      0 responses
                      83 views
                      0 likes
                      Last Post argusthome  
                      Started by NabilKhattabi, 03-06-2026, 11:18 AM
                      0 responses
                      47 views
                      0 likes
                      Last Post NabilKhattabi  
                      Started by Deep42, 03-06-2026, 12:28 AM
                      0 responses
                      29 views
                      0 likes
                      Last Post Deep42
                      by Deep42
                       
                      Started by TheRealMorford, 03-05-2026, 06:15 PM
                      0 responses
                      32 views
                      0 likes
                      Last Post TheRealMorford  
                      Started by Mindset, 02-28-2026, 06:16 AM
                      0 responses
                      66 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Working...
                      X