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?

    BertrandNinjaTrader Customer Service

    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.
          BertrandNinjaTrader Customer Service

          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.
              BertrandNinjaTrader Customer Service

              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.
                  BertrandNinjaTrader Customer Service

                  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.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Gerik, Today, 09:40 AM
                      1 response
                      6 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by RookieTrader, Today, 09:37 AM
                      1 response
                      10 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by alifarahani, Today, 09:40 AM
                      0 responses
                      5 views
                      0 likes
                      Last Post alifarahani  
                      Started by KennyK, 05-29-2017, 02:02 AM
                      3 responses
                      1,284 views
                      0 likes
                      Last Post NinjaTrader_Clayton  
                      Started by AttiM, 02-14-2024, 05:20 PM
                      11 responses
                      186 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Working...
                      X